Finding Block Size of Filesystem
Published in miteshjlinuxtips.wordpress.com - 263 d 12 h ago
In order to, find block size of a filesystem on Linux,
$ sudo tune2fs -l /dev/sda1 | grep -i ‘block size’
Block size: 4096
OR
$ echo “mitesh”> test && du test | awk ‘{print $1}’ && rm -f test
4K
Similar entries
- CPIO Tape with Unknown Block Size
- "dd" sequential write performance tests on a raw block device may be incorrect
- Linux Trick To Remove Files With Bad Names
- Linux Truncate (Log)File
- How to create a ram disk
- Grep, Find, Sort
- Linux, Unix, NAS, File Systems: Inodes (Part 1) - Checking Availability And High Level Overview
- First touch with LVM
- How Boot
- Extracting a partition out of a binary image
