[lkml]   [2003]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectA mount that follows a symlink at /etc/mtab
In the past wishes have been expressed here for a mount program
that would follow a symbolic link at /etc/mtab. Then, if the root
filesystem is read-only, /etc/mtab can be made a symlink into a
filesystem that is writable. (Of course, that would mean that the
mtab could not be written until the latter filesystem was mounted;
but this problem can be overcome with a "mount -n", "mount -f"

I have patched the latest mount release to follow a symlink at
/etc/mtab . Unlike some earlier patches that have been posted
elsewhere, this one follows a symlink chain to the end and makes
mount create lockfiles and temporary files in the directory of
the link target. The patch is available via this page:

The new version of the mount program (2.12pre) to which it applies
is available here:

If you are interested in seeing the mount program enhanced in this
way then please try it out and let me know whether or not there are
any problems. If people can confirm that I haven't introduced any
bugs (I have tried to be careful) then I'll submit this patch
Thomas Hood

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.029 / U:6.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site