From: Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>
To: Pankaj Agarwal <pankaj@pnpexports.com>
Cc: Andreas Schwab <schwab@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: how to identify filesystem type
Date: Fri, 20 Aug 2004 17:36:47 +0200 [thread overview]
Message-ID: <41261A8F.6040609@bio.ifi.lmu.de> (raw)
In-Reply-To: <000901c486c9$40d92e60$6d59023d@dreammachine>
Pankaj Agarwal wrote:
> Hi Andreas,
>
> this is the output when you have a mounted block device.....you can only
> mount when you know the filesystem ....thats wat i wanna know...hoe to
> identify filesytems...on ablockdevice.
And when it's not mounted, the output is still enough:
zassenhaus /root# grep /dev/hda7 /proc/mounts
zassenhaus /root# file -s /dev/hda7
/dev/hda7: ReiserFS V3.6 block size 4096 num blocks 11378028 r5 hash
galois fst/tmp# grep /dev/hda8 /proc/mounts
galois fst/tmp# file -s /dev/hda8
/dev/hda8: Linux rev 1.0 ext3 filesystem data
That's all you need to know...
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
next prev parent reply other threads:[~2004-08-20 15:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 9:07 how to identify filesystem type Pankaj Agarwal
2004-08-19 9:46 ` Andreas Schwab
2004-08-19 14:03 ` Pankaj Agarwal
2004-08-20 15:36 ` Frank Steiner [this message]
2004-08-20 20:46 ` Andreas Dilger
2004-08-20 21:58 ` Andries Brouwer
2004-08-21 3:25 ` Theodore Ts'o
2004-08-21 8:51 ` Andries Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41261A8F.6040609@bio.ifi.lmu.de \
--to=fsteiner-mail@bio.ifi.lmu.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj@pnpexports.com \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox