pavement

Filesystems, finding the type of

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
 
Line 8: Line 8:
 
Note the [[su]] - you'll need it, unless you're already root.
 
Note the [[su]] - you'll need it, unless you're already root.
  
[[Category:System Commands]][[Category:Common Tasks]]
+
[[Category:Common Tasks]]

Latest revision as of 13:34, 14 May 2009

Got a disk with an unknown filesystem on it? The file command ought to help you figure it out.

server# su
server# file -s /dev/ad4s1a
/dev/ad4s1a: x86 boot sector, code offset 0x3c, reserved sectors 0, Media descriptor 0x0, reserved 0x16, dos < 4.0 BootSector (0x1f), BSD disklabel


Note the su - you'll need it, unless you're already root.

Personal tools