screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen in a chroot


From: Fredrik Tolf
Subject: Re: Screen in a chroot
Date: Tue, 26 Apr 2005 21:31:16 +0200

On Tue, 2005-04-26 at 14:25 +0100, Recoil wrote:
> Hi again
> 
> Thanks for the replies guys.
> 
> I have created the /dev/null and /dev/ptmx nodes, but /dev/pts are created 
> when needed by the system.
> 
> I know this is going a bit off track, as far as its a screen-users mailing 
> list, but anyway.
> 
> Anyone got any idea how I can accomplish this in a chroot?

Indeed, that's certainly possible, although how depends on the operating
system you're using. Judging from your original message, with the "mount
-o bind", I'm assuming it would be GNU/Linux.

The Linux kernel uses a pseudo-filesystem called "devpts" for
the /dev/pts directory. There is absolutely nothing that prevents you
from mounting this filesystem on more than one directory. In other
words:
mount -t devpts none /chroot/dev/pts
That should do the trick.

HTH,
Fredrik Tolf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]