Subject: Re: read on dirs
To: None <>
From: David Brownlee <>
List: netbsd-users
Date: 03/11/2001 13:24:00
	Directories can only be written with the appropriate syscalls.

		David/absolute		-- No hype required --

On Sun, 11 Mar 2001 wrote:

> could someone explain me the difference between netbsd and linux when
> trying to read directory as file (for example when typing cat <directory>
> by accident).
> linux gives that it's directory not file and refused which i think it's
> normal..
> but with netbsd i CAN read directory as file and got binary output from
> cat!
> what is it used for and what about security issues? could directory be
> written directly too?!