Date: Thu, 07 Dec 2000 17:54:15 -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: <200012080154.eB81sFN00538@mass.osd.bsdi.com> In-Reply-To: Your message of "Fri, 08 Dec 2000 11:39:38 %2B1030." <3A3034D2.B57C2692@dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Mike Smith wrote: > > > 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. > > Thanks Mike, /dev/da18 works fine for me although I notice that > /dev/da18s1 does not. There seems to be some inconcistencies > in this area. That would be something of an understatement... > Please tell me (and for the benefit of the list) as to why > I cant use /dev/da18s1c ? The 'c' device won't let you overwrite the beginning of the slice/disk, since that's where the partition information is kept. -- ... 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?200012080154.eB81sFN00538>