Gentoo Archives: gentoo-dev

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