Subject: Re: Filesystems that don't support devices
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Gavan Fantom <>
List: tech-kern
Date: 12/19/2001 20:53:12
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?

I would imagine that if /dev/console is neither absent nor a device then
someone is playing with something funky, and that we should assume that
they know best...

Gillette - the best a man can forget