Re: [arch-dev-public] [RFC] Initialize /etc/mtab by copying /proc/mounts

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



Thomas Bächler (2010-06-09 14:44):
> Am 09.06.2010 14:34, schrieb Dan McGee:
> >> Not that I know the right way, but am running Arch with /etc/mtab copied
> >> (or symlinked, on another system) from /proc/mounts for more than a year
> >> now, without any problems.
> 
> Having mtab as a symlink is a bad idea, mount writes more options into
> mtab than the kernel knows about.

Maybe... But no undocumented problems have arisen; I am using this after
consulting mount(8) manual:

  It is possible to replace /etc/mtab by a symbolic link to /proc/mounts,
  and especially when you have very large numbers of mounts things
  will be much faster with that symlink, but some information is lost that
  way, and in particular using the "user" option will fail.

-- 
--  Rogutės Sparnuotos


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux