Jim Meyering wrote:
Curtis Gedak wrote:
Recently I have noticed a new need arise on the parted mailing lists.
This is the need for a "wait_for_dev_to_appear" feature.

Would it be prudent to add this functionality to libparted?
If not, then the users (scripts and programs) of parted and libparted
will need to duplicate this functionality.

With parted-1.8.8 and earlier, there did not seem to be a need for
this feature.  After commit_to_os() was called, both the kernel and
the device entries would reflect the changes to the partition table.
It is possible that this was a side effect of the commit_to_os()
function.  Perhaps this would be a good candidate location to include
the "wait_for_dev_to_appear" check?

Thanks for bringing this up.

I suppose this could be due to changes in udev, the kernel, or parted,
but if someone can investigate/fix it in parted (cleanly and without too
much cost), I would welcome the contribution.
I won't have much time for parted in the next two months.

Unfortunately I have many other competing priorities and won't be able to investigate this enhancement anytime soon. Hence it would appear that this opportunity for improving parted is wide open to others reading this list.

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to