From owner-freebsd-current Mon Dec 11 3:24:32 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 11 03:24:17 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D8137B698 for ; Mon, 11 Dec 2000 03:24:16 -0800 (PST) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5896E2E08 for ; Mon, 11 Dec 2000 00:07:36 -0800 (PST) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id eBB84CQ00880 for ; Mon, 11 Dec 2000 18:34:12 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Mon, 11 Dec 2000 18:33:14 +1030 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id SAA28834; Mon, 11 Dec 2000 18:28:08 +1030 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id WZWR92S2; Mon, 11 Dec 2000 18:28:08 +1030 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id SAA23055; Mon, 11 Dec 2000 18:28:08 +1030 (CST) Sender: thyerm@dsto.defence.gov.au Message-ID: <3A348935.9E9EEC@dsto.defence.gov.au> Date: Mon, 11 Dec 2000 18:28:45 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Daniel C. Sobral" Cc: freebsd-current@freebsd.org Subject: Re: write(2) returns error saying read only filesystem when trying to write to a partition References: <200012080154.eB81sFN00538@mass.osd.bsdi.com> <3A305227.D74011C4@dsto.defence.gov.au> <3A30F7FD.A6FA069D@newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > > Regardless /dev/da18s1 should work as for /dev/da18 [snip] > > No, and no. You misunderstand the problem. > > A disk on IBM PC compatible computers has the following format: I dont misunderstand the problem and I do know how disks are laid out under FreeBSD. I may not have expressed myself very well when I said "/dev/da18s1 should work as for /dev/da18" as I was referring to my in context discussion of "why cant I write to this device". My point is that I should be able to write to anything and do the damage that would result. Solaris and Compaq's Tru64 (the OS formerly know as DEC OSF/1) both allow me to destroy the UNIX disklabel by writing to the 'c' partition. I am of the opinion that FreeBSD should allow me to as well. The kernel has an in-memory copy of the disklabel so there shouldn't be a technical issue to stop me from doing so. -- Matthew Thyer Phone: +61 8 8259 7249 Science Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Salisbury PO Box 1500 Salisbury South Australia 5108 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message