Tony Nugent wrote:
> 
[]
> 
> The solution is to make /etc/mtab a symbolic link to /proc/mounts
> 
> But there are some downsides to doing this... you loose information
> that's kept in /etc/mtab that isn't in /proc/mounts (like the extended
> options... uid, gid, mode and so on).
> 
> Do "cat /proc/mounts /etc/mtab" to see the difference.

I noticied this already, and this is strange -- why mtab contains more?
If this extra info is used at all, it should be in kernel, or it is unused.
Just maybe numeric uid to symbolic one mapping (and such) can be in mtab.

> (/var/tmp as /tmp generally works, but I've found that it can have
> some unexpected side effectes).
Initscripts can handle this well -- do not do any commands that need this
(e.g. "<<HERE DOCUMENT" in shell) before mounting /tmp (or /var).

[]
> 
> Are there any other files besides mtab in /etc that are "always"
> absolutely needed to be written to in order to have a functioning
> system?  Anything that does this should be changed (as was the case,
> eg, for dhcpd.leases).

No, there are none, at least without kde/gnome/X, for those I do not know
since I do not use X. dhcpd.leases is at /var/state/dhcp/ directory.

> 
> Cheers
> Tony

Regards,
  Michael.

[And yes, /etc here is /, was just a tupo. We are not speaking about options
mounting /etc, we are not speaking about _mounting_ it -- it is a part of
root (/), and root can be mounted r/o or r/w]

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to