In message: <[EMAIL PROTECTED]> Yar Tikhiy <[EMAIL PROTECTED]> writes: : Could anyone point out at an ioctl or any other way to get a disk : device size granted the device has no BSD label or PC slice table : on it? Ways for both the userland and kernel are welcome.
For userland, look at how fdisk and/or disklabel get it. For kernel, look at kern/subr_disk*.c Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message