[svlug] Security question: read-only drive
Michael Higashi
mhigashi at hooked.net
Thu Feb 8 19:58:02 PST 2001
On Thu, 8 Feb 2001, Drew Bertola wrote:
> /etc/mtab doesn't seem to work at all when symlinked from /etc. I tried.
Depends on where you try to symlink it to. From man mount:
When the proc filesystem is mounted (say at /proc), the files
/etc/mtab and /proc/mounts have very similar contents. The former
has somewhat more information, such as the mount options used, but
is not necessarily up-to-date (cf. the -n option below). It is
possible to replace /etc/mtab by a symbolic link to /proc/mounts,
but some information is lost that way, and in particular working
with the loop device will be less convenient. Also, pathnames
containing spaces are handled correctly by /etc/mtab but not (yet)
by /proc/mounts.
Mike
--
Michael Higashi
mhigashi at hooked.net
pager: 415-541-6820
More information about the svlug
mailing list