|
| <prev next> |
Re: Screen in a chroot: msg#00076gnu.screen.user
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [arpi-4+PuYLO5yA7jufZW15ZwLg@xxxxxxxxxxxxxxxx: Fwd: the font corruption problem - and the cause (for developers!)]: 00076, Nikolai Weibull |
|---|---|
| Next by Date: | Re: strange races in screen -D -m `tty`?: 00076, Tomas Juknevicius |
| Previous by Thread: | Re: Screen in a chrooti: 00076, Recoil |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |