[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checking a block device



On Tuesday 03 August 2010 19:11:28 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?

I'd use "file" as a first pass.  After that, perhaps some custom script.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: