bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17762: PARTED Bug related to fat32


From: dimonik, dimonik
Subject: bug#17762: PARTED Bug related to fat32
Date: Thu, 12 Jun 2014 14:13:19 +0000

Hello, it seems i found a bug :)

Package: parted

Version 2.3-20

OS:
Linux 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux

VERSION
$ apt-cache policy parted
parted:
  Installed: 2.3-20
  Candidate: 2.3-20
  Version table:
 *** 2.3-20 0
        500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status



PROBLEM OUTPUT:

(parted) print                                                           
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 4041MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  4041MB  4041MB  primary  fat32        boot

(parted)                                                                 
(parted)                                                                 
(parted)                                                                 
(parted) mkfs 1 fat32                                                    
WARNING: you are attempting to use parted to operate on (mkfs) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs.  We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Warning: The existing file system will be destroyed and all data on the partition will be lost. Do you
want to continue?
parted: invalid token: 1
Yes/No? Y                                                                
Partition number? 1                                                      
File system type?  [ext2]? fat32
Backtrace has 9 calls on stack:
  9: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x31) [0x7f77bbac81a1]
  8: /lib/x86_64-linux-gnu/libparted.so.0(+0x299b3) [0x7f77bbade9b3]
  7: /lib/x86_64-linux-gnu/libparted.so.0(fat_create+0x189) [0x7f77bbae1c39]
  6: /lib/x86_64-linux-gnu/libparted.so.0(ped_file_system_create+0x51) [0x7f77bbac9be1]
  5: parted() [0x4083b1]
  4: parted(interactive_mode+0x101) [0x40db71]
  3: parted(main+0x153d) [0x4065bd]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f77bb2b9b45]
  1: parted() [0x406617]
                                                                         

You found a bug in GNU Parted! Here's what you have to do:

...

Assertion (bs != NULL) at ../../../../libparted/fs/fat/bootsector.c:282 in function
fat_boot_sector_set_boot_code() failed.



ADDITIONAL INFO

----------------
(parted) unit co
(parted) print                                                           
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 4041MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  4041MB  4041MB  primary               boot
----------------
(parted) unit s                                                          
(parted) print                                                           
Model: pqi IntelligentStick (scsi)
Disk /dev/sdc: 7892992s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End       Size      Type     File system  Flags
 1      63s    7892991s  7892929s  primary               boot

----------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]