Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 12:26:38 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        "Brian Miller" <bmiller@lablaw.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Auto Mount USB
Message-ID:  <20080818122638.c0635d7b.wmoran@potentialtech.com>
In-Reply-To: <7FB5330A2962844C9F95E25CEFA021956F4D90@labex.labnet.lablaw.org>
References:  <7FB5330A2962844C9F95E25CEFA021956F4D90@labex.labnet.lablaw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to "Brian Miller" <bmiller@lablaw.org>:
> 
> I can mount the drive just fine with the mount command. I also was able
> to add it to the fstab and have it mount at boot.
> 
> However if the drive is removed it has to be mounted again. How do you
> get it to mount back up with out having to run the mount command again?

You're slightly off course.  Read man 8 amd and see if that helps.  Also,
section 27.3.5 of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
If you get stuck on specifics, ask here.

> Also I noticed while playing with it that the device assignment keeps
> changing each time it is plugged back into the system. Started with
> /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have
> to change my mount comand every time.

I've not see this happen.  Are you umounting it before you remove the
drive?  If not, then the drive is still mounted from a previous connection
(even though it can't be accessed) so the system has to grab the next
available device.

This will go away once you have amd running.

-- 
Bill Moran
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080818122638.c0635d7b.wmoran>