[Buildroot] [PATCH 1/1] jffs2: let makedevs create device files
Peter Korsgaard
jacmet at uclibc.org
Sat Jun 5 19:23:51 UTC 2010
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> The common filesystem infrastructure in fs/common.mk uses a smart
Thomas> combination of makedevs and fakeroot to create the device files in the
Thomas> target filesystem images without being root. This technique is applied
Thomas> to all filesystem formats that rely on this common infrastructure, and
Thomas> JFFS2 is one of them.
Thomas> Therefore, using the -D option of mkfs.jffs2, which allows to specify
Thomas> a device table, is redundant with the usage of makedevs. And it is
Thomas> worst than redundant: for some reason, -D does not create all device
Thomas> files with the correct major and minor numbers, as reported in bug
Thomas> For coherence, we just remove the usage of mkfs.jffs2 -D option, and
Thomas> rely on makedevs/fakeroot to create the device files.
Thomas> This commit fixes bug #1771.
Committed, thanks!
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list