Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] system/device_table.txt: add /dev/null entry
Date: Thu, 27 Nov 2014 12:35:03 +0200	[thread overview]
Message-ID: <20141127103503.GS2374@sapphire.tkos.co.il> (raw)
In-Reply-To: <877fyhos9l.fsf@dell.be.48ers.dk>

Hi Peter,

On Thu, Nov 27, 2014 at 11:24:38AM +0100, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
>  >> 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.
> 
> The only thing that comes to mind is that you are creating a cpio:
> 
> fs/cpio/cpio.mk:PACKAGES_PERMISSIONS_TABLE += /dev/console c 622 0 0 5 1 - - -$(sep)

You are right that I was creating a cpio, but apparently that's not the cause. 
Disabling the cpio image followed by 'make clean; make' didn't remove 
/dev/console. The code at fs/cpio/cpio.mk indicates that the above line always 
takes effect when !BR2_ROOTFS_DEVICE_CREATION_STATIC regardless of 
BR2_TARGET_ROOTFS_CPIO.

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 -

  reply	other threads:[~2014-11-27 10:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27  6:44 [Buildroot] [PATCH] system/device_table.txt: add /dev/null entry Baruch Siach
2014-11-27  7:56 ` Peter Korsgaard
2014-11-27  8:12   ` Baruch Siach
2014-11-27  9:01     ` Peter Korsgaard
2014-11-27 10:15       ` Baruch Siach
2014-11-27 10:24         ` Peter Korsgaard
2014-11-27 10:35           ` Baruch Siach [this message]
2014-11-27 10:39             ` Peter Korsgaard
2014-11-27 19:37 ` Thomas Petazzoni
2014-11-27 20:14   ` Baruch Siach
2014-11-27 21:57     ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141127103503.GS2374@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox