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 via email to