undocumented ioctl() parameters

Earl H. Kinmonth ked at garnet.berkeley.edu
Tue Mar 14 15:14:53 AEST 1989


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).



More information about the Comp.unix.xenix mailing list