Messages in this thread | | | From | "Khimenko Victor" <> | Date | Wed, 18 Nov 1998 01:47:06 +0300 (MSK) | Subject | Re: Vfat fs - Disallow periods at the end of names |
| |
17-Nov-98 11:08 you wrote: > Vfat fs - Disallow periods at the end of names
> .. at least , this is is an argument against "we don't need umsdos since we have VFAT".
> Is the cause of this the fact that windoze can not deal wit such names ? > ( it reports file not found for those entries , but they are listed in the explorer )
Looks like you have old kernel :-)) At least with 2.1.128 you could not (correctly) create file with name "a." or "a..". There are was error in 2.0.33 (my last 2.0.x version :-) and you could create "a.." with `touch a....` command, etc. Such names are not allowed by VFAT ! But this is not even biggest problem with VFAT. It's simple brain-dead system -- that's all. Try: -- cut -- [root@localhost vfattest]# touch XXXXXXXXX [root@localhost vfattest]# touch XXXXXX~1 touch: XXXXXX~1: File exists [root@localhost vfattest]# rm XXXXXX~1 rm: XXXXXX~1: No such file or directory [root@localhost vfattest]# rm -rf XXXXXX~1 [root@localhost vfattest]# ls -al < Compare total 20 < this... drwxr-xr-x 2 root root 4096 Nov 9 23:07 . < drwxr-xr-x 49 root root 16384 Nov 9 23:07 .. < -rwxr-xr-x 1 root root 0 Nov 9 23:07 XXXXXXXXX < [root@localhost vfattest]# mkdir XXXXXX~1 < mkdir: cannot make directory XXXXXX~1: File exists < [root@localhost vfattest]# ls -al < total 20 < drwxr-xr-x 2 root root 4096 Nov 9 23:07 . < drwxr-xr-x 49 root root 16384 Nov 9 23:07 .. < -rwxr-xr-x 1 root root 0 Nov 9 23:07 XXXXXXXXX < [root@localhost vfattest]# rm XXXXXXXXX rm: remove XXXXXXXXX? y [root@localhost vfattest]# touch XXXXXX~1 [root@localhost vfattest]# touch XXXXXXXXX [root@localhost vfattest]# rm XXXXXX~1 rm: remove XXXXXX~1? y [root@localhost vfattest]# ls -al < ...with total 20 < that! drwxr-xr-x 2 root root 4096 Nov 9 23:21 . < drwxr-xr-x 49 root root 16384 Jan 1 1970 .. < -rwxr-xr-x 1 root root 0 Nov 9 23:19 XXXXXXXXX < [root@localhost vfattest]# mkdir XXXXXX~1 < [root@localhost vfattest]# ls -al < total 24 < drwxr-xr-x 3 root root 4096 Nov 9 23:21 . < drwxr-xr-x 49 root root 16384 Jan 1 1970 .. < -rwxr-xr-x 1 root root 0 Nov 9 23:19 XXXXXXXXX < drwxr-xr-x 2 root root 4096 Nov 9 23:21 XXXXXX~1 < [root@localhost vfattest]# -- cut --
And no, this is NOT error in VFAT driver -- it was designed to be braind-dead by M$ and of course it is brain-dead even in Linux....
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |