From owner-freebsd-chat Wed Sep 24 13:20:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24116 for chat-outgoing; Wed, 24 Sep 1997 13:20:54 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA24098 for ; Wed, 24 Sep 1997 13:20:46 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA12622; Wed, 24 Sep 1997 22:20:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id VAA06456; Wed, 24 Sep 1997 21:59:41 +0200 (MET DST) Message-ID: <19970924215941.OU12423@uriah.heep.sax.de> Date: Wed, 24 Sep 1997 21:59:41 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-chat@FreeBSD.ORG Cc: paulg@interlog.com (Paul Griffith) Subject: Re: Adding another drive to a FreeBSD system References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Paul Griffith on Sep 24, 1997 09:03:20 -0400 Sender: owner-freebsd-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Paul Griffith wrote: > I spend a good part of the night trying to add a SCSI 128MB removable > optical drive to my system. Is the following steps correct: > > edit /etc/disktab > run disklabel -w -r sd1 auto # assume 128 optical is /dev/sd1 You don't use your edited disktab entry when using `auto'. You should always add a -B flag, too, to prevent an over-eager blatant complaint from the kernel about a not so magic disk... > newfs /dev/sd1 disklabel -e sd1 # edit your partitions newfs /dev/rsd1a ^ > The fact that I am posting this means it didn't work, here is what I added > to /etc/disktab (and why is this still used ????) It isn't if you're using `auto' above. > Its just a regular SCSI (if there is such a beast) 512 sector 128MB > optical removable. Can I use scsiformat ?? You probably could, but it's a totally different beast: it really requests the disk to _format_ the sectors. This is very low-level, and probably not what you want. Don't get confused by some wannabe- operating system that just smashes all the disk preparations into the word `format'. What you really want is to `high-level format', i.e. create your filesystems. That's what newfs is for. > BTW: Is the section for adding a drive in the latest handbook still blank? The FAQ contains more about it than the handbook. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)