On Mon, May 19, 2008 at 03:38:54AM -0400, Robert P. J. Day wrote: > sadly, on this system, there is no /sys filesystem. but i got what i > needed by just opening the device, reading the boot sector and parsing > the partition table. it seemed like the simplest thing to do. Another trick: blockdev --getsize64 /dev/whateverblockdevice Erik -- Erik Mouw -- mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature