Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 16:14:58 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
Cc:        "John W. De Boskey" <jwd@bsdwins.com>, freebsd-current@freebsd.org
Subject:   Re: write(2) returns error saying read only filesystem when trying to write to a partition 
Message-ID:  <200012080014.eB80Ew900494@mass.osd.bsdi.com>
In-Reply-To: Your message of "Fri, 08 Dec 2000 08:43:36 %2B1030." <3A300B90.F20A6120@dsto.defence.gov.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> CC: to -current as that's what I'm running.
> 
> "John W. De Boskey" wrote:
> > 
> > Hi,
> > 
> >    I can't answer your questions directly, but you might want
> > to checkout the sources to newfs (/usr/src/sbin/newfs/newfs.c or
> > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sbin/newfs/newfs.c?annotate=1.31
> > line 417).
> > 
> >    I'll be glad to review your program if you would like.
> 
> I'm not after a review, I'd like FreeBSD-CURRENT fixed.
> 
> The program works on Compaq True64 UNIX v 4.0d
> It also works on Solaris 7 (only tested sparc).
> 
> So it seems FreeBSD is broken here.

FreeBSD just behaves differently.  If you want to write to the whole 
disk, open the whole-disk device, not the 'c' partition.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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