Re: [PATCH] fat: kill reserved names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux