On Thursday, February 01, 2001, Maxime Henrion wrote:
> I run a 4.2-STABLE machine, world done this morning. I had some troubles with
> fdescfs. Reading the fdesc(5) manual page, I have to mount the fdescfs like I
> would mount procfs. But if I compile my kernel with options FDESC or if I load
> the fdesc.ko kernel module, I have access to /dev/fd/* and /dev/std* without
> mounting anything. Outdated documentation ?
> 
> The real problem comes when I actually try to mount fdescfs. I was able to mount
> it several times on the same place (/dev) and 'mount' reported fdescfs as
> mounted several times. Just after this, my box locked up. I was able to switch
> to another virtual tty with alt+Fx but wasn't able to type anything nor to
> reboot with ctrl+alt+suppr.

   I've done some work on fdescfs in -CURRENT a while back that
gutted a lot of the old code, including what may have been
making your shell have difficulties with /dev/tty.  The proper
way to do it is to union mount it on /dev.

   I have no idea as to what extent of testing my code has
received, so I'm rather reluctant to commit it to -STABLE.
There's nothing really wrong with the /dev/fd and /dev/tty you
have without fdesc as far as you or your programs are concerned,
but the implementation (as opposed to interface) is a bit of a
hack.

-- 
+-------------------+---------------------------------------------------+
| Chris Costello    | CCITT - Can't Conceive Intelligent Thoughts Today |
| [EMAIL PROTECTED] |                                                   |
+-------------------+---------------------------------------------------+


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to