Vedere le caratteristiche del file system in Linux

Mattepuffo's logo
Vedere le caratteristiche del file system in Linux

Vedere le caratteristiche del file system in Linux

Avevo bisogno di controllare le caratteristiche del file system dove è installato Linux.

Ho scoperto che tune2fs mi dava tutte le caratteristiche di cui avevo bisogno.

In verità questo programma nasce per manipolare diversi parametri del file system.

Ma ha una opzione per mostrare molte informazioni interessanti.

Va lanciato con prvilegi elevati:

# tune2fs -l /dev/sda2
tune2fs 1.42.13 (17-May-2015)
Filesystem volume name:   OS
Last mounted on:          /
Filesystem UUID:          ce847b88-c755-46c8-bac6-12eba82293d2
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              15499264
Block count:              61990144
Reserved block count:     3099507
Free blocks:              29587038
Free inodes:              15142437
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1009
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Sat Oct  3 13:02:24 2015
Last mount time:          Mon Mar 21 10:19:33 2016
Last write time:          Mon Mar 21 10:19:33 2016
Mount count:              79
Maximum mount count:      -1
Last checked:             Sat Oct  3 13:02:24 2015
Check interval:           0 ()
Lifetime writes:          1149 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:              256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
First orphan inode:       131171
Default directory hash:   half_md4
Directory Hash Seed:      b4394808-c5fa-4114-b066-e08ce5fa1e7e
Journal backup:           inode blocks

Potete veramente sbizzarrivi!

Enjoy!


Condividi

Commentami!