Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Oct 1998 19:20:30 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Chris Csanady <ccsanady@friley-185-114.res.iastate.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Partition weirdness.. 
Message-ID:  <199810040220.TAA00883@dingo.cdrom.com>
In-Reply-To: Your message of "Sat, 03 Oct 1998 20:24:36 CDT." <199810040124.UAA04660@friley-185-114.res.iastate.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a couple of partitions that have been behaving somewhat odd.  Also,
> I have gotten a number of messages recently (from newfs--i think), about
> not being able to rewrite the disklabel.  Has anyone else been seen this?
> 
> On 2 of my bios partitions, I can not write to the second sector.  Doing
> so will cause the following:
> 
> friley-185-114:/# dd if=/dev/zero of=/dev/rda0s4e bs=512 count=1 seek=1
> dd: /dev/rda0s4e: Read-only file system
> 
> If I seek past 2 sectors, or only write the first sector, I have no
> trouble.  Does anyone know what might be causing this?  My disklabel,
> and fdisk output follow..

This is the imaginative disklabel write-protection scheme.  I'm not 
sure why newfs would have trouble; it ought to be using the disklabel 
ioctls directly.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199810040220.TAA00883>