size of block devices
is there any ioctl() similar to Linux's BLKGETSIZE to get the size of a block device or anything not a regular file?
|
See OpenSolaris Grub port for the way to do it with disks on Solaris (DKIOCG_PHYGEOM):
http://cvs.opensolaris.org/source/xr...5/lib/device.c |
All times are GMT -5. The time now is 10:19 PM. |