From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 20:08:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E55716A417 for ; Mon, 21 Jan 2008 20:08:51 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7DF13C43E for ; Mon, 21 Jan 2008 20:08:51 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m0LK63ik014485; Mon, 21 Jan 2008 15:06:03 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m0LK620F014484; Mon, 21 Jan 2008 15:06:02 -0500 (EST) (envelope-from jerrymc) Date: Mon, 21 Jan 2008 15:06:02 -0500 From: Jerry McAllister To: Mario Lobo Message-ID: <20080121200601.GA14429@gizmo.acns.msu.edu> References: <20080120161831.L62033@obelix.home.rakhesh.com> <20080121165551.GB50246@slackbox.xs4all.nl> <20080121170504.GA73013@cheddar.urgle.com> <200801211419.54729.mlobo@digiart.art.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801211419.54729.mlobo@digiart.art.br> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Fixing a USB disk to a specific device name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 20:08:51 -0000 On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote: > 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/ > > > > > > 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. Maybe I am missing something, but I don't think that is what the OP was asking - just a mount moiunt. I think the OP wants the /dev/da0s1 to always be /dev/da0s1 even if he switches the drives around in physical drive slots. ////jerry > > Mario Lobo > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"