With my limited understanding (and all due respect) I think you are
seeing partition type not fs type eg ext3, reiser etc.

On Thu, 2003-07-03 at 19:52, Volker Kuhlmann wrote:
> > > How do I identify what type of filesystem is on a partition?
> > 
> > file -s /dev/hda1
> 
> I must be missing something:
> 
> # fdisk -l
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       795   6385806    f  Win95 Ext'd (LBA)
> /dev/hda2           796       850    441787+  83  Linux
> /dev/hda4          1021      1048    224910   82  Linux swap
> 
> # file -s /dev/hda[1-4]
> /dev/hda1: x86 boot sector, extended partition table
> /dev/hda2: data
> /dev/hda3: data
> /dev/hda4: data
> 
> All of which exceptionally non-informative. The only good way to
> determine the filesystem type on a partition is to mount it
> successfully and look at the output of mount. If the mounting is
> unsuccessful all bets are off.
> 
> Btw file -sL /dev/hda? is no good if the symlinks point to the whopwhops.
> 
> Volker
-- 
Robert Fisher
www.fisherfamily.orcon.net.nz

Reply via email to