Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 19:03:50 +0200
From:      "Karsten W. Rohrbach" <karsten@rohrbach.de>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Greg Lehey <grog@lemis.com>, Andre Albsmeier <andre@akademie3000.de>, Marc Tardif <intmktg@CAM.ORG>, freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG
Subject:   Re: ccd with other filesystems
Message-ID:  <20001001190350.B304@rohrbach.de>
In-Reply-To: <Pine.BSF.4.21.0010012311270.5871-100000@besplex.bde.org>; from bde@zeta.org.au on Sun, Oct 01, 2000 at 11:32:29PM %2B1100
References:  <20001001114540.G43885@wantadilla.lemis.com> <Pine.BSF.4.21.0010012311270.5871-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans(bde@zeta.org.au)@Sun, Oct 01, 2000 at 11:32:29PM +1100:
> On Sun, 1 Oct 2000, Greg Lehey wrote:
> 
> > On Sunday,  1 October 2000 at  4:09:37 +0200, Karsten W. Rohrbach wrote:
> > > i dont quite know why it is still possible doing a newfs on a 'c'
> > > partition, since the partition type is 'unused' and not
> > > '4.2BSD'. newfs should check this and throw an error while providing
> > > an expert-only-feature command line option to explicitly override
> > > it.
> > 
> > I think this is a bug in newfs.
> 
> This is a feature of newfs.  It is almost device-independent.  E.g., to
> create a filesystem in a regular file with no label in sight:
> 
>     dd if=/dev/zero of=foo oseek=2779 count=1
>     # -v and ./foo work around device dependence.
>     # -T floppy is so that I don't have to type a lot of args for this example.
>     newfs -v -T floppy ./foo
and thats exactly the point... if you use -v it should work, if you dont
the partition type must be 4.2BSD and it must not be mounted.
no more no less? not reasonable?

> 
> > It should only create file systems on
> > partitions of type 4.2BSD.  Does anybody disagree?  Otherwise I'll fix
> > it.
> 
> Disagree.  The filesystem type field is normally an output of newfs, not
> an input.
thats new for me...

/k

-- 
> Sure eating yogurt will improve your sex life. People know that if
> you'll eat that stuff, you'll eat anything.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de



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




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