All of lore.kernel.org
 help / color / mirror / Atom feed
* Enabling files as directories?
@ 2003-08-15  1:46 Grant Miner
  2003-08-15 14:17 ` Yury Umanets
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Miner @ 2003-08-15  1:46 UTC (permalink / raw)
  To: reiserfs-list

I am wondering how can I enable files as directories behavior.  For example:
touch a; chmod a+x a
cd a
touch b -> error, not a directory

Thanks,
Grant


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

* Re: Enabling files as directories?
  2003-08-15  1:46 Enabling files as directories? Grant Miner
@ 2003-08-15 14:17 ` Yury Umanets
  2003-08-15 14:32   ` Nikita Danilov
  0 siblings, 1 reply; 3+ messages in thread
From: Yury Umanets @ 2003-08-15 14:17 UTC (permalink / raw)
  To: Grant Miner; +Cc: reiserfs-list

On Fri, 2003-08-15 at 05:46, Grant Miner wrote:
> I am wondering how can I enable files as directories behavior.  For example:
> touch a; chmod a+x a
> cd a
> touch b -> error, not a directory
> 
> Thanks,
> Grant

linux kernel 2.4.x does not allow this. At least sys_fchdir() does not
allow this. linux-2.6.x does.


-- 
We're flying high, we're watching the world passes by...


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

* Re: Enabling files as directories?
  2003-08-15 14:17 ` Yury Umanets
@ 2003-08-15 14:32   ` Nikita Danilov
  0 siblings, 0 replies; 3+ messages in thread
From: Nikita Danilov @ 2003-08-15 14:32 UTC (permalink / raw)
  To: Grant Miner; +Cc: Yury Umanets, reiserfs-list

Yury Umanets writes:
 > On Fri, 2003-08-15 at 05:46, Grant Miner wrote:
 > > I am wondering how can I enable files as directories behavior.  For example:
 > > touch a; chmod a+x a
 > > cd a
 > > touch b -> error, not a directory
 > > 
 > > Thanks,
 > > Grant
 > 
 > linux kernel 2.4.x does not allow this. At least sys_fchdir() does not
 > allow this. linux-2.6.x does.
 > 

Err. Wait. Grant, you are talking about reiser4, right?

In reiser4 you cannot use plain regular files "as directories" that is,
create files within them. Set of files living within regular file is
predetermined. Take a look at http://namesys.com/v4/pseudo.html. We are,
however, planning having special type (plugin in reiser4 parlance) of
file that is both file and directory. But it is not yet implemented.

By the way, thanks again for benchmarks. I added them to the
http://www.namesys.com/benchmarks/v4marks.html.

 > 
 > -- 
 > We're flying high, we're watching the world passes by...
 > 

Nikita.

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

end of thread, other threads:[~2003-08-15 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15  1:46 Enabling files as directories? Grant Miner
2003-08-15 14:17 ` Yury Umanets
2003-08-15 14:32   ` Nikita Danilov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.