From: Baruch Siach Date: Thu, 27 Nov 2014 12:15:00 +0200 Subject: [Buildroot] [PATCH] system/device_table.txt: add /dev/null entry In-Reply-To: <87bnntow3h.fsf@dell.be.48ers.dk> References: <0a2f80f7ceb3272bf534f85fbf5030df36cae191.1417070676.git.baruch@tkos.co.il> <87fvd5oz47.fsf@dell.be.48ers.dk> <20141127081201.GQ2374@sapphire.tkos.co.il> <87bnntow3h.fsf@dell.be.48ers.dk> Message-ID: <20141127101500.GR2374@sapphire.tkos.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Peter, On Thu, Nov 27, 2014 at 10:01:54AM +0100, Peter Korsgaard wrote: > >>>>> "Baruch" == Baruch Siach writes: > >> > can't open /dev/null: No such file or directory > >> > can't open /dev/null: No such file or directory > >> > can't open /dev/null: No such file or directory > >> > can't open /dev/null: No such file or directory > >> > can't open /dev/null: No such file or directory > >> > can't open /dev/null: No such file or directory > >> > ... > >> > >> Hmm, is this on a kernel without devtmpfs? Devtmpfs is expected to be > >> used with mdev (and we automatically enable it if you build a kernel > >> with BR). > > > I am currently using a kernel built with no devtmpfs support. Don't > > we support mdev without devtmpfs anymore? Once I added /dev/null the > > system seems to boot successfully as is, with /dev fully populated. > > Well, it presumably doesn't get a lot of testing atleast as none of this > stuff afaik has changed the last few years. > > Is there any specific reason why you don't use devtmpfs? It's quite > small and has been in the kernel since 2.6.32. I have just started with a precompiled kernel image that I got with this evaluation board to see how far I can get. Eventually I plan to rebuild everything and also enable devtmpfs. > With that said, if just adding /dev/null fixes it for you then we can > certainly add it. What about similar things like /dev/console, /dev/tty > or your serial port? /dev/console is already in the rootfs.tar image, I'm not sure whare it comes from. All other device nodes are later generated by mdev. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -