From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=E9r=F4me?= Pouiller Date: Thu, 17 Jan 2013 10:57:17 +0100 Subject: [Buildroot] Udev generates too many tty dev nodes In-Reply-To: References: Message-ID: <3906424.A8B2AW86f2@sagittae> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thursday 17 January 2013 01:48:41 Willy Lambert wrote: > Hi all, Hi, > I'm trying to put my /dev folder into order, and I recently switched > from static config to udev. All device are correctly set up exept tty* > that are umerously present (something like 64 nodes). > > _ Does anyone know if it is normal that so many files are generated ? > (or said differently should I wonder about my buildroot outputs) > _ Is there any mean to change that ? > _ Is this only and udev problem or is it linked to buildroot integration ? Udev only create devices declared by kernel. So this setting is somewhere in kernel configuration. > I think it's a quite "common problem" but googling it didn't helped :( > The better answer was that : > http://unix.stackexchange.com/questions/25021/change-the-number-of-generated > -dev-tty-devices but it's a bit hackish... I generate a rootfs from scratch > so I want to manage everything that's happening inside, so in this case I > want to tell it how many device it may/should create. It looks, there is no configuration entry to change this setting. Nevertheless, you can try to change MAX_NR_CONSOLES from linux/vt.h. BR, -- J?r?me Pouiller