Contributed by Joshua Hoffman
1. Enable the /net map in /etc/auto.master.
2. Create a new directory to hold your network mounts:
mkdir /network
3. Create links for the mounts you want:
cd /network
ln -s /net/server1/var/ftp/pub/Server Server
4. Now you can just use the links:
cd /network/Server
5. Best of all, this always works:
ls /network
6. This trick even works for NIS user homedirs:
cd /home
ln -s /net/server1/home/guests guests
Red Hat’s acclaimed training programs offer a lifetime of experience in a week’s worth of class instruction. And a good portion of the credit for that success goes to the Red Hat Certified Instructors that make a Red Hat training course something special. They have the best tips, and the trickiest tricks. So we thought we’d ask ‘em to share. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.
This entry was posted by The editorial team
on Wednesday, August 22nd, 2007 at 7:42 am and is filed under technical, tips and tricks.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
August 22nd, 2007 at 2:11 pm
fine
September 23rd, 2007 at 11:49 am
you can use use –ghost switch in auto.master
instead of manually-created symlinks.
/net /etc/auto.net –ghost –timeout=60
/smb /etc/auto.smb –ghost –timeout=60
October 16th, 2007 at 12:59 am
this is also nice