Gentoo Archives: gentoo-server

From: "gustavo panizzo <gfa>" <gfa@×××××××××.ar>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Checking a block device
Date: Wed, 04 Aug 2010 13:09:02
Message-Id: 20100804043604.GA13646@omega6.zumbi.com.ar
In Reply to: [gentoo-server] Checking a block device by GNUbie
1 /usr/lib/klibc/bin/fstype (path extrated from a debian machine)
2
3 On Wed, Aug 04, 2010 at 08:13:30AM +0800, GNUbie wrote:
4 > Hello all,
5 >
6 > How can I check if a block device (partition) has one or any of the
7 > following characteristics:
8 >
9 > [1] raw
10 >
11 > [2] has content
12 >
13 > [3] formatted
14 >
15 > but without actually mounting it?
16 >
17 > Please advice. Thank you in advance.
18 >
19 > Regards,
20 >
21 > GNUbie
22 >