Design Changes

Matthias Urlichs smurf at smurf.noris.de
Tue Sep 12 11:04:07 BST 2006


Hi,

Marco d'Itri:
> On Sep 12, Scott James Remnant <scott at netsplit.com> wrote:
> 
> > (We could use the sysfs path here instead, e.g. on /block/hda/hda1 ...;
> Not really, because many $DEVPATHs will change at least once in the
> future.
> 
The UUID would probably be a good idea then, except that not all file
system layouts have one of those. Ditto for labels, plus they may not
be unique.

Why not just find the mount point it's going to have, and use that?
(Assuming the disk has one -- but if you want to watch for disks without
a mount point, you should probably listen to udev anyway.)

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de



More information about the Upstart-devel mailing list