lkml.org 
[lkml]   [1999]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Your backup is unsafe!

> You have:
>
> "This is a long filename.txt" "THISIS~1.TXT"
> You make
> "This is also a long filename.txt" "THISIS~2.TXT"
>
> You back up both, deletes both and restore
> "This is also a long filename.txt"
>
> If you don't save the short name with the backup, it will now be called
> "THISIS~1.TXT", clearly not what you wanted.

Ok, now I get it. But A) you *generally* aren't going to be restoring just
one and B) if you're using windows and can use the long filename, then the
short filename probably isn't really going to matter. This is really the
way vfat works - I sure wouldn't trust the short version in a case like
that to stay the same, and you could get the same problem moving around
files in windows. So, if we're going to fix this problem that M$ created
with their giant kludge of a "filesystem", we shouldn't mess up Linux's
filesystem to do it, and we definately shouldn't mess with the tools (tar,
cpio, etc.) to do it. If someone is *really* that concerned about the
short name changing, it should be fixed with special backup tools. You
probably wouldn't need to mess with the kernel at all, just have the
backup program generate and store the short version the vfat filesystem is
backed up.



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.110 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site