Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 14:19:54 -0300
From:      Mario Lobo <mlobo@digiart.art.br>
To:        freebsd-questions@freebsd.org
Subject:   Re: Fixing a USB disk to a specific device name
Message-ID:  <200801211419.54729.mlobo@digiart.art.br>
In-Reply-To: <20080121170504.GA73013@cheddar.urgle.com>
References:  <20080120161831.L62033@obelix.home.rakhesh.com> <20080121165551.GB50246@slackbox.xs4all.nl> <20080121170504.GA73013@cheddar.urgle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
> On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
> > On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
> > >> It is possible, but not as daX. Use the glabel(8) utility to label
> > >> your disks. They will show up as /dev/label/<yourlabel>
> >
> > On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
> > kernel, so it shouldn't be necessary there.
>
> Note that you can use UFS (and other filesystems labeling) too:  for
> example. 'newfs -L bobs_disk' will cause the device containing it to appear
> as /dev/ufs/bobs_disk.
>
> This approach may be better for removable disks; it'll play better with
> other OSs, for example.

I simply put

/dev/da0s1		/PenDrive	msdosfs	rw,noauto	0	0

on fstab. After I plug it in, I type

mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.

Mario Lobo



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