| 133 | } |
| 134 | |
| 135 | static int is_linux(const partition_t *partition) |
| 136 | { |
| 137 | if(is_part_linux(partition)) |
| 138 | return 1; |
| 139 | switch(partition->upart_type) |
| 140 | { |
| 141 | case UP_CRAMFS: |
| 142 | case UP_EXT2: |
| 143 | case UP_EXT3: |
| 144 | case UP_EXT4: |
| 145 | case UP_JFS: |
| 146 | case UP_RFS: |
| 147 | case UP_RFS2: |
| 148 | case UP_RFS3: |
| 149 | case UP_RFS4: |
| 150 | case UP_XFS: |
| 151 | case UP_XFS2: |
| 152 | case UP_XFS3: |
| 153 | case UP_XFS4: |
| 154 | case UP_XFS5: |
| 155 | return 1; |
| 156 | default: |
| 157 | break; |
| 158 | } |
| 159 | return 0; |
| 160 | } |
| 161 | |
| 162 | #ifdef HAVE_NCURSES |
| 163 | static void interface_adv_ncurses(disk_t *disk, const int rewrite, list_part_t *list_part, const list_part_t *current_element, const int offset) |
no test coverage detected