home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:5716 comp.sys.sun.admin:9495
- Newsgroups: comp.unix.programmer,comp.sys.sun.admin
- Path: sparky!uunet!s5!is1.is.morgan.com!is.morgan.com!scairns
- From: scairns@is.morgan.com (Scott Cairns)
- Subject: sun dkinfo command question
- Message-ID: <1992Dec16.112411@is.morgan.com>
- Sender: news@is.morgan.com
- Nntp-Posting-Host: zamboni
- Organization: Fusion Systems Group
- Date: Wed, 16 Dec 1992 16:24:11 GMT
- Lines: 27
-
- I'm working on an application that needs to display dkinfo(8) like
- information about disk drives and their partitions. This is under
- SunOS 4.1.
-
- So far, I've got it to a point where I can display the starting
- cylinder number, the number of cylinders and the tracks/sector
- for the drive but I need to get more detailed information about
- the partitions.
-
- I've been using ioctl(2) to get the above information but what
- calls should I be looking at to get the individual partition
- info?
-
- Thanks in advance.
-
- +------------------------------------------------------------------+
- | Scott Cairns | email: scairns@fsg.com |
- | Fusion Systems Group | scairns@is.morgan.com |
- | New York, New York, USA | |
- +------------------------------------------------------------------+
- | Standard disclaimers apply. |
- +------------------------------------------------------------------+
- | I hope in the future Americans are thought of as a warlike, |
- | vicious people, because then I bet a lot of high schools would |
- | pick 'Americans' as their mascot. |
- | - Jack Handey |
- +------------------------------------------------------------------+
-