* [gentoo-server] Checking a block device
@ 2010-08-04 0:13 GNUbie
2010-08-04 4:36 ` gustavo panizzo <gfa>
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: GNUbie @ 2010-08-04 0:13 UTC (permalink / raw
To: gentoo-server
Hello all,
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?
Please advice. Thank you in advance.
Regards,
GNUbie
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-server] Checking a block device
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-05 5:33 ` [gentoo-server] " GNUbie
2 siblings, 0 replies; 6+ messages in thread
From: gustavo panizzo <gfa> @ 2010-08-04 4:36 UTC (permalink / raw
To: gentoo-server
/usr/lib/klibc/bin/fstype (path extrated from a debian machine)
On Wed, Aug 04, 2010 at 08:13:30AM +0800, GNUbie wrote:
> Hello all,
>
> 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?
>
> Please advice. Thank you in advance.
>
> Regards,
>
> GNUbie
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-server] Checking a block device
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
2010-08-05 5:33 ` [gentoo-server] " GNUbie
2 siblings, 1 reply; 6+ messages in thread
From: Tom Grace @ 2010-08-04 7:11 UTC (permalink / raw
To: gentoo-server
testdisk (http://www.cgsecurity.org/wiki/TestDisk) will tell you that.
On 08/04/2010 01:13 AM, GNUbie wrote:
> Hello all,
>
> 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?
>
> Please advice. Thank you in advance.
>
> Regards,
>
> GNUbie
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-server] Re: Checking a block device
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-05 5:33 ` GNUbie
2 siblings, 0 replies; 6+ messages in thread
From: GNUbie @ 2010-08-05 5:33 UTC (permalink / raw
To: gentoo-server; +Cc: stonertom, tim, gfa
Hello all,
I finally used testdisk tool in my script. Thank you for your help.
Regards,
GNUbie
On Wed, Aug 4, 2010 at 8:13 AM, GNUbie <gnubie@gmail.com> wrote:
> Hello all,
>
> 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?
>
> Please advice. Thank you in advance.
>
> Regards,
>
> GNUbie
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-06 15:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-08-06 14:33 ` Brian Kroth
2010-08-05 5:33 ` [gentoo-server] " GNUbie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox