[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Non-configuration files in /etc



Joey Hess wrote:
> Are there really any problems associated with /proc/mounts besides the
> /dev/root thing?

If not, I have some ideas.. Documentation/devices.txt suggests that
/dev/root be made to contain a symlink to the actual root device. If
that were done, /proc/mounts would actually be accurate (I think), and
usable as a full replacement for /etc/mtab.

Finding the real root device and making such a link is pretty easy -- about
25 lines of C.

-- 
see shy jo


Reply to: