Messages in this thread | | | Date | Tue, 21 Mar 2006 08:57:18 +0100 | From | Jan-Benedict Glaw <> | Subject | Re: VFAT: Can't create file named 'aux.h'? |
| |
On Mon, 2006-03-20 13:50:29 -0800, H. Peter Anvin <hpa@zytor.com> wrote: > > /* MS-DOS "device special files" */ > > static const unsigned char *reserved_names[] = { > > "CON ", "PRN ", "NUL ", "AUX ", > > "LPT1 ", "LPT2 ", "LPT3 ", "LPT4 ", > > "COM1 ", "COM2 ", "COM3 ", "COM4 ", > > NULL > > }; > > > > There should be more than that. At the very least there is "CLOCK$" > (arguably anything with $), "MSCD001" (and probably more than 001), as > well as "COM5".."COM8".
Please divide all the reservednames into two groups: those build-in into io.sys/msdos.sys/command.com and those that are added on the fly. For example, "mscd001" is runtime-registered trhough any atapi CD-ROM driver and this name is/was usually a user-configurable option. (Bad guys name it 'README'.)
MfG, JBG
-- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA)); [unhandled content-type:application/pgp-signature] | |