lkml.org 
[lkml]   [2013]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnew mount is broken w/regard to devnames in /etc/fstab



There are 2 problems -- they are unlikely to be
directly related, but are in so much as they are in the new version
of mount.

1) How is one supposed to get the real root device?
It's not /dev/root -- and on my system /dev/root doesn't even exist.
(though to be fair, it has in the past -- udev musta got sloppy this time,
and did point to the real root device). But how can I get /proc to display
the real root device instead of some fake name.

It's insecure the way it is -- as /dev/root could be "anything"...

2) I'd like lvm's naming to be available through mount. Ideally, lvm's
naming would be available in /proc/mounts... At least, though
in going from /dev/VG/LV => /dev/mapper/VG-LV, that can be
scripted reliably to get the mount device name.

But /dev/root?... How to script that, *reliably*...
And why the bogus name?






\
 
 \ /
  Last update: 2013-05-19 07:41    [W:0.068 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site