Command | Description |
---|---|
dd if=/dev/<sdx> bs=<bs> count=1 | hexdump -C hexdump -C -n <bytes> <dev> |
Print hexdump of a drive |
- Set hashed b-trees to speed up lookup for large dirs:
tune2fs -O dir_index /dev/<SDX>
- Optimize directories (reindexing/sorting and compressing):
e2fsck -D /dev/<SDX>