Re: how to identify filesystem type

From: Pankaj Agarwal
Date: Fri Aug 20 2004 - 10:27:19 EST


Hi Andreas,

this is the output when you have a mounted block device.....you can only
mount when you know the filesystem ....thats wat i wanna know...hoe to
identify filesytems...on ablockdevice.

thanks anyways, looking forward for more information on this

Pankaj


----- Original Message -----
From: "Andreas Schwab" <schwab@xxxxxxx>
To: "Pankaj Agarwal" <pankaj@xxxxxxxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Thursday, August 19, 2004 3:16 PM
Subject: Re: how to identify filesystem type


"Pankaj Agarwal" <pankaj@xxxxxxxxxxxxxx> writes:

> I need your help, in understanding filesystems. Kindly let me know how to
> identify the filesystem in an image file or block device.

Use file:

# file -s /dev/hda3
/dev/hda3: ReiserFS V3.6 block size 4096 (mounted or unclean) num blocks
9500285 r5 hash

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/