... /dev/hda2: x86 boot sector 11 /dev/hda3: x86 boot sector, extended partition table 12 /dev/hda4: Linux/ i 386 ext2 filesystem 13 /dev/hda5: Linux/ i 386 swap file 14 /dev/hda6: Linux/ i 386 swap file ... Intel 80 386 , version 1, 4 dynamically linked, not stripped 5 /dev/hda: block special 6 7 $ file -s /dev/hda{,1,2,3,4,5,6,7 ,8, 9,10} 8 /dev/hda: x86 boot sector 9 /dev/hda1: Linux/ i 386 ext2 ... /dev/hda7: Linux/ i 386 swap file 16 /dev/hda8: Linux/ i 386 swap file 17 thutest 18 toithutest Sau đó, dùng lệnh grep để lọc các dòng có cụm filesystem # grep -n filesystem text 9: /dev/hda1: Linux/ i 386 ...