Hi!

On Thu, Dec 06, 2007 at 05:21:08AM -0800, Shachi Rai wrote:
>Currently I am facing a small problem in OpenBSD. I want to get the
>information about the total physical Storage and the partition table
>(mounted and unmounted). Please let me know if there is any way out for 
>getting this information.

I don't exactly understand what you really want. But I guess you want to
check which disks exist: grep '^[sw]d' /var/run/dmesg.log (I guess that
should cover most disk devices, save for very exotic stuff and floppy
disks).

For exact information, see fdisk(8), disklabel(8), and df(1). For
potential mounts, see fstab(5), for actual mounts, see mount(8).

Kind regards,

Hannah.

Reply via email to