Re: reiser4 plugins

2005-07-12 Thread David Masover
Hans Reiser wrote: David Masover wrote: That's why we're trying to find something that people won't actually touch, especially since if we design it right, this will be the last delimiter introduced at the fs/vfs level. Uh, no, there needs to be about a dozen or so more. Where? From

Re: reiser4 plugins

2005-07-12 Thread Horst von Brand
David Masover <[EMAIL PROTECTED]> wrote: > Hans Reiser wrote: > > Horst von Brand wrote: > >>Hans Reiser <[EMAIL PROTECTED]> wrote: > >>>Stefan Smietanowski wrote: [...] > > Better to spend one's mind looking for bugs instead of this issue. > > .if bugs were seen as such a big deal. >

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
Neil Brown wrote: >On Tuesday July 12, [EMAIL PROTECTED] wrote: > > >>Neil Brown wrote: >> >> >> >>>Maybe it is worth repeating Al Viro's suggestion at this point. I >>>don't have a reference but the idea was basically that if you open >>>"/foo" and get filedescriptor N, then >>>

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Tuesday July 12, [EMAIL PROTECTED] wrote: > Neil Brown wrote: > > > > > > >Maybe it is worth repeating Al Viro's suggestion at this point. I > >don't have a reference but the idea was basically that if you open > >"/foo" and get filedescriptor N, then > > /proc/self/fds/N-meta > >is a

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Tuesday July 12, [EMAIL PROTECTED] wrote: > > > > Maybe it is worth repeating Al Viro's suggestion at this point. I > > don't have a reference but the idea was basically that if you open > > "/foo" and get filedescriptor N, then > >/proc/self/fds/N-meta > > How am I supposed to get there

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
David Masover wrote: > > That's why we're trying to find something that people won't actually > touch, especially since if we design it right, this will be the last > delimiter introduced at the fs/vfs level. Uh, no, there needs to be about a dozen or so more. But not this year. - To

Re: reiser4 plugins

2005-07-12 Thread David Masover
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hans Reiser wrote: > Horst von Brand wrote: > > >>Hans Reiser <[EMAIL PROTECTED]> wrote: >> >> >> >>>Stefan Smietanowski wrote: >>> >>> >>> I think "..." and ".meta" both serve as a logical delimiter. However some programs implement

Re: reiser4 plugins

2005-07-12 Thread David Masover
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Brown wrote: > On Monday July 11, [EMAIL PROTECTED] wrote: > >>Stefan Smietanowski wrote: >> >>>-BEGIN PGP SIGNED MESSAGE- >>>Hash: SHA1 >>> >>> >>> Ok, still haven't heard much discussion of metafs vs file-as-directory, but it

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
Neil Brown wrote: > > >Maybe it is worth repeating Al Viro's suggestion at this point. I >don't have a reference but the idea was basically that if you open >"/foo" and get filedescriptor N, then > /proc/self/fds/N-meta >is a directory which contains all the meta stuff for "/foo". >Then it is

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Monday July 11, [EMAIL PROTECTED] wrote: > Stefan Smietanowski wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > > >>Ok, still haven't heard much discussion of metafs vs file-as-directory, > >>but it seems like it'd be easier in metafs. > > > > > > Why not implement it

Re: reiser4 plugins

2005-07-12 Thread David Masover
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Brown wrote: On Monday July 11, [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still haven't heard much discussion of metafs vs file-as-directory, but it seems like it'd be easier in

Re: reiser4 plugins

2005-07-12 Thread David Masover
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hans Reiser wrote: Horst von Brand wrote: Hans Reiser [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: I think ... and .meta both serve as a logical delimiter. However some programs implement their own ... which would make it clash

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
David Masover wrote: That's why we're trying to find something that people won't actually touch, especially since if we design it right, this will be the last delimiter introduced at the fs/vfs level. Uh, no, there needs to be about a dozen or so more. But not this year. - To unsubscribe

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Tuesday July 12, [EMAIL PROTECTED] wrote: Maybe it is worth repeating Al Viro's suggestion at this point. I don't have a reference but the idea was basically that if you open /foo and get filedescriptor N, then /proc/self/fds/N-meta How am I supposed to get there with a shell

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Tuesday July 12, [EMAIL PROTECTED] wrote: Neil Brown wrote: Maybe it is worth repeating Al Viro's suggestion at this point. I don't have a reference but the idea was basically that if you open /foo and get filedescriptor N, then /proc/self/fds/N-meta is a directory which

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
Neil Brown wrote: On Tuesday July 12, [EMAIL PROTECTED] wrote: Neil Brown wrote: Maybe it is worth repeating Al Viro's suggestion at this point. I don't have a reference but the idea was basically that if you open /foo and get filedescriptor N, then /proc/self/fds/N-meta is a

Re: reiser4 plugins

2005-07-12 Thread Horst von Brand
David Masover [EMAIL PROTECTED] wrote: Hans Reiser wrote: Horst von Brand wrote: Hans Reiser [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: [...] Better to spend one's mind looking for bugs instead of this issue. .if bugs were seen as such a big deal. I think it's far

Re: reiser4 plugins

2005-07-12 Thread David Masover
Hans Reiser wrote: David Masover wrote: That's why we're trying to find something that people won't actually touch, especially since if we design it right, this will be the last delimiter introduced at the fs/vfs level. Uh, no, there needs to be about a dozen or so more. Where? From

Re: reiser4 plugins

2005-07-12 Thread Neil Brown
On Monday July 11, [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still haven't heard much discussion of metafs vs file-as-directory, but it seems like it'd be easier in metafs. Why not implement it inside the directory

Re: reiser4 plugins

2005-07-12 Thread Hans Reiser
Neil Brown wrote: Maybe it is worth repeating Al Viro's suggestion at this point. I don't have a reference but the idea was basically that if you open /foo and get filedescriptor N, then /proc/self/fds/N-meta is a directory which contains all the meta stuff for /foo. Then it is trivial to

Re: reiser4 plugins

2005-07-11 Thread Hans Reiser
Horst von Brand wrote: >Hans Reiser <[EMAIL PROTECTED]> wrote: > > >>Stefan Smietanowski wrote: >> >> >>>I think "..." and ".meta" both serve as a logical delimiter. However >>>some programs implement their own "..." which would make it clash with >>>them. Naturally if some program created

Re: reiser4 plugins

2005-07-11 Thread Stefan Traby
On Mon, Jul 11, 2005 at 10:33:24PM -0400, Horst von Brand wrote: > Hans Reiser <[EMAIL PROTECTED]> wrote: > > I chose '' (four dots) because it clashes with less, not three dots. > > Is this some kind of "My dots are more than yours" contest?! > > /None/ of them is safe. ".meta", "...",

Re: reiser4 plugins

2005-07-11 Thread Horst von Brand
David Masover <[EMAIL PROTECTED]> wrote: [...] > Both camps seem to want to allow easy access to the metadata of a > file, whether we're given that file as an inode or as a pathname. > That's why I suggested /meta/vfs and /meta/inode -- sometimes I want > to look up a file by name, and sometimes

Re: reiser4 plugins

2005-07-11 Thread Horst von Brand
Hans Reiser <[EMAIL PROTECTED]> wrote: > Stefan Smietanowski wrote: > > I think "..." and ".meta" both serve as a logical delimiter. However > > some programs implement their own "..." which would make it clash with > > them. Naturally if some program created a directory called .meta we're > >

Re: reiser4 plugins

2005-07-11 Thread David Masover
Stefan Smietanowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still haven't heard much discussion of metafs vs file-as-directory, but it seems like it'd be easier in metafs. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo

Re: reiser4 plugins

2005-07-11 Thread Hubert Chan
On Sun, 10 Jul 2005 02:00:49 +0200, Stefan Smietanowski <[EMAIL PROTECTED]> said: > So basically if I write a program that works in both Gnome and KDE I > should (according to your description) implement my own VFS that will > use the Gnome or KDE VFS that will then use the OS VFS. Either that,

Re: reiser4 plugins

2005-07-11 Thread Hans Reiser
Stefan Smietanowski wrote: > > I think "..." and ".meta" both serve as a logical delimiter. However > some programs implement their own "..." which would make it clash with > them. Naturally if some program created a directory called .meta we're > equally screwed. I chose '' (four dots)

Re: reiser4 plugins

2005-07-11 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. >> Why not implement it inside the directory containg the file ? >> >> Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo >> >> This should be suit both camps I'd think? > > You still need to figure out the parent of "foo", which

Re: reiser4 plugins

2005-07-11 Thread Jaroslav Soltys
> So basically if I write a program that works in both Gnome and KDE > I should (according to your description) implement my own VFS that > will use the Gnome or KDE VFS that will then use the OS VFS. > > Is it only me finding that a little silly? Maybe. Advantages of kde/gnome/other userland

Re: reiser4 plugins

2005-07-11 Thread Jaroslav Soltys
So basically if I write a program that works in both Gnome and KDE I should (according to your description) implement my own VFS that will use the Gnome or KDE VFS that will then use the OS VFS. Is it only me finding that a little silly? Maybe. Advantages of kde/gnome/other userland vfs ?

Re: reiser4 plugins

2005-07-11 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo This should be suit both camps I'd think? You still need to figure out the parent of foo, which isn't

Re: reiser4 plugins

2005-07-11 Thread Hans Reiser
Stefan Smietanowski wrote: I think ... and .meta both serve as a logical delimiter. However some programs implement their own ... which would make it clash with them. Naturally if some program created a directory called .meta we're equally screwed. I chose '' (four dots) because it

Re: reiser4 plugins

2005-07-11 Thread Hubert Chan
On Sun, 10 Jul 2005 02:00:49 +0200, Stefan Smietanowski [EMAIL PROTECTED] said: So basically if I write a program that works in both Gnome and KDE I should (according to your description) implement my own VFS that will use the Gnome or KDE VFS that will then use the OS VFS. Either that, or

Re: reiser4 plugins

2005-07-11 Thread David Masover
Stefan Smietanowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still haven't heard much discussion of metafs vs file-as-directory, but it seems like it'd be easier in metafs. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo

Re: reiser4 plugins

2005-07-11 Thread Horst von Brand
Hans Reiser [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: I think ... and .meta both serve as a logical delimiter. However some programs implement their own ... which would make it clash with them. Naturally if some program created a directory called .meta we're equally screwed. I

Re: reiser4 plugins

2005-07-11 Thread Horst von Brand
David Masover [EMAIL PROTECTED] wrote: [...] Both camps seem to want to allow easy access to the metadata of a file, whether we're given that file as an inode or as a pathname. That's why I suggested /meta/vfs and /meta/inode -- sometimes I want to look up a file by name, and sometimes by

Re: reiser4 plugins

2005-07-11 Thread Stefan Traby
On Mon, Jul 11, 2005 at 10:33:24PM -0400, Horst von Brand wrote: Hans Reiser [EMAIL PROTECTED] wrote: I chose '' (four dots) because it clashes with less, not three dots. Is this some kind of My dots are more than yours contest?! /None/ of them is safe. .meta, ..., ,

Re: reiser4 plugins

2005-07-11 Thread Hans Reiser
Horst von Brand wrote: Hans Reiser [EMAIL PROTECTED] wrote: Stefan Smietanowski wrote: I think ... and .meta both serve as a logical delimiter. However some programs implement their own ... which would make it clash with them. Naturally if some program created a directory called .meta

Re: reiser4 plugins

2005-07-10 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Ok, still haven't heard much discussion of metafs vs file-as-directory, > but it seems like it'd be easier in metafs. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo

Re: reiser4 plugins

2005-07-10 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hubert Chan wrote: > On Thu, 30 Jun 2005 15:52:25 -0400, Horst von Brand <[EMAIL PROTECTED]> said: > > >>>This doesn't even invalidate the userland VFSs of the other guys, >>>they're still needed for systems whose kernels don't have a metadata

Re: reiser4 plugins

2005-07-10 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hubert Chan wrote: On Thu, 30 Jun 2005 15:52:25 -0400, Horst von Brand [EMAIL PROTECTED] said: This doesn't even invalidate the userland VFSs of the other guys, they're still needed for systems whose kernels don't have a metadata facility. So

Re: reiser4 plugins

2005-07-10 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, still haven't heard much discussion of metafs vs file-as-directory, but it seems like it'd be easier in metafs. Why not implement it inside the directory containg the file ? Ie the metadata for /home/stesmi/foo is in /home/stesmi/.meta/foo

Re: reiser4 plugins

2005-07-08 Thread Hubert Chan
Did you mean to reply to the list? I'm taking the liberty of sending my reply to the list. On 2005-07-06 17:50:07 -0400 Horst von Brand <[EMAIL PROTECTED]> wrote: Hubert Chan <[EMAIL PROTECTED]> wrote: On Wed, 06 Jul 2005 16:33:23 -0400, Horst von Brand <[EMAIL PROTECTED]> said: Hubert

Re: reiser4 plugins

2005-07-08 Thread David Masover
Hubert Chan wrote: On Wed, 06 Jul 2005 23:42:50 -0700, Hans Reiser <[EMAIL PROTECTED]> said: Oh no, don't store the whole path, store just the parent list. This will make fsck more robust in the event that the directory gets clobbered by hardware error. I don't think it affects the cost

Re: reiser4 plugins

2005-07-08 Thread Hubert Chan
On Wed, 06 Jul 2005 23:42:50 -0700, Hans Reiser <[EMAIL PROTECTED]> said: > Oh no, don't store the whole path, store just the parent list. This > will make fsck more robust in the event that the directory gets > clobbered by hardware error. > I don't think it affects the cost of detecting

Re: reiser4 plugins

2005-07-08 Thread Hubert Chan
On Wed, 06 Jul 2005 23:42:50 -0700, Hans Reiser [EMAIL PROTECTED] said: Oh no, don't store the whole path, store just the parent list. This will make fsck more robust in the event that the directory gets clobbered by hardware error. I don't think it affects the cost of detecting cycles

Re: reiser4 plugins

2005-07-08 Thread David Masover
Hubert Chan wrote: On Wed, 06 Jul 2005 23:42:50 -0700, Hans Reiser [EMAIL PROTECTED] said: Oh no, don't store the whole path, store just the parent list. This will make fsck more robust in the event that the directory gets clobbered by hardware error. I don't think it affects the cost of

Re: reiser4 plugins

2005-07-08 Thread Hubert Chan
Did you mean to reply to the list? I'm taking the liberty of sending my reply to the list. On 2005-07-06 17:50:07 -0400 Horst von Brand [EMAIL PROTECTED] wrote: Hubert Chan [EMAIL PROTECTED] wrote: On Wed, 06 Jul 2005 16:33:23 -0400, Horst von Brand [EMAIL PROTECTED] said: Hubert Chan

Re: reiser4 plugins

2005-07-07 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, David Masover <[EMAIL PROTECTED]> wrote: >Markus Törnqvist wrote: >> Anyway, I don't really like the metafs thing. >> >> To access the data, you still need to refactor userspace, >> so that's not a real advantage. Doing lookups from /meta >> all the time, instead

Re: reiser4 plugins

2005-07-07 Thread David Masover
Markus Törnqvist wrote: On Fri, Jul 01, 2005 at 05:54:46PM +0200, David Weinehall wrote: Which would neither need VFS changes nor be dependent on Reiser4 in any way, so I don't see why this thread lives on. Just get down to business and implement this metafs =) I've been gone for a while

Re: reiser4 plugins

2005-07-07 Thread Markus Törnqvist
On Fri, Jul 01, 2005 at 05:54:46PM +0200, David Weinehall wrote: > >Which would neither need VFS changes nor be dependent on Reiser4 in >any way, so I don't see why this thread lives on. Just get down to >business and implement this metafs =) I've been gone for a while and suddenly drowning in

Re: reiser4 plugins

2005-07-07 Thread Hans Reiser
Jonathan Briggs wrote: >On Tue, 2005-07-05 at 23:44 -0700, Hans Reiser wrote: > > >>Hubert Chan wrote: >> >> >>>And a question: is it feasible to store, for each inode, its parent(s), >>>instead of just the hard link count? >>> >>> >>> >>> >>Ooh, now that is an interesting old idea I

Re: reiser4 plugins

2005-07-07 Thread Hans Reiser
Horst von Brand wrote: >Hans Reiser <[EMAIL PROTECTED]> wrote: > >[...] > > > >>I think the exokernel approach by Frans is a very interesting approach. >>I wish I had the experience with it necessary to know if it was >>effective. I do NOT take the position that name resolution should be in

Re: reiser4 plugins

2005-07-07 Thread Rudy Zijlstra
Doug Wicks wrote: How do I get off the mail list here? [EMAIL PROTECTED] See www.namesys.com, click on "Join Mail List" then in "Unsubscribe Mailinglist" and follow instructions. Very difficult, i know. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: reiser4 plugins

2005-07-07 Thread Rudy Zijlstra
Doug Wicks wrote: How do I get off the mail list here? [EMAIL PROTECTED] See www.namesys.com, click on Join Mail List then in Unsubscribe Mailinglist and follow instructions. Very difficult, i know. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: reiser4 plugins

2005-07-07 Thread Hans Reiser
Horst von Brand wrote: Hans Reiser [EMAIL PROTECTED] wrote: [...] I think the exokernel approach by Frans is a very interesting approach. I wish I had the experience with it necessary to know if it was effective. I do NOT take the position that name resolution should be in the kernel. I

Re: reiser4 plugins

2005-07-07 Thread Hans Reiser
Jonathan Briggs wrote: On Tue, 2005-07-05 at 23:44 -0700, Hans Reiser wrote: Hubert Chan wrote: And a question: is it feasible to store, for each inode, its parent(s), instead of just the hard link count? Ooh, now that is an interesting old idea I haven't considered in 20

Re: reiser4 plugins

2005-07-07 Thread Markus Törnqvist
On Fri, Jul 01, 2005 at 05:54:46PM +0200, David Weinehall wrote: Which would neither need VFS changes nor be dependent on Reiser4 in any way, so I don't see why this thread lives on. Just get down to business and implement this metafs =) I've been gone for a while and suddenly drowning in

Re: reiser4 plugins

2005-07-07 Thread David Masover
Markus Törnqvist wrote: On Fri, Jul 01, 2005 at 05:54:46PM +0200, David Weinehall wrote: Which would neither need VFS changes nor be dependent on Reiser4 in any way, so I don't see why this thread lives on. Just get down to business and implement this metafs =) I've been gone for a while

Re: reiser4 plugins

2005-07-07 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], David Masover [EMAIL PROTECTED] wrote: Markus Törnqvist wrote: Anyway, I don't really like the metafs thing. To access the data, you still need to refactor userspace, so that's not a real advantage. Doing lookups from /meta all the time, instead of in the

Re: reiser4 plugins

2005-07-06 Thread Adrian Ulrich
> mount --bind /meta/vfs/some/chroot /some/chroot/meta This maybe funny if you got 1-2 chrooted applications. But it will be a nightmare if you got 20-30 chrooted applications. -- We're working on it, slowly but surely...or not-so-surely in the spots we're not so sure... -- Larry Wall - To

Re: reiser4 plugins

2005-07-06 Thread Nate Diller
Neil Brown wrote: On Tuesday July 5, [EMAIL PROTECTED] wrote: I got it slightly wrong. One can have hardlinks to a directory without cycles provided that one does not have hardlinks from the children of that directory to any file not a child of that directory. (Mountpoints currently

Re: reiser4 plugins

2005-07-06 Thread Jan Harkes
On Wed, Jul 06, 2005 at 09:33:13PM -0500, David Masover wrote: > And speaking of which, the only doomsday scenario (running out of RAM) > that I can think of with this scheme is if we have a ton of hardlinks to > the same file and we try to move one of them. But this scales linearly > with the

Re: reiser4 plugins

2005-07-06 Thread Jim Crilly
inux-kernel@vger.kernel.org; reiserfs-list@namesys.com; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: reiser4 plugins > > David Masover wrote: > > > So, will the format change happen at mount time? Will it need a > > specia

Re: reiser4 plugins

2005-07-06 Thread David Masover
Hubert Chan wrote: On Wed, 06 Jul 2005 16:33:23 -0400, Horst von Brand <[EMAIL PROTECTED]> said: Hubert Chan <[EMAIL PROTECTED]> wrote: If you can store the parents, then finding cycles (relatively) quickly is pretty easy: before you try to make A the parent of B, walk up the parent

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
David Masover wrote: > And, once we start talking about applications, /meta will be more > readily supported (as in, some apps will go through a pathname and > stop when they get to a file, and then there's tar). On apps which > don't have direct support for /meta, you'd be navigating to the

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
Hans Reiser <[EMAIL PROTECTED]> wrote: [...] > I think the exokernel approach by Frans is a very interesting approach. > I wish I had the experience with it necessary to know if it was > effective. I do NOT take the position that name resolution should be in > the kernel. I DO take the

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
Nate Diller wrote: > > > as an example, if a program were to store some things it needs access > to in its executable's attributes, it should have the option of > keeping a hard reference to something, so that it can't be deleted out > from underneath. this enables sane sharing of resources

RE: reiser4 plugins

2005-07-06 Thread Doug Wicks
PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; reiserfs-list@namesys.com; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: reiser4 plugins David Masover wrote: >

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
David Masover wrote: > So, will the format change happen at mount time? Will it need a > special mount flag? Will I need to use debugfs or some other offline > tool? First we make sure we have the right answer. Have we solved the cycle problem? Can we run out of memory as Horst/Nikita

Re: reiser4 plugins

2005-07-06 Thread Jonathan Briggs
On Tue, 2005-07-05 at 23:44 -0700, Hans Reiser wrote: > Hubert Chan wrote: > >And a question: is it feasible to store, for each inode, its parent(s), > >instead of just the hard link count? > > > > > Ooh, now that is an interesting old idea I haven't considered in 20 > years makes fsck more

Re: reiser4 plugins

2005-07-06 Thread Hubert Chan
On Wed, 06 Jul 2005 16:33:23 -0400, Horst von Brand <[EMAIL PROTECTED]> said: > Hubert Chan <[EMAIL PROTECTED]> wrote: >> If you can store the parents, then finding cycles (relatively) >> quickly is pretty easy: before you try to make A the parent of B, >> walk up the parent pointers starting

Re: reiser4 plugins

2005-07-06 Thread David Masover
Jonathan Briggs wrote: On Wed, 2005-07-06 at 15:51 -0400, Hubert Chan wrote: On Wed, 06 Jul 2005 12:52:23 -0600, Jonathan Briggs <[EMAIL PROTECTED]> said: [snip] It still has the performance and locking problem of having to update every child file when moving a directory tree to a new

Re: reiser4 plugins

2005-07-06 Thread Hubert Chan
On Wed, 06 Jul 2005 14:33:18 -0600, Jonathan Briggs <[EMAIL PROTECTED]> said: > On Wed, 2005-07-06 at 15:51 -0400, Hubert Chan wrote: >> On Wed, 06 Jul 2005 12:52:23 -0600, Jonathan Briggs >> <[EMAIL PROTECTED]> said: > [snip] >>> It still has the performance and locking problem of having to >>>

Re: reiser4 plugins

2005-07-06 Thread David Masover
Hans Reiser wrote: David Masover wrote: And, once we start talking about applications, /meta will be more readily supported (as in, some apps will go through a pathname and stop when they get to a file, and then there's tar). On apps which don't have direct support for /meta, you'd be

Re: reiser4 plugins

2005-07-06 Thread Hubert Chan
On Wed, 06 Jul 2005 12:52:23 -0600, Jonathan Briggs <[EMAIL PROTECTED]> said: > On Tue, 2005-07-05 at 23:44 -0700, Hans Reiser wrote: >> Hubert Chan wrote: >>> And a question: is it feasible to store, for each >>> inode, its parent(s), instead of just the hard link count? >> Ooh, now that is an

Re: reiser4 plugins

2005-07-06 Thread Jonathan Briggs
On Wed, 2005-07-06 at 15:51 -0400, Hubert Chan wrote: > On Wed, 06 Jul 2005 12:52:23 -0600, Jonathan Briggs <[EMAIL PROTECTED]> said: [snip] > > It still has the performance and locking problem of having to update > > every child file when moving a directory tree to a new parent. On the > > other

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
Hubert Chan <[EMAIL PROTECTED]> wrote: > On Wed, 06 Jul 2005 12:52:23 -0600, Jonathan Briggs <[EMAIL PROTECTED]> said: > > On Tue, 2005-07-05 at 23:44 -0700, Hans Reiser wrote: > >> Hubert Chan wrote: > >>> And a question: is it feasible to store, for each > >>> inode, its parent(s), instead of

Re: reiser4 plugins

2005-07-06 Thread Hubert Chan
On Tue, 05 Jul 2005 22:51:07 -0400, Horst von Brand <[EMAIL PROTECTED]> said: > Hubert Chan <[EMAIL PROTECTED]> wrote: >> On Fri, 01 Jul 2005 03:41:00 -0400, Chet Hosey <[EMAIL PROTECTED]> >> said: >> > Horst von Brand wrote: >> >> And who says that a normal user isn't allowed to annotate each

Re: reiser4 plugins

2005-07-06 Thread David Masover
Adrian Ulrich wrote: so all we have left is the issue of whether using /meta costs us performance, or whether breaking POSIX to add a symlink (such as foo/...) really gives us that much more usability. IMHO '/meta' isn't such a good idea, because a chrooted application won't be able to use

Re: reiser4 plugins

2005-07-06 Thread David Masover
Hans Reiser wrote: If we also add to this the restriction that once you create the file part of a file-directory, you can never hardlink to a child of it, it should then all work, yes? So, /filename//owner should be able to avoid colliding with any common names by virtue of the '', and

Re: reiser4 plugins

2005-07-06 Thread Adrian Ulrich
> so all we have left is the issue of whether using /meta costs us > performance, or whether breaking POSIX to add a symlink (such as > foo/...) really gives us that much more usability. IMHO '/meta' isn't such a good idea, because a chrooted application won't be able to use it. - To

Re: reiser4 plugins

2005-07-06 Thread David Masover
Horst von Brand wrote: Hubert Chan <[EMAIL PROTECTED]> wrote: On Fri, 01 Jul 2005 03:41:00 -0400, Chet Hosey <[EMAIL PROTECTED]> said: Horst von Brand wrote: And who says that a normal user isn't allowed to annotate each and every file with its purpose or something else? Explain how

Re: reiser4 plugins

2005-07-06 Thread David Masover
Horst von Brand wrote: David Masover <[EMAIL PROTECTED]> wrote: [...] Just don't allow user-created hardlinks inside either metafs (/meta) or the magical meta directory inside files. And what is it useful for, after its advantage was that it was /exactly/ like regular files , and now it

Re: reiser4 plugins

2005-07-06 Thread David Masover
Hans Reiser wrote: Hubert Chan wrote: On Tue, 05 Jul 2005 20:50:08 -0400 EDT, "Alexander G. M. Smith" <[EMAIL PROTECTED]> said: That sounds equivalent to no hard links (other than the usual parent directory one). If there's any directory with two links to it, then there will be a cycle

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
David Masover <[EMAIL PROTECTED]> wrote: [...] > Just don't allow user-created hardlinks inside either metafs (/meta) or > the magical meta directory inside files. And what is it useful for, after its advantage was that it was /exactly/ like regular files , and now it is severely crippled? --

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
Hubert Chan <[EMAIL PROTECTED]> wrote: > On Fri, 01 Jul 2005 03:41:00 -0400, Chet Hosey <[EMAIL PROTECTED]> said: > > Horst von Brand wrote: > >> And who says that a normal user isn't allowed to annotate each and > >> every file with its purpose or something else? > Explain how you currently

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
Martin Waitz wrote: >hoi :) > >On Tue, Jul 05, 2005 at 04:32:00PM -0600, Jonathan Briggs wrote: > > >>You could do filesystems in userspace too and just use the kernel's >>block layer. >> >> > >but you can't do that in an library, you have to use a filesystem >server in order to get access

Re: reiser4 plugins

2005-07-06 Thread Christoph Hellwig
On Tue, Jul 05, 2005 at 06:43:31PM -0400, Jeremy Maitin-Shepard wrote: > > Let's say cryptocompress gets implemented. Not all of userland > > rewritten, not even any of userland rewritten, just a cryptocompress > > plugin for the kernel. And instead of having to learn a new tool, I can > > just

Re: reiser4 plugins

2005-07-06 Thread Martin Waitz
hoi :) On Tue, Jul 05, 2005 at 04:32:00PM -0600, Jonathan Briggs wrote: > You could do filesystems in userspace too and just use the kernel's > block layer. but you can't do that in an library, you have to use a filesystem server in order to get access control. But you can build a library that

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
Hubert Chan wrote: >On Tue, 05 Jul 2005 20:50:08 -0400 EDT, "Alexander G. M. Smith" <[EMAIL >PROTECTED]> said: > > > >>That sounds equivalent to no hard links (other than the usual parent >>directory one). If there's any directory with two links to it, then >>there will be a cycle somewhere!

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
Hubert Chan wrote: On Tue, 05 Jul 2005 20:50:08 -0400 EDT, Alexander G. M. Smith [EMAIL PROTECTED] said: That sounds equivalent to no hard links (other than the usual parent directory one). If there's any directory with two links to it, then there will be a cycle somewhere! What we

Re: reiser4 plugins

2005-07-06 Thread Martin Waitz
hoi :) On Tue, Jul 05, 2005 at 04:32:00PM -0600, Jonathan Briggs wrote: You could do filesystems in userspace too and just use the kernel's block layer. but you can't do that in an library, you have to use a filesystem server in order to get access control. But you can build a library that

Re: reiser4 plugins

2005-07-06 Thread Christoph Hellwig
On Tue, Jul 05, 2005 at 06:43:31PM -0400, Jeremy Maitin-Shepard wrote: Let's say cryptocompress gets implemented. Not all of userland rewritten, not even any of userland rewritten, just a cryptocompress plugin for the kernel. And instead of having to learn a new tool, I can just browse

Re: reiser4 plugins

2005-07-06 Thread Hans Reiser
Martin Waitz wrote: hoi :) On Tue, Jul 05, 2005 at 04:32:00PM -0600, Jonathan Briggs wrote: You could do filesystems in userspace too and just use the kernel's block layer. but you can't do that in an library, you have to use a filesystem server in order to get access control. But you

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
Hubert Chan [EMAIL PROTECTED] wrote: On Fri, 01 Jul 2005 03:41:00 -0400, Chet Hosey [EMAIL PROTECTED] said: Horst von Brand wrote: And who says that a normal user isn't allowed to annotate each and every file with its purpose or something else? Explain how you currently allow users to

Re: reiser4 plugins

2005-07-06 Thread Horst von Brand
David Masover [EMAIL PROTECTED] wrote: [...] Just don't allow user-created hardlinks inside either metafs (/meta) or the magical meta directory inside files. And what is it useful for, after its advantage was that it was /exactly/ like regular files c, and now it is severely crippled? -- Dr.

Re: reiser4 plugins

2005-07-06 Thread David Masover
Hans Reiser wrote: Hubert Chan wrote: On Tue, 05 Jul 2005 20:50:08 -0400 EDT, Alexander G. M. Smith [EMAIL PROTECTED] said: That sounds equivalent to no hard links (other than the usual parent directory one). If there's any directory with two links to it, then there will be a cycle

Re: reiser4 plugins

2005-07-06 Thread David Masover
Horst von Brand wrote: David Masover [EMAIL PROTECTED] wrote: [...] Just don't allow user-created hardlinks inside either metafs (/meta) or the magical meta directory inside files. And what is it useful for, after its advantage was that it was /exactly/ like regular files c, and now it is

Re: reiser4 plugins

2005-07-06 Thread David Masover
Horst von Brand wrote: Hubert Chan [EMAIL PROTECTED] wrote: On Fri, 01 Jul 2005 03:41:00 -0400, Chet Hosey [EMAIL PROTECTED] said: Horst von Brand wrote: And who says that a normal user isn't allowed to annotate each and every file with its purpose or something else? Explain how you

  1   2   >