Re: [Hampshire] stat(1)

Page principale
Auteur: Andy Smith
Date:  
À: hampshire
Sujet: Re: [Hampshire] stat(1)

Répondre à ce message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56b55100.hantslug.org.uk.22097': 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