lkml.org 
[lkml]   [2006]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2006-03-21 08:59    [W:0.091 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site