Gentoo Archives: gentoo-dev

From: c.wegener@××××××××.de
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] limiting the number of virtual consoles in user mode linux
Date: Wed, 09 Jul 2003 09:54:13
Message-Id: 20030709095410.GA1975@pbook.polysynx.foo
In Reply to: [gentoo-dev] limiting the number of virtual consoles in user mode linux by Anupam Kapoor
1 On Wed, Jul 09, 2003 at 12:43:34PM -0700, Anupam Kapoor wrote:
2 > hi all,
3 >
4 > is it possible to limit the number of virtual consoles that are spawned
5 > when a user mode linux kernel boots ? right now, i have 8 virtual
6 > consoles (vc0-vc7) launched when i boot a gentoo uml kernel.
7
8 try to redirect the uml consoles to pty devices. that way you wont get
9 any xterms cluttering your screen.
10
11 ./linux root=root_fs con=pty con0=xterm
12
13 >
14 > i have tried the following without any success:
15 > - comment out relevant lines from /etc/inittab. this does not
16 > suppress the number of virtual consoles being launched. however, i
17 > get the login prompt on only 1 virtual console.
18
19 that way it actually should work.
20
21 >
22 > - look for something 'obvious' in scripts in /sbin but i cannot find
23 > anything that might be the culprit.
24 >
25 > - i have tried passing con=tty:/dev/pts/XXX.
26 >
27 > - tried using deallocvt (as suggested by andrew farmer on gentoo-user),
28 > but it doesn't help.
29 >
30 > can you please suggest a place that i can configure this.
31 >
32 > also, i tried booting a debian uml kernel and rootfs on a gentoo host
33 > (with appropriate lines commented from /etc/inittab), i get only 1
34 > virtual console. which is _exactly_ what i want.
35
36 maybe it has something to do with devfs.
37
38 >
39 > any help will be greatly appreciated.
40 >
41 > thank you
42 > kind regards
43 > anupam
44 >
45
46 christoph
47 --
48 ^*^
49
50 --
51 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] limiting the number of virtual consoles in user mode linux Anupam Kapoor <anupamk@×××××××××.net>