lkml.org 
[lkml]   [2004]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"H. Peter Anvin" <>
SubjectRe: PATCH to access old-style FAT fs
DateSat, 31 Jan 2004 02:19:16 +0000 (UTC)
Followup to:  <20040129105624.GA1072@frodo.local>
By author:    Frodo Looijaard <frodol@dds.nl>
In newsgroup: linux.dev.kernel
> 
> I have run a small test in MS-DOS 5.00:
> 
>   1) Create a new directory
>   2) Create five files in it
>   3) Change the first character of the second filename to 0x00 with an editor
>   4) Do a DIR listing: only one file is seen
>      Linux shows four files!
>   5) Create a new file
>   6) Do a DIR listing: there are five files
> 
> So MS-DOS 5.00 at least does stop when a 0x00 marker is found, but does
> not write new 0x00 markers when a 0x00 marker is overwritten. 
> 

This is of course dangerous, since it could create conflicts.

Thus, I suggest we do write new 0x00 markers; even though it's not
required (it only matters if the filesystem is out of spec and
therefore by definition corrupt), it would help the Psion, and
wouldn't cause any problems for in-spec filesystems.

	-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: 2005-03-22 14:00    [from the cache]
©2003-2008