Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 00:12:26 +0100
From:      phk@freebsd.org
To:        Russell Cattelan <cattelan@thebarn.com>
Cc:        fs@freebsd.org
Subject:   Re: restricted blocks? 
Message-ID:  <899.1043795546@critter.freebsd.dk>
In-Reply-To: Your message of "28 Jan 2003 14:09:30 CST." <1043784569.20928.58.camel@naboo.americas.sgi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <1043784569.20928.58.camel@naboo.americas.sgi.com>, Russell Cattelan
 writes:
>Does anybody have quick answer as to why block 1 isn't writable?

In all likelyhood your 'd' partition starts at offset zero and
therefore the second sector contains the disklabel which the
kernel will not allow you to overwrite.

Use disklabel -e to change to size of the 'd' partiton down by 
16, and set the offset to 16 and you should have no trouble.

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?899.1043795546>