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

Matthew Kirkwood writes:
> On Sun, 1 Aug 1999, Khimenko Victor wrote:

>> Wrong. LFN is attached to short name.
>
> Please correct me if I'm wrong, but it sounds very like an
> LFN is actually a (rather restricted) symlink.

Yes, long names are most like symlinks.

> Perhaps that's a potential solution.
>
> It could make for rather ugly directory listings, but IMO
> that's better than the ugly code that we have now.

I just did "strace tar xf -" to check what happens. Symlinks ought
to work just fine! (tar does not remove existing files)

-- The Rules --

1. When a symlink (long name) is created, the file it refers to is
also created. You get a zero-length normal file.

2. mkdir() can turn an empty file into a directory. (gross)

3. Removal of a file automatically removes any symlinks.

4. When moved between directories, file-symlink pairs go together.

5. There are various other odd limitations on name length, etc.

6. When a normal file is created with a long name, you get a
symlink pointing to a normal file with 8.3 name format.
(this may allow somewhat normal filesystem use)

-
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.040 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site