--- Pankaj Agarwal <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs