which fs on a partition?

C M Reinehr cmr
Fri Jul 13 07:18:09 PDT 2007


On Friday 13 July 2007 02:49, Jorge Almeida wrote:
> Anyone knows any tool that would guess which fs (if any) was installed
> on a unmounted partition? The purpose is to make sure that the partition
> doesn't hold any forgotten data before nuking it.

Try `file -s /dev/hda9` or whatever partition it is that you're testing.

HTH

cmr
-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list