Hi,
Actualy, it does using util-linux 2.20.1:
dd if=/dev/zero of=/tmp/disk.img bs=1024 count=4032
strace -fF -s 1024 -e trace=ioctl \
sfdisk --no-reread -C2 -H32 -S63 -q -f \
/tmp/disk.img << EOF
unit: sectors
part1 : start= 63, size= 3969, Id=83
part2 : start= 4032
Use "--no-reread" if you want sfdisk to avoid the BLKRRPART.
- Eero
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
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 dev
3 matches
Mail list logo