Skip site navigation (1)Skip section navigation (2)
Date:      28 Jan 2003 14:09:30 -0600
From:      Russell Cattelan <cattelan@thebarn.com>
To:        fs@freebsd.org
Subject:   restricted blocks?
Message-ID:  <1043784569.20928.58.camel@naboo.americas.sgi.com>

next in thread | raw e-mail | index | archive | help
Does anybody have quick answer as to why block 1 isn't writable?

naboo[6:24pm]#dd if=/dev/zero of=/dev/da1s1d bs=512 oseek=0 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000575 secs (890518 bytes/sec)
naboo[6:24pm]#dd if=/dev/zero of=/dev/da1s1d bs=512 oseek=1 count=1
dd: /dev/da1s1d: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.000819 secs (0 bytes/sec)
naboo[6:24pm]#dd if=/dev/zero of=/dev/da1s1d bs=512 oseek=2 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000507 secs (1009630 bytes/sec)

XFS uses this location for one of it's meta data block.

-- 
Russell Cattelan <cattelan@thebarn.com>


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?1043784569.20928.58.camel>