lkml.org 
[lkml]   [1999]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Odd filesystem permission handling


On Fri, 18 Jun 1999, Albert D. Cahalan wrote:

> At one time, there was no mkdir() call. You could use mknod()
> to get one, then add the '.' and '..' entries yourself.
> You could freely hard link and unlink directories. If you go
> back far enough, I think you could chmod() a file into a
> directory. Yep, turn files into directories and back again.

RTFM. Nope, you couldn't. Moreover, mkdir(2) was a separate syscall. Yes,
it didn't create '.' and '..'. That's what mkdir(1) did after calling
mkdir(2).

Albert, the whole set of v1 manpages is available on the
www.cs.bell-labs.com/~dmr, along with pretty interesting texts on early
history. Could you consider *reading* them?

> I suspect that the early developers thought hard links were fun.

So? I quite agree with them. Fun or not, but links are quite useful.
If the thing doesn't fit well into your idea of the world - you know where
to find NT or VMS if you need them.


-
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.070 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site