identify filesystem type on unmounted drive

Associate
Joined
15 Sep 2005
Posts
1,746
i'm having an empty head day, i'm sure i've done this before, but can't remember how.

anyone suggest the linuxy way i discover the filesystem type of an unmounted hdd.

if it make a difference, i'm running openSuse and the drive is /dev/hdb
 
I use 'disktype' :
Code:
# disktype /dev/sda1
--- /dev/sda1
Block device, size 19.09 GiB (20497365504 bytes)
Windows NTLDR boot loader
NTFS file system
  Volume size 18.63 GiB (19999993856 bytes, 39062488 sectors)
 
brilliant, fdisk did the trick, and yep, that's the way i've done it before.
so obvious when someone points it out.

never heard of disktype, but off to play with it now.
i'm sure it'll come in.

thanks all...
 
Back
Top Bottom