lkml.org 
[lkml]   [2006]   [Mar]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 20 Mar 2006 22:46:31 +0100 (MET)
FromJan Engelhardt <>
SubjectRe: VFAT: Can't create file named 'aux.h'?
>	Hi everybody,
>
>while trying to back up a couple Linux directories to a FAT disk I ran
>into a weird situation: I can't create a file called aux.h on the FAT
>system! 
>
On DOS et al, there are a number of special filenames, such as

	com1:
	com2: (and so on)
	lpt1:
	lpt2: (and so on)
	con:
	aux
	nul

(Try `dir >nul`, it's equivalent to unix's `ls -l >/dev/null` --
aux is the auxiliary port, whatever that is)

It seems only fair to me to not allow creating these files under Linux 
either, to avoid problems when booting back to Dos/Windows.


Jan Engelhardt
-- 
| Software Engineer and Linux/Unix Network Administrator
-
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:49    [from the cache]
©2003-2008