Re: SlugOS 5.3, Memstick & HDD -- device name confusion (sda / sdb)
- Thanks Mike -- this is brilliant, true plug & play so to speak :)
There's another question I have on SlugOS 5.3, but I'll create a new post as it's for a different subject.
--- In firstname.lastname@example.org, "Mike Westerhof (mwester)" <mwester@...> wrote:
> Isn't it nice when things "just work"? :-) SlugOS does not store the
> /dev/sd* device name for use during the boot process. What really
> happens when you do "turnup /dev/sda1" is that the turnup utility looks
> up the UUID for that partition, and sets up the boot process to use that
> UUID. This avoids any problems caused by the device names moving about
> for USB devices.
- --- In email@example.com, "Mike Westerhof (mwester)" <mwester@...> wrote:
> The /dev/sda1 noted in the fstab is not used by SlugOS, so you can justOK, so it should be possible to mount the stick by uuid rather than knowing which /dev/sd[ab] is is on this week. It that correct? Presumably udev could be hacked thataway.
> leave it as-is. (We should replace that with a UUID reference some day,
> just to avoid confusing humans, though.)
However, that might be difficult when NFS mounting from some other system. For example, my Solaris system doesn't seem to know about mounting things given their uuid, either locally or remotely.
So suggestions about overcoming that? Currently, my [v[fstab entry 'guesses' at remote:/media/sda1. Which works fine so long as the guess it correct, but involves manual fiddling when it isn't :-( .