[parted-devel] some issues with ped_disk_commit_to_os()

Olaf Hering olh at suse.de
Wed Sep 13 05:32:02 UTC 2006


On Sun, Sep 10, Bart Hakvoort wrote:

> Whenever i call ped_disk_commit_to_os() (which in turn will call ioctl(int
> fd, BLKRRPART) somewhere in the process) the devicenodes show up after a
> small delay. This delay causes the CLItools to throw a 'device not found'
> error every now and then. I've tried working with sync() and fsync(), but
> without luck so far.

This is an async event, you have to poll for the device node you have
just created. udevsettle is the way to go. Its not a parted problem.



More information about the parted-devel mailing list