All of lore.kernel.org
 help / color / mirror / Atom feed
From: ippi <heynumbertwo@yahoo.com>
To: Pankaj Agarwal <pankaj@pnpexports.com>, linux-newbie@vger.kernel.org
Subject: Re: how to identify filesystem type
Date: Thu, 19 Aug 2004 01:13:00 -0700 (PDT)	[thread overview]
Message-ID: <20040819081300.95564.qmail@web50005.mail.yahoo.com> (raw)
In-Reply-To: <005e01c485a0$69631820$5c59023d@dreammachine>


--- Pankaj Agarwal <pankaj@pnpexports.com> wrote:

> Kindly let me know how to
> identify the filesystem in an image file or block
> device.
> 

Hi Pankaj,

if you've got an image file called somefs.img you
should be able to do:

    file somefs.img

If you've got a block device - say /dev/hda1 - then
you'll need to do the following (probably as root).
Be careful to type this command correctly or you
could be in a world of pain

    dd if=/dev/hda1 bs=1k count=5 | file -

A
DO NOT USE dd WITH ANYTHING UNDER /dev WHILE RUNNING 
AS ROOT UNLESS YOU REALLY, REALLY HAVE TO.


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2004-08-19  8:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19  3:22 how to identify filesystem type Pankaj Agarwal
2004-08-19  8:13 ` ippi [this message]
2004-08-19  9:06   ` ippi
2004-08-19  9:07   ` Pankaj Agarwal
2004-08-19  9:48     ` ippi
  -- strict thread matches above, loose matches on Subject: below --
2004-08-19  9:07 Pankaj Agarwal
2004-08-19  9:46 ` Andreas Schwab
2004-08-19 14:03   ` Pankaj Agarwal
2004-08-20 15:36     ` Frank Steiner
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=20040819081300.95564.qmail@web50005.mail.yahoo.com \
    --to=heynumbertwo@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=pankaj@pnpexports.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.