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

next in thread | previous in thread | raw e-mail | index | archive | help
I started looking at amd and it is just what I need but it doesn't
appear to be available? From what I have read it should be part of
FreeBSD? I see that I can download a tar from www.am-utils.org should I
do that or is there a "Package" available for it? Is there something
similar to "YUM" for FreeBSD?

You are correct that I was not dismounting then removing the drive. So
that makes sense. Next question is how/can I free them up? Tried "umount
/dev/da0s1" but it fails with "Device not configured"

Thanks for the response.

-----Original Message-----
From: Bill Moran [mailto:wmoran@potentialtech.com]=20
Sent: Monday, August 18, 2008 12:27 PM
To: Brian Miller
Cc: freebsd-questions@freebsd.org
Subject: Re: Auto Mount USB

In response to "Brian Miller" <bmiller@lablaw.org>:
>=20
> 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.
>=20
> 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.ht
ml
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.

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



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