Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!garnet.berkeley.edu!ked From: ked@garnet.berkeley.edu (Earl H. Kinmonth) Newsgroups: comp.unix.xenix Subject: undocumented ioctl() parameters Message-ID: <21592@agate.BERKELEY.EDU> Date: 14 Mar 89 05:14:53 GMT Sender: usenet@agate.BERKELEY.EDU Reply-To: ked@garnet.berkeley.edu (Earl H. Kinmonth) Organization: University of California, Berkeley Lines: 9 Browsing through /usr/include/sys/* in search of clock tick values, I stumbled on a number of parameters for ioctl() calls pertaining to disk format operations. Are these documented anywhere? If so, where? If not, why are they not documented? I have a version of tar that runs under **IX and MSDOS, and one feature that I would like to add is the ability to detect unformatted disks and format them on the fly. While this could be done with a system() call, I'd like to do something a bit more elegant (and a bit faster).