![]() | |||||||||||||
Messages in this thread |
Followup to: <20060320134533.febb0155.rdunlap@xenotime.net>
By author: "Randy.Dunlap" <rdunlap@xenotime.net>
In newsgroup: linux.dev.kernel
>
> "AUX" is (was) a reserved "filename" in DOS. The Linux MS-DOS
> filesystem preserves (protects) that. The extension part does not
> matter; it only checks the first 8 characters of the filename.
> You'll need to use a different filesystem or filename...
>
But this is VFAT, not FAT. It should probably take the reserved name
and mangle it.
>
> /* 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".
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||||
| Last update: 2006-03-20 22:53 [from the cache] ©2003-2008 | |||||||||||||