View Full Version : Comando x mostrare le impostaz di un fs ext3?
mingotta
29-08-2004, 01:24
Ciao ragazzi,
con quale comando riesco a vedere le opzioni con cui è stato creato un file system ext3?
In altre parole, quando viene creato un file system ext3 si lancia un comando tipo:
mkfs -j -c -l label -O sparse_super -T largefile /dev/hdd
Il problema è che non mi ricordo con precisione che opzioni ho messo quando l'ho creato!!
C'è un comando tipo fstyp (non mi ricordo se l'ho trovato su hp-ux o dove) che ti dice le caratteristiche tenniche del fs?
Grazie!
tune2fs -l partizione
(man tune2fs)
devi usarlo da root, quindi attenzione :)
mingotta
29-08-2004, 10:58
Fantastico, funziona alla grande!
Che è un ext3 si capisce solo dal fatto che dice Filesystem features: has journal, giusto? Certo, potevano pure metterlo un po' più evidente che è un ext3!!
[root@ipcop root]# tune2fs -l /dev/hdd1
tune2fs 1.32 (09-Nov-2002)
Filesystem volume name: 160GB
Last mounted on: <not available>
Filesystem UUID: de5ad1cf-242d-42eb-8bed-f4c62cf36079
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype needs_recovery sparse_super large_file
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 156416
Block count: 40019915
Reserved block count: 1200597
Free blocks: 17224956
Free inodes: 107221
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 128
Inode blocks per group: 4
Filesystem created: Mon May 24 00:10:25 2004
Last mount time: Mon Aug 23 12:02:09 2004
Last write time: Mon Aug 23 12:02:09 2004
Mount count: 20
Maximum mount count: 32
Last checked: Mon May 24 00:10:25 2004
Check interval: 15552000 (6 months)
Next check after: Fri Nov 19 23:10:25 2004
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal UUID: <none>
Journal inode: 8
Journal device: 0x0000
First orphan inode: 0
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.