Re: [Hampshire] stat(1)

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] stat(1)

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57233100.hantslug.org.uk.12800': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Apr 29 15:58:09 2008 BST
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hi Hugo,

On Tue, Apr 29, 2008 at 03:36:08PM +0100, Hugo Mills wrote:
>    I'm trying to determine the size of a block device in a shell
> script, and I'm having some trouble.


[...]

>    Anyone got any ideas?


Is "blockdev --getsize64 <device>" or similar of any use?

Cheers,
Andy