Re: VFAT: Can't create file named 'aux.h'?

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

 



On Tue, 21 Mar 2006, Yaroslav Rastrigin wrote:

> Hi,
> On 21 March 2006 00:46, you wrote:
>>> 	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.
> This is true. smbfs, OTOH, has no such checks, so creating aux.h on an smb share is one easy way to DoS
> all WinXP machines using(browsing) this share. Explorer hangs on reading directory with this file.
>>
>>
>> Jan Engelhardt
>
> --
> Managing your Territory since the dawn of times ...

Also, CON is a sensitive name on WIN/2000. This can hang the
browser. The "@#+^%!@#" devices still exist:

C:\> copy con xxx.xxx

.... from the shell will wait forever.



Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5589.48 BogoMips).
Warning : 98.36% of all statistics are fiction, book release in April.
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
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