On Sun, Aug 14, 2005 at 05:53:58PM +1200, John Mallett wrote:
> With out mounting a file system. How would I go about finding out what
> filesystems I have on my system. ie Vfat or ext2
> is there a simple command
'cfdisk' displays filesystem partitions and types.
'fdisk -l' is used in shell scripts.
If you intend to partition your hardrive I recommend 'cfdisk'
Newbies using 'fdisk' have a habit of writing overlapping
partitions that result in filesystems being lost.
from the 'fdisk' manual.
BUGS
There are several *fdisk programs around. Each has its
problems and strengths. Try them in the order cfdisk,
fdisk, sfdisk. (Indeed, cfdisk is a beautiful program
that has strict requirements on the partition tables it
accepts, and produces high quality partition tables. Use
it if you can. fdisk is a buggy program that does fuzzy
things - usually it happens to produce reasonable results.
Its single advantage is that it has some support for BSD
disk labels and other non-DOS partition tables. Avoid it
if you can.
---
keithmg.