Subject: Re: devopen() in standalone programs.
To: Simon Burge <simonb@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 11/05/1999 09:55:49
On Fri, 05 Nov 1999 16:52:03 +1100 
 Simon Burge <simonb@netbsd.org> wrote:

 > devopen() takes a string which is the complete filename to open
 > including any device specifications, and returns via a pointer the
 > filename in the filesystem.  It appears that ufs doesn't care
 > whether this remaining filename has a leading '/' or not, but cdfs
 > will not find the file if this is the case.
 > 
 > Is the correct thing for devopen() to remove a leading '/' if it's
 > there or for cdfs to ignore a leading '/'?

The libsa NFS has this bug, too.

I'd say those file systems should be fixed to ignore the leading /, if
necessary.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>