Gentoo Archives: gentoo-server

From: GNUbie <gnubie@×××××.com>
To: gentoo-server@l.g.o
Cc: stonertom@×××××.com, tim@××××××××××××.org, gfa@×××××××××.ar
Subject: [gentoo-server] Re: Checking a block device
Date: Thu, 05 Aug 2010 06:04:58
Message-Id: AANLkTin1OiY0RuyeLeUc+_ECUVh7jJA2k-J4rqHhK8P-@mail.gmail.com
In Reply to: [gentoo-server] Checking a block device by GNUbie
1 Hello all,
2
3 I finally used testdisk tool in my script. Thank you for your help.
4
5 Regards,
6
7 GNUbie
8
9 On Wed, Aug 4, 2010 at 8:13 AM, GNUbie <gnubie@×××××.com> wrote:
10 > Hello all,
11 >
12 > How can I check if a block device (partition) has one or any of the
13 > following characteristics:
14 >
15 > [1] raw
16 >
17 > [2] has content
18 >
19 > [3] formatted
20 >
21 > but without actually mounting it?
22 >
23 > Please advice. Thank you in advance.
24 >
25 > Regards,
26 >
27 > GNUbie