Checking a block device

GNUbie gnubie at gmail.com
Wed Aug 4 02:05:06 UTC 2010


Hello Cybe R. Wizard,

Yes, this is my own homework as I need to have some conditions in the
script that I am creating to automate my elastic instances in the AWS
and one of which is by making use of EBS volumes.

Thank you.

Regards,

GNUbie

On Wed, Aug 4, 2010 at 8:31 AM, Cybe R. Wizard
<cyber_wizard at mindspring.com> wrote:
> On Wed, 4 Aug 2010 08:10:13 +0800
> GNUbie <gnubie at 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
>>
> Forgive me if I'm wrong but that sounds a lot like a homework question
> that you should be figuring out on your own.
>
> Cybe R. Wizard
> --
> When Windows are opened the bugs come in.
>        Winduhs
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list