lkml.org 
[lkml]   [1998]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: open problem
Date
> Then BSD changed what was in directories (14 character filenames were
> a major bummer), and broke a lot of code that knew what was in
> directories. So now everyone uses opendir() and doesn't worry about
> what is in directories.

If you read the BSD FFS paper it explains how they needed to change the
interface to a kernel defined one to support multiple file system types.
In V7 on a PDP/11 having in user space was very good policy of course.

Some boxes still implement directory scanning with read() but wrap it in
opendir() calls too. Linux wraps getdents() in opendir.

Alan


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