<div dir="ltr">Package: parted<br><div class="gmail_quote"><div dir="ltr"><div><br></div><div>Version 2.3-20<br></div><div><br></div>OS:<br>Linux 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux<br>
<br>VERSION<br>$ apt-cache policy parted<br>parted:<br>  Installed: 2.3-20<br>  Candidate: 2.3-20<br>  Version table:<br> *** 2.3-20 0<br>        500 <a href="http://ftp.de.debian.org/debian/" target="_blank">http://ftp.de.debian.org/debian/</a> jessie/main amd64 Packages<br>

        100 /var/lib/dpkg/status<br><br><br><div><div><div><br></div><div>PROBLEM OUTPUT:<br></div><div><br>(parted) print                                                            <br>Model: pqi IntelligentStick (scsi)<br>

Disk /dev/sdc: 4041MB<br>Sector size (logical/physical): 512B/512B<br>Partition Table: msdos<br><br>Number  Start   End     Size    Type     File system  Flags<br> 1      32.3kB  4041MB  4041MB  primary  fat32        boot<br>

<br>(parted)                                                                  <br>(parted)                                                                  <br>(parted)                                                                  <br>

(parted) mkfs 1 fat32                                                     <br>WARNING: you are attempting to use parted to operate on (mkfs) a file system.<br>parted's file system manipulation code is not as robust as what you'll find in<br>

dedicated, file-system-specific packages like e2fsprogs.  We recommend<br>you use parted only to manipulate partition tables, whenever possible.<br>Support for performing most operations on most types of file systems<br>
will be removed in an upcoming release.<br>
Warning: The existing file system will be destroyed and all data on the partition will be lost. Do you<br>want to continue?<br>parted: invalid token: 1<br>Yes/No? Y                                                                 <br>

Partition number? 1                                                       <br>File system type?  [ext2]? fat32<br>Backtrace has 9 calls on stack:<br>  9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f77bbac81a1]<br>

  8: /lib/x86_64-linux-gnu/libparted.so.0(+0x299b3) [0x7f77bbade9b3]<br>  7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7f77bbae1c39]<br>  6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51) [0x7f77bbac9be1]<br>

  5: parted() [0x4083b1]<br>  4: parted(interactive_mode+0x101) [0x40db71]<br>  3: parted(main+0x153d) [0x4065bd]<br>  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f77bb2b9b45]<br>  1: parted() [0x406617]<br>

                                                                          <br><br>You found a bug in GNU Parted! Here's what you have to do:<br><br>...<br><br>Assertion (bs != NULL) at ../../../../libparted/fs/fat/bootsector.c:282 in function<br>

fat_boot_sector_set_boot_code() failed.<br><br></div><div><br><br>ADDITIONAL INFO<br><br>----------------<br>(parted) unit co<br>(parted) print                                                            <br>Model: pqi IntelligentStick (scsi)<br>

Disk /dev/sdc: 4041MB<br>Sector size (logical/physical): 512B/512B<br>Partition Table: msdos<br><br>Number  Start   End     Size    Type     File system  Flags<br> 1      32.3kB  4041MB  4041MB  primary               boot<br>

----------------<br>(parted) unit s                                                           <br>(parted) print                                                            <br>Model: pqi IntelligentStick (scsi)<br>Disk /dev/sdc: 7892992s<br>

Sector size (logical/physical): 512B/512B<br>Partition Table: msdos<br><br>Number  Start  End       Size      Type     File system  Flags<br> 1      63s    7892991s  7892929s  primary               boot<br><br>----------------<br>

</div><div><br></div></div></div></div>
</div><br></div>