Re: /dev/pts for UNIX98 PTY

From: H. Peter Anvin (hpa@transmeta.com)
Date: Thu Jun 15 2000 - 18:38:43 EST


Khimenko Victor wrote:
>
> > Make sure you don't have any pty's open at the time you try to
> > shutdown. If you're typing "halt" in an xterm, for example, it may
> > not be able to close the pty.
>
> > It really shouldn't matter anyway. devpts doesn't contain any
> > persistent state.
>
> Hmm. Looks like we need change in util-linux. It knows about proc and will
> not try to unmount it. But now we have devpts, devfs, shmfs (is it all?)
> with the same problem. I'm not sure if we need to add more magic to it,
> though. Perhaps better to add just one "magic" mount option ("noumount" or
> something) and then it'll be problem for distribution creators, not util-linux
> maintainer.
>

I'm not so sure it shouldn't be added to the umount list, but again, it
isn't a big disaster if it doesn't. Perhaps there should be an
/etc/fsoptions or this should be added to /proc.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:36 EST