lkml.org 
[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: If we cannot change file system semantics, we must concede that Bill Gates is right that Linux cannot innovate (was Re: (reiserfs) File systems are semantically impoverished compared) to databases
Hi!

> open("/etc/", O_RDONLY) then, I don't get your point.

But what do you think ls does when listing directory?

stat("/etc/", {st_mode=0, st_size=0, ...}) = 0
open("/etc/", O_RDONLY|O_NONBLOCK) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
brk(0x8055000) = 0x8055000

And ls would probably be very unhappy if it got some kind of
index.html file instead of listing.

Pavel

> > > With the user library translating that to open("/etc/..body", O_RDWR)

Why is it better than user doing open("/etc..body") directly? Or
open("/etc#body") for that case :-)

--
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

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