[arch-general] [arch-dev-public] [RFC] Initialize /etc/mtab by copying /proc/mounts
Rogutės Sparnuotos
rogutes at googlemail.com
Wed Jun 9 10:18:45 EDT 2010
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
More information about the arch-general
mailing list