*BSD News Article 30938


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!news.adelaide.edu.au!yoyo.aarnet.edu.au!myall.awadi.com.au!myall!blymn
From: blymn@awadi.com.au (Brett Lymn)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Second disk...
Date: 27 May 1994 07:24:31 GMT
Organization: AWA Defence Industries
Lines: 44
Message-ID: <BLYMN.94May27165433@mallee.awadi.com.au>
References: <CppBt8.A4C@world.std.com> <2quqse$6hm@agate.berkeley.edu>
	<NILS.94May14201323@guru.stgt.sub.org> <2ra9no$oh6@agate.berkeley.edu>
NNTP-Posting-Host: mallee.awadi.com.au
In-reply-to: alanp@uclink2.berkeley.edu's message of 17 May 1994 11:27:52 GMT

>>>>> "Alan" == Alan Scott Pearson <alanp@uclink2.berkeley.edu> writes:
In article <2ra9no$oh6@agate.berkeley.edu> alanp@uclink2.berkeley.edu (Alan Scott Pearson) writes:


    Alan> In article <NILS.94May14201323@guru.stgt.sub.org>, Cornelis
    Alan> van der Laan <nils@ims.uni-stuttgart.de> wrote:
    >> In article <2quqse$6hm@agate.berkeley.edu>
    >> alanp@monoceros.EECS.Berkeley.EDU (Alan Pearson) writes:
    >> 
    >>  On a SUN filesystem, rwd1c is really just an alias for the
    >> whole disk and if you newfs it, you newfs whatever happens to
    >> be at the beginning of your disk. If there's, say, a rwd1a with
    >> a size of 20MB, you would newfs that. You also can mount rwd1c
    >> and, in fact, mount rwd1a.
    >> 

    Alan> Yes, I suppose I was incorrect in saying the behaviour of
    Alan> newfs was "wrong" since what I meant was "it is not what *I*
    Alan> think it should do."  Since partition c has no filesystem
    Alan> type, it doesn't make sense that newfs should be able to
    Alan> create a filesystem using /dev/rwd?c.  Of course, Suns
    Alan> interpre- tation that newfs rwd1c == newfs rwd1a is one way
    Alan> to do it,

Actually, Cornelis is wrong.  If you newfs the c partition on the Sun
then you will newfs the whole disk *not* just the first partition.
The C partition overlaps all other partitions by virtue of being
defined as the entire disk.

    Alan>  and it could also be argued that it could just
    Alan> assume tc=4.2bsd and make a fs of the size of the whole
    Alan> drive.

This is what sun does, see above.

    Alan> I suppose I should look to POSIX to say what is
    Alan> "right" and "wrong".

Not that it will necessarily be sensible.... (I have been burnt by
POSIX behaviour before...)


--
Brett Lymn