[TriLUG] / is /dev/root and not /dev/sda?

Igor Partola igor at igorpartola.com
Tue Jun 12 19:40:36 EDT 2012


What if you simply check whether the device for / is a symlink and if it
is, resolve it (recursively). Seems clean enough to me.

It does sound like a udev thing. I guess it might be similar to /dev/cdrom
and /dev/dvd.

Igor
On Jun 12, 2012 6:06 PM, "Joseph Mack NA3T" <jmack at wm7d.net> wrote:

> On Tue, 12 Jun 2012, Joseph Mack NA3T wrote:
>
> I've been plumbing the output of google on this. I've found
>
> o it's completely normal
>
> o if you don't understand it, you shouldn't be on this group
>
> o I don't get this output on my machine.
>
> o there are many people mystified by why / is now /dev/root
>
> o you can fix it with the attached patch (which I didn't see, perhaps
> because I was a guest on that forum)
>
> This only other clue I have is that udev may be involved
>
> ~# dir /dev/root
> lrwxrwxrwx 1 root root 4 Jun 12 20:04 /dev/root -> sda3
>
> I could rewrite my scripts to handle the special case of /dev/root, but
> this seems completely stupid
>
> Joe
>
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.**shtml<http://www.wm7d.net/azproj.shtml>
> Homepage http://www.austintek.com/ It's GNU/Linux!
> --
> This message was sent to: Igor Partola <igor at igorpartola.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/**listinfo/trilug<http://www.trilug.org/mailman/listinfo/trilug>
> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/**
> options/trilug/igor%**40igorpartola.com<http://www.trilug.org/mailman/options/trilug/igor%40igorpartola.com>
> TriLUG FAQ          : http://www.trilug.org/wiki/**
> Frequently_Asked_Questions<http://www.trilug.org/wiki/Frequently_Asked_Questions>
>



More information about the TriLUG mailing list