*BSD News Article 53665


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!chi-news.cic.net!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!faui0n.informatik.uni-erlangen.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: help on labeling non-labeled new scsi disk
Date: 29 Oct 1995 18:30:48 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 40
Message-ID: <470do8$1jm@uriah.heep.sax.de>
References: <461btt$34q@overload.lbl.gov> <463hk0$pde@overload.lbl.gov> <46akio$ge6@uriah.heep.sax.de> <46me71$lvv@overload.lbl.gov>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Jin Guojun[ITG] <jin@gracie.lbl.gov> wrote:

>>Both are valid, "sh MAKEDEV args..." is also ok.
>
>It depends on what args they are.
>You remember the first part, but forgot the last part.
>The original syntax was:
>
>	sh MAKEDEV sd2h
>
>Would you beleive that could work? or be an error?

Ok, this is in error.

> I only need to use the raw disks,
>however, the FreeBSD won't do the configuration on unlabled SCSI devices.
>Before, It just complains that "no magic", but after 2.1-SNAP, I didn't
>see the complaining. Instead, the devices are not configged.

Hmm, you can't read an unlabelled /dev/rsd1?  Strange, i always could,
though i think with ``no magic'' warnings.

Well, creating a disklabel containing just the `c' partition might
help, but remember: you cannot use a partition at offset 0, since this
would trash the disklabel.  (Creating a file system on such a
partition is okay, since the file system layer doesn't touch the
disklabel.  Using it as a raw partition is not ok.)

>>Btw., the installer doesn't use disklabel(8) itself; it uses libdisk
>>which can be found in the src/release/libdisk directory.
>
>That is a library, but not a utility tool.

Of course, but somebody has been asking why things work in the
installer but don't work with the separate tools.
-- 
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. ;-)