>Драсьте!Угум-с.
# awk 'NR==3,NR==8{print $NF}' </proc/partitions |while read d; do file -s /dev/$d; done
/dev/hda: x86 boot sector, LInux i386 boot LOader; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0x83, active, starthead 1, startsector 63, 96327 sectors; partition 2: ID=0x83, starthead 0, startsector 96390, 465885 sectors; partition 3: ID=0x82, starthead 0, startsector 562275, 674730 sectors; partition 4: ID=0x5, starthead 0, startsector 1237005, 76919220 sectors
/dev/hda1: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=f6456ef5-84cb-4c9d-8185-b49d3a62b622
/dev/hda2: ReiserFS V3.6
/dev/hda3: Linux/i386 swap file (new style), version 1 (4K pages), size 84340 pages, no label, UUID=0-0-0-0-00
/dev/hda4: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 63, 1734957 sectors; partition 2: ID=0x5, starthead 0, startsector 1735020, 1269135 sectors
/dev/hda5: ReiserFS V3.6
# _