solaris: implement blockdev size getting
authorJens Axboe <jens.axboe@oracle.com>
Tue, 4 Aug 2009 10:49:59 +0000 (12:49 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Aug 2009 10:49:59 +0000 (12:49 +0200)
commit515d18304324c2e11f40742c394c90799913fa67
tree359bec4f069d26d731e6f687e0890fa1b83b6ef1
parent983b770d547c11d8b0a4ef9e1ac75ffce1d4e46d
solaris: implement blockdev size getting

Just use lseek(..., SEEK_END), we should actually be able to use that
on all platforms.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-solaris.h