Subject: Re: Addition to force open to open only regular files
To: Bill Studenmund <>
From: Jaromír Dolecek <>
List: tech-kern
Date: 11/10/2000 20:40:27
Bill Studenmund wrote:
> So here are patches which add a new open flag, O_REG_FILE, and add a test
> to the kernel after we've done the name lookup but before we've done the
> VOP_OPEN() to make sure we really got a regular file.

Wouldn't EFTYPE be better than EOPNOTSUPP ?

Jaromir Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@