Subject: Re: Filesystems that don't support devices
To: Gavan Fantom <gavan@coolfactor.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-kern
Date: 12/20/2001 08:23:28
In some email I received from Gavan Fantom, sie wrote:
> On Wed, 19 Dec 2001, der Mouse wrote:
> 
> > >         /* If we have devices, we cannot be on msdosfs */
> > >         if (access(_PATH_CONSOLE, F_OK) != -1)
> > >                 return;
> >
> > Um, shouldn't that check that _PATH_CONSOLE is actually a device?
> 
> I don't know.
> 
> Is it valid for /dev/console to be a symlink, or even a regular file?

On Solaris, the entire /dev/* is symlinks.