>>>>> "Erik" == Erik Curiel <[EMAIL PROTECTED]> writes:
Erik> Find out what the block sizes are on each partition (use
Erik> fsck) and you can specify that as an input parameter to dd.
Hey I tried to figure out the block size of my hard drive using this
trick but am not sure how to get the block size. I get:
[root@12-221-91-68 /]# /sbin/fsck /dev/hdb1
Parallelizing fsck version 1.19 (13-Jul-2000)
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
/boot: clean, 31/4016 files, 5907/16033 blocks
Now if I new precisely the size of my HD, I could divide by the number
of blocks (16033) to get the block size.... Is there something I am
missing?
df reports 46636 1k blocks for this partition but I suspect this is an
approximation for two reasons. 1) If the block size and 1k are not
commensurate, then this can't always be exact 2) 46636*1000/16033 is
not an integer, and the block size must be an integer. Hmm...
So how do I get the block size of a partition?
Thanks,
John Hunter
_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits