Francois-Rene Rideau wrote: > Robert told me that in some Unix flavors of old, > it was possible to open a file by path with a null access mode (O_NULL ?)
E.g. Linux. Very undocumented, but has been around for ages ('92 or such). The main purpose is to keep the floppy drive from spinning up to check for a media change when you open it to access parameters and such. E.g. fdformat, setfdprm, and LILO use this. (NB: some versions of strace print the flags argument in this case as "0x4", although it's really 3.) - Werner -- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH werner.almesber...@ica.epfl.ch / /_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/ To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message