public abstract class ArticleDetail extends ArticleList
implements Editable, Deletable {
/**
 * @subject Make NFS Easily Mountable from Ubuntu Gnome
 * @topics Computers Linux Home
 * @permalink Make_NFS_Easily_Mountable_from_Ubuntu_Gnome
 * @trackback http://www.hjsoft.com/blog/trackback/Make_NFS_Easily_Mountable_from_Ubuntu_Gnome
 * @author john
 * @created 10/29/08 10:52:31 PM
 * @modified 10/29/08 10:59:53 PM
 */

I reinstalled the ThinkPad with Ubuntu 8.10, and I've had to get a few things going again on there. As slick as Ubuntu has been with most things, I was expecting to be able to browse my way to my NFS shares in the house, or failing that, I'd be able to go to "nfs://nas/..." and be in business. That's not the case, so I had to set up a bit for myself.

Using my previous Debian experience, I knew that autofs is a pretty friendly way to get filesystems mountable by normal users. It automatically mounts a filesystem when a user first requests it, then unmounts it later when it's been idle.

I installed autofs5, nfs-common, etc from aptitude. Then I uncommented the /net line in /etc/auto.master, and restarted autofs. At this point, I could just cd into /net/nas, and autofs would get it mounted for me, even as a user.

To make it easy from Gnome, I created a Custom Launcher on the Panel for the "Location", file:///net/nas/, and it becomes easily clickable to open it.

public Comments displayComments() {
/*
 * Joshua D. Boyd
 * http://blog.jdboyd.net
 * 10/30/08 10:26:42 PM
 * Thanks
 */
I just finished doing something similar on my Mac and was planning to google for how to do this on Linux when I saw this pop up in my feed reader.

Although, rather than use a custom launcher, what I did was symlink /nas to /net/nas (changed to what shares I use, obviously). This is what I've been doing on Solaris for a long time, and the nice thing compared to the launcher is that it works if you are ssh'd into the machine (which you probably aren't doing on a laptop, but still).
}
public Comment postNewComment() {
Name:
Email (hidden):
URL:
Subject:
Body:
 
 
}
}
 
Robots, look here.