public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tim Schumacher <tim@we-are-teh-b.org>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Checking a block device
Date: Wed, 04 Aug 2010 12:19:11 +0200	[thread overview]
Message-ID: <87d3tysmsg.wl%tim@we-are-teh-b.org> (raw)
In-Reply-To: <4C5912AC.4000908@snakesoftruth.com>

At Wed, 04 Aug 2010 08:11:40 +0100,
Tom Grace wrote:
> On 08/04/2010 01:13 AM, GNUbie wrote:
> > How can I check if a block device (partition) has one or any of the
> > following characteristics:
> >
> > [1] raw
> >
> > [2] has content
> >
> > [3] formatted
> >
> > but without actually mounting it?
>
> testdisk (http://www.cgsecurity.org/wiki/TestDisk) will tell you that.

This works also as root:

file -s /dev/sda1

greetings

Tim



  reply	other threads:[~2010-08-04 11:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04  0:13 [gentoo-server] Checking a block device GNUbie
2010-08-04  4:36 ` gustavo panizzo <gfa>
2010-08-04  7:11 ` Tom Grace
2010-08-04 10:19   ` Tim Schumacher [this message]
2010-08-06 14:33     ` Brian Kroth
2010-08-05  5:33 ` [gentoo-server] " GNUbie

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=87d3tysmsg.wl%tim@we-are-teh-b.org \
    --to=tim@we-are-teh-b.org \
    --cc=gentoo-server@lists.gentoo.org \
    /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