Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 16:37:42 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Marc Tardif <intmktg@CAM.ORG>
Cc:        freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, "Daniel C. Sobral" <dcs@newsguy.com>
Subject:   Re: device naming convention
Message-ID:  <XFMail.000918163742.jhb@FreeBSD.org>
In-Reply-To: <Pine.LNX.4.10.10009181557570.550-100000@Gloria.CAM.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Sep-00 Marc Tardif wrote:
>> > This is what I have in fdisk (from /stand/sysinstall):
>> >  Offset       Size        End     Name  PType       Desc  Subtype Flags
>> >       0         63         62        -      6     unused        0
>> >      63    1937565    1937627    wd0s1      3    freebsd      165     C
>> > 1937628     191268    2128895        -      6     unused        0
>> > 
>> > At this point, the second slice does not exist yet so I can't use it. For
>> > problems in defining a slice, see next question.
>> 
>> Really? I wouldn't expect FreeBSD to worry about the type being
>> "unused".
>> 
> If I try the following command as root, nothing is output:
># hd /dev/rwd0s2 | head

Look at your output you pasted above.  There is no entry with the name
'wd0s2'.  There is just an entry with wd0s1.  Note that those unused
areas are not allocated into any existing slice at the moment, and are
thus not the same as a slice with a subtype of '0' indicating that the
slice itself is unused.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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