Subject: Re: read on dirs
To: None <wojtek@wojtek.from.pl>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-users
Date: 03/11/2001 22:54:46
In message <Pine.NEB.4.21.0103111445010.966-100000@wojtek.from.pl>
	on Sun, 11 Mar 2001 14:46:45 +0100 (CET),
	<wojtek@wojtek.from.pl> wrote:
> > NetBSD's behavior is traditional UNIX's one.  But on none traditional
> > file system; NFS, you can't read directory.
> 
> thank you. what this feature/traditional behavior could be used for?
Before invention of getdents(2), readdir(3) like function was really
read directory as file.

> i've viewed this "file" and see filenames from that dir and some binary
> data (inode numbers??)
See dir(5).

--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>