linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fallthrus as full-length symlinks?
@ 2009-11-13 17:46 Valerie Aurora
  2009-11-13 18:46 ` Erez Zadok
  2009-11-18  5:47 ` hooanon05
  0 siblings, 2 replies; 20+ messages in thread
From: Valerie Aurora @ 2009-11-13 17:46 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: David Woodhouse, Alexander Viro, Jan Blunck, Christoph Hellwig,
	Andy Whitcroft, Scott James Remnant, Sandu Popa Marius,
	Jan Rekorajski, J. R. Okajima, Arnd Bergmann, Vladimir Dronnikov,
	Felix Fietkau

Fallthrus were invented as a placeholders for readdir() on a
union-mounted directory - basically, to use the top-level file
system's readdir() cookie mechanism.  Fallthrus are persistent
directory entries and are implemented by the underlying file system -
such as ext2 or tmpfs - in whatever way it sees fit.  We've
implemented them for ext2 in two ways: as a regular directory entry
with a magic inode number, and as a regular directory entry with a
special file type.

Recently, David Woodhouse suggested implementing fallthrus as
full-length symlinks with a special flag.  The interesting thing about
this idea is that it could theoretically let us rename a file from the
low level file system to another place in the low-level file system
without copying the contents of the file up.  Basically, we can
arbitrarily swizzle the namespace of the low-level by maintaining a
set of symlinks above.

Is this useful?  Is it implementable?

Background reading:

http://valerieaurora.org/union/

-VAL

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-11-25  9:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <62b7cf460911151915k12c57c6dne9b49399bd8ce9d5@mail.gmail.com>
2009-11-17  0:57 ` Fallthrus as full-length symlinks? AYAN TYAGI
2009-11-17  6:44   ` Jamie Lokier
2009-11-17  8:03     ` AYAN TYAGI
2009-11-17 19:47       ` Valerie Aurora
2009-11-13 17:46 Valerie Aurora
2009-11-13 18:46 ` Erez Zadok
2009-11-13 19:55   ` Arnd Bergmann
2009-11-17 19:06     ` Valerie Aurora
2009-11-17 19:13   ` Valerie Aurora
2009-11-17 19:18     ` David Woodhouse
2009-11-17 19:43       ` Valerie Aurora
2009-11-17 20:20         ` Erez Zadok
2009-11-23 18:26           ` Valerie Aurora
2009-11-23 18:44             ` Arnd Bergmann
2009-11-25  2:12               ` Valerie Aurora
2009-11-24 11:18             ` Miklos Szeredi
2009-11-18  5:47 ` hooanon05
2009-11-25  2:15   ` Valerie Aurora
2009-11-25  2:36     ` hooanon05
2009-11-25  9:43       ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).