Apparantly, I'm lying. In an effort to work around the first bug (the O_DIRECT one), I started using loopback devices, so the failure is not actually with disk images, but with loopback devices. I didn't think parted cared what it was looking at, so I didn't consider the difference.
Unless I'm much mistaken, that ioctl will only return with errno == EINVAL, if in fact rereading the partition table is not a valid operation, so not failing in that case seems like the a reasonable thing to do. -- Soren Hansen | Virtualisation specialist | Ubuntu Server Team Canonical Ltd. | http://www.ubuntu.com/
signature.asc
Description: Digital signature
_______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

