Package: util-linux
Version: 2.12r-19
Severity: whishlist

Having -C -H -S parameters and working from the command line with
sfdisk -d style here documents makes sfdisk suited to making disc
images for virtual machines or automatic installation.

It issues a warning about file not being a block device, but then does
BLKRRPART ioctl anyway.  Be tidier if it did not do BLKRRPART ioctl.

Warning: sfdisk.img is not a block device
Disk sfdisk.img: cannot get geometry

Disk sfdisk.img: 1024 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 sfdisk.img: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
sfdisk.img1   *        63  16450559   16450497   c  W95 FAT32 (LBA)
sfdisk.img2             0         -          0   0  Empty
sfdisk.img3             0         -          0   0  Empty
sfdisk.img4             0         -          0   0  Empty
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to