From owner-freebsd-questions Wed Aug 7 3: 8:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29C0E37B400; Wed, 7 Aug 2002 03:08:25 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id A972143E42; Wed, 7 Aug 2002 03:08:24 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from sparx.pantherdragon.org (evrtwa1-ar10-4-61-252-210.evrtwa1.dsl-verizon.net [4.61.252.210]) by spork.pantherdragon.org (Postfix) with ESMTP id C91DBFF3D; Wed, 7 Aug 2002 03:08:22 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.pantherdragon.org (Postfix) with ESMTP id 4A23BAB04; Wed, 7 Aug 2002 03:08:21 -0700 (PDT) Message-ID: <3D50F195.97DB678A@pantherdragon.org> Date: Wed, 07 Aug 2002 03:08:21 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Desmond Lee Cc: freebsd-questions , scott@bsdprophet.org, kstewart@owt.com, grog@freebsd.org Subject: Re: some questions about upgrade and /etc/ files References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Desmond Lee wrote: > >With all those /dev/* entries changed to match the devices in your > >`mount` output. Just, whatever you do, DO NOT REBOOT until you're > >absolutely sure your /etc/fstab matches your mounted filesystems. > >Otherwise you get to spend some time guessing at which partitions > >were mounted where. > > Ah crap... i already rebooted. But, when i did a diff on fstab from the one > downloaded from the source tree there was no difference? I don't think my > system was properly mounted from before. Do you know any way to set this up > easily? I got what was listed above, but no floppy or zip drive liste? There's not any automatic way that I know of. You can fairly easily guess and which goes where based on filesystem contents. Just take each filesystem in turn and mount it at /mnt, look at the contents of /mnt, then unmount and mount it at it's proper point, make a note of which device it is. Repeat for each filesystem you have on the disk(s). Once you have them all mapped out, do the `mount` command again and compare your notes. Then edit fstab and create entries like those above for your filesystems. A floppy drive will be fd0 or fd1. A zip drive, if it's SCSI, parallel, or USB, attaches as daN, where N is an integer. I'm not sure what the ATAPI zip drives attach as, maybe afdN? You'll have to play with partition/slice combinations to get the filesystem mounted, it's usually one of four: Da, Dc, Ds1a, Ds1c, where D is the device the drive attached as. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message