To find the block size for the second partition of the first HDD, the following can be used:
/sbin/dumpe2fs /dev/hda2 | grep 'Block size'
Because dumpe2fs provides a large amount of information, it is convenient to use the filter grep to remove everything from the output except the block size. Because grep is case-sensitive and the word Block begins with an upper case (i.e., capital) B, it is necessary to use an upper case B in this command.
No comments:
Post a Comment