Mounting partitions

Matthias Urlichs smurf at smurf.noris.de
Fri Mar 16 09:58:28 GMT 2007


Hi,

Alex Smith:
> initctl set checked-filesystems "$checked-filesystems $BLOCKDEV"
> 
Umm, that would cause a race condition if ever two file systems did that
operation at the same time.

You'll want to use an "append" operation for this kind of thing.
Or, even better, a list-style variable you can add and remove things
to/from.

> Wrt. working out prerequisite mounts, it would probably be nice to 
> integrate that functionality into getmntent, so rather than having that 
> loop, you could do something like
> 
> getmntent --prerequisites /home
> 
That makes sense.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
The order and connection of ideas is the same as the order and
connection of things.



More information about the upstart-devel mailing list