Joe Kisela on 18 Aug 2010 15:56:32 -0700 |
Jeremy, ---- s1> ls -ld /tmp drwxrwxrwt 4 root sys 797 Aug 18 18:25 /tmp s1> ls -ld /tmp/target lrwxrwxrwx 1 user other 8 Aug 18 18:25 /tmp/target -> /etc s1> ls -ld /etc drwxr-xr-x 2 root sysadmin 2 Aug 18 18:26 /etc s1> mount /dev/sdX /tmp/target s1> s1> s1> ls -la /etc/passwd /etc/passwd: No such file or directory ----- that wouldn't work for multiple reasons. You would need permissions to overwrite /etc, and PAM modules in general don't follow symlinks, for obvious reasons. There really is nothing to worry about making a directory in /tmp for quick mounts and unmounts. Heck, thats where I put all my NFS mounts. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|