Re: [RFC PATCH] file as directory

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Al Viro <viro@...>
Cc: Miklos Szeredi <miklos@...>, <linux-kernel@...>, <linux-fsdevel@...>, <akpm@...>, <torvalds@...>
Date: Wednesday, May 23, 2007 - 9:23 am

On Mittwoch, 23. Mai 2007, Al Viro wrote:
I have some similar considerations about how userspace should deal with that.

The behaviour of simply "cd file/" are not that robust, I fear ...


Well, *use cases* I can see. I'd like to use that - for loop mounting, 
archives, possibly using symlinks to remote filesystems "symlink1 => 
ssh:user@ip" (although that's possible with FUSE anyway - but would be 
possibly within a .zip, too), ...


But I'm not sure how to do the presentation to userspace *right*.


How about some special node in eg. /proc (or a new filesystem)?
Eg.
   /fileAsDir/etc/passwd/owner ...
would work for all *files*. For directories we do not know whether we're still 
climbing the hierarchy or would like to see meta-data.

Some way like a ".this" entry is not the Right Way IMO ...
Well, I cannot imagine a real good way to tell where I'd like to stop 
following the "normal" filesystem and go into the "generated" hierarchy ...

   /fileAsDir/level-3/usr/local/bin/owner
is not nice.


Regards,

Phil
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] file as directory, Miklos Szeredi, (Tue May 22, 2:48 pm)
Re: [RFC PATCH] file as directory, Jaroslav Sykora, (Wed May 23, 9:20 am)
Re: [RFC PATCH] file as directory, Jan Engelhardt, (Wed May 23, 8:01 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 5:51 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 6:09 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 6:24 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 6:24 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 6:40 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 7:39 am)
Re: [RFC PATCH] file as directory, Ph. Marek, (Wed May 23, 9:23 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 9:54 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 8:16 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 9:01 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 9:51 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 10:32 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 11:06 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 11:25 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 11:37 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 11:55 am)
Re: [RFC PATCH] file as directory, Shaya Potter, (Tue May 22, 7:26 pm)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 2:39 am)
Re: [RFC PATCH] file as directory, Al Viro, (Tue May 22, 6:10 pm)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 2:36 am)
Re: [RFC PATCH] file as directory, Pavel Machek, (Thu May 24, 8:07 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Mon May 28, 10:43 am)
Re: [RFC PATCH] file as directory, Jan Blunck, (Wed May 23, 5:21 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 5:35 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 3:03 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 3:19 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 3:36 am)
Re: [RFC PATCH] file as directory, Trond Myklebust, (Wed May 23, 8:34 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 8:40 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 4:05 am)
Re: [RFC PATCH] file as directory, Jan Blunck, (Wed May 23, 5:16 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 5:28 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 4:29 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 5:03 am)
Re: [RFC PATCH] file as directory, Al Viro, (Wed May 23, 5:58 am)
Re: [RFC PATCH] file as directory, Miklos Szeredi, (Wed May 23, 6:14 am)