Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <19970924215941.OU12423@uriah.heep.sax.de>
In-Reply-To: <Pine.BSI.3.95.970924084921.5125B-100000@shell1.interlog.com>; from Paul Griffith on Sep 24, 1997 09:03:20 -0400
References:  <Pine.BSI.3.95.970924084921.5125B-100000@shell1.interlog.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



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