help-hurd
[Top][All Lists]
Advanced

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

Re: ShadowFS (status)


From: Niels Möller
Subject: Re: ShadowFS (status)
Date: 27 Aug 2001 09:35:50 +0200

tb@becket.net (Thomas Bushnell, BSG) writes:

> shadowfs should never even *see* a translator if implemented
> correctly.  It just points the user at the "real" location of whatever
> file and tells them to "retry" lookups there.

Let's look at the directory case: Say we have shadow fs installed on
/bin, and it has two underlying directories /bar/bin and /foo/bin.
There are two files /bar/bin/b and /foo/bin/f

What happens if you open /bin, for instance by cd:ing to it or listing
it? With Moritz' code, you get a shadowfs-managed node, that
"contains" both files b and f. That means that shadowfs handling of
directories and files differ, and makes for interesting border cases.

Do I understand you correctly that opening /bin should simply result
in a port to either /bar/bin or /foo/bin, with no fancy merging of the
directory contents? Then ls won't show the truth for shadowfs
directories, or am I missing something?

/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]