which fs on a partition?

Jorge Almeida jalmeida
Fri Jul 13 08:39:51 PDT 2007


On Fri, 13 Jul 2007, C M Reinehr wrote:

> 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.
>
$ file -s /dev/hda9
/dev/hda9: data

Would this output mean something?
-- 
Jorge Almeida



More information about the Linux-users mailing list