which fs on a partition?
Bill Campbell
linux-sxs
Fri Jul 13 09:37:28 PDT 2007
On Fri, Jul 13, 2007, Jorge Almeida wrote:
>On Fri, 13 Jul 2007, Bruce Marshall wrote:
>
>> On Friday 13 July 2007, 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.
>>
>> Just try mounting it. The system will usually figure out what the FS is on
>> the partition. Then just issue the 'mount' command by itself and it will
>> show you what the FS is.
>Tried that before posting:
>$ mount /dev/hda9 /mnt/prov
>mount: you must specify the filesystem type
>
>I think the partition doesn't hold a fs, but I wanted to be sure...
If you create an entry for the device in /etc/fstab with the file
system type ``auto'' the mount command will attempt to figure out
what kind of file system it is.
Booting on a knoppix live CD may also be useful.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Democracy, n.:
A government of the masses. Authority derived through mass
meeting or any other form of direct expression. Results in mobocracy.
Attitude toward property is communistic... negating property rights.
Attitude toward law is that the will of the majority shall regulate,
whether it is based upon deliberation or governed by passion,
prejudice, and impulse, without restraint or regard to consequences.
Result is demagogism, license, agitation, discontent, anarchy.
-- U. S. Army Training Manual No. 2000-25 (1928-1932),
since withdrawn.
More information about the Linux-users
mailing list