Re: [PATCH] fat: kill reserved names
From: Paul Rolland
Date: Wed Mar 29 2006 - 09:52:54 EST
Hello,
> Since these names on old MSDOS is used as device, so, current fat
> driver doesn't allow a user to create those names. But many OSes and
> even Windows can create those names actually, now.
>
> This patch removes the reserved name check.
>
> -/* MS-DOS "device special files" */
> -static const unsigned char *reserved_names[] = {
> - "CON ", "PRN ", "NUL ", "AUX ",
> - "LPT1 ", "LPT2 ", "LPT3 ", "LPT4 ",
> - "COM1 ", "COM2 ", "COM3 ", "COM4 ",
> - NULL
Please don't :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\>mkdir LPT1
The directory name is invalid.
Windows doesn't want these !!!
Regards,
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/