You are not logged in.

#1 2009-04-10 14:44:19

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

[solved] command to find out what filesystem?

Heyas,

I was just wondering if there was a command to check the filesystem on a device file without having to mount it to a folder?

Last edited by farkenell (2009-04-10 15:37:35)

Offline

#2 2009-04-10 15:07:13

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [solved] command to find out what filesystem?

fdisk -l as root will give that information

Offline

#3 2009-04-10 15:37:08

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

Re: [solved] command to find out what filesystem?

Thank you muchly smile to both smile
VV

Last edited by farkenell (2009-04-10 15:38:07)

Offline

#4 2009-04-10 15:37:26

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: [solved] command to find out what filesystem?

fdisk -l will give partition type, not fs type

/usr/lib/klibc/bin/fstype /dev/device_file

Offline

#5 2009-04-10 15:47:12

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved] command to find out what filesystem?

# du -hT

Offline

#6 2009-04-10 15:50:42

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [solved] command to find out what filesystem?

Misfit138 wrote:
# du -hT

du or df? tongue

Offline

#7 2009-04-10 16:32:59

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved] command to find out what filesystem?

oops. Right, df.

# df -hT

Offline

#8 2009-04-10 16:58:26

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [solved] command to find out what filesystem?

one more

> sudo blkid

Offline

#9 2009-04-10 18:38:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] command to find out what filesystem?

$ man df

Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB