Re: [SLUG] What file system

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Sat May 10 2003 - 08:23:02 EDT


On Sat, 2003-05-10 at 01:31, Mike wrote:
> Is there some way in linux/unix to determine what filesystem a hard
> drive is formated for? Also can/how/what does one do with the files in
> the lost+found dir? Can / should they be recoverd?
> Thanks
> Mike M

Run:
  fdisk -l /dev/hda (or whatever device you're querying).
or
  mount

  The first will show the partition types for the device in question.
For Linux ext2 or ext3, this will show up as ID 83 and System Linux.
This one is useful if you cannot mount the device.

  Use mount if the filesystem is mounted. It will show the type.
E.g.:
/dev/hda2 on / type ext3 (rw)

  There's a HOWTO for recovering files in LOST+FOUND. It's called
something like Filesystem Recovery HOWTO.

KL

  

-- 
Kwan Lowe <kwan@digitalhermit.com>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:40:45 EDT