lkml.org 
[lkml]   [1999]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: I discussed reading directories as files with jra, Stallman, and loic


On Sun, 20 Jun 1999, Alexander Viro wrote:
>
> Huh? You mean that the right case here being *not* the regular symlink?

No, the normal case being _nothing_. Neither symlink nor other wormhole.

> Up to you. But IMO you are mixing two seriously different objects
> together and the cost is pretty high.

Why?

They are NOT different.

They are only different because you _think_ they are different. Get over
your hangups with old implementations of symlinks, and you will notice
that it's _exactly_ the same issue as with any other "magic wormhole".

I agree about code duplication, but if that's your concern then you should
just create a "generic_file_symlink()", the same way we condense the
common code for "generic_file_read()" and "generic_file_write()". That has
nothing to do with whether it is recursive or not.

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.093 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site