From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 21:23:27 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 B5A9716A417 for ; Mon, 4 Feb 2008 21:23:27 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAF013C47E for ; Mon, 4 Feb 2008 21:23:27 +0000 (UTC) (envelope-from mike@urgle.com) Received: from rocher.urgle.com ([80.177.40.50]) by anchor-post-30.mail.demon.net with esmtp (Exim 4.67) id 1JM8mk-000NwT-0W; Mon, 04 Feb 2008 21:23:26 +0000 Message-ID: <47A78210.8070201@urgle.com> Date: Mon, 04 Feb 2008 21:22:24 +0000 From: Mike Bristow User-Agent: Thunderbird 2.0.0.9 (X11/20080202) MIME-Version: 1.0 To: Jerry McAllister References: <20080204170848.GH7685@gizmo.acns.msu.edu> In-Reply-To: <20080204170848.GH7685@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christian Baer , freebsd-questions@freebsd.org Subject: Re: Strange HDD order 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, 04 Feb 2008 21:23:27 -0000 Jerry McAllister wrote: > On Mon, Feb 04, 2008 at 12:22:30PM +0100, Christian Baer wrote: > >> On Sun, 3 Feb 2008 09:40:53 -0600 Matt wrote: >> >>> Is the concern with the apparent out-of-order numbering based on how >>> you want to access these devices in areas like fstab? >> No, not really. Once I set them up in the directory tree, what the drive's >> device name is won't make a diff to how the system works. I was more >> worried that maybe the device names (numbers) could change in the future >> and then I'd have to start wonderung about what drive is what now and >> where to mount what device now. > > They won't change unless you move them. If you rearrange the order > then their device numbers will change and you would have to modify > the /etc/fstab file. But, they won't change just by rebooting > or something like that. You would have to open the cabinet and > move them. If you are worried by this sort of thing, label your filesystems (with newfs -L or tunefs -L) and mount using /dev/ufs/. My fstab has: /dev/ufs/root / ufs rw 1 1 /dev/ufs/home /home ufs rw 2 2 /dev/ufs/tmp /tmp ufs rw 2 2 /dev/ufs/var /var ufs rw 2 2 for example.