From: Robert Yang <liezhi.yang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Darren Hart <dvhart@linux.intel.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [RFC PATCH 0/2] Fully support ext3/ext4 rootfs generation
Date: Tue, 5 Mar 2013 16:24:05 +0800 [thread overview]
Message-ID: <5135ABA5.1060803@windriver.com> (raw)
In-Reply-To: <1362406238.29587.28.camel@ted>
On 03/04/2013 10:10 PM, Richard Purdie wrote:
> On Mon, 2013-03-04 at 21:42 +0800, Robert Yang wrote:
>>
>> On 03/04/2013 02:21 AM, Darren Hart wrote:
>>>
>>>
>>> On 03/03/2013 09:15 AM, Darren Hart wrote:
>
>> Yes, we do have hard links in the rootfs, e.g: core-image-sato and
>> core-image-sato-sdk:
>>
>> # The sato
>> $ find core-image-sato/1.0-r0/rootfs/ -type f -printf "%p %i %n\n" | grep -v '1$'
>> core-image-sato/1.0-r0/rootfs/etc/terminfo/v/vt200 26977609 2
>> core-image-sato/1.0-r0/rootfs/etc/terminfo/v/vt220 26977609 2
>> core-image-sato/1.0-r0/rootfs/usr/bin/arm-poky-linux-gnueabi-ld.bfd 26978690 2
>> core-image-sato/1.0-r0/rootfs/usr/bin/arm-poky-linux-gnueabi-ld 26978690 2
>
> What if the count was 11? or 21? I'm just mentioning we need to improve
> that command!
>
>> # The sato-sdk:
>> $ find core-image-sato-sdk/1.0-r0/rootfs/ -type f -printf "%p %i %n\n" | grep -v
>> '1$'
>> core-image-sato-sdk/1.0-r0/rootfs/etc/terminfo/v/vt200 26903519 2
>> core-image-sato-sdk/1.0-r0/rootfs/etc/terminfo/v/vt220 26903519 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/include/et/com_err.h 28058656 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/include/com_err.h 28058656 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/arm-poky-linux-gnueabi-ld.bfd 26900939 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/perlbug 26899680 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/gawk-4.0.1 26900368 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/psed 26899667 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/s2p 26899667 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/c2ph 26899695 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/perlthanks 26899680 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/pstruct 26899695 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/arm-poky-linux-gnueabi-ld 26900939 2
>> core-image-sato-sdk/1.0-r0/rootfs/usr/bin/gawk 26900368 2
>
> I'm slightly surprised there aren't more hardlinks for gcc in here. A
> meta-toolchain-sdk tarball will probably have a load of hardlinks in too
> if you want something to test with (we don't usually make extX images
> for the toolchain though).
>
The hardlinks result from the meta-toolchain-sdk is similar:
$ find sdk/image/opt/poky/1.3+snapshot/sysroots/ -type f -printf "%p %i %n\n" |
grep -v ' 1$'
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/etc/terminfo/v/vt200
27337495 2
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/etc/terminfo/v/vt220
27337495 2
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/usr/include/et/com_err.h
27468703 2
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/usr/include/com_err.h
27468703 2
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/usr/bin/gawk-4.0.1
27297079 2
sdk/image/opt/poky/1.3+snapshot/sysroots/armv5te-poky-linux-gnueabi/usr/bin/gawk
27297079 2
sdk/image/opt/poky/1.3+snapshot/sysroots/x86_64-pokysdk-linux/etc/terminfo/v/vt200
27469810 2
sdk/image/opt/poky/1.3+snapshot/sysroots/x86_64-pokysdk-linux/etc/terminfo/v/vt220
27469810 2
sdk/image/opt/poky/1.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd
27484702 2
sdk/image/opt/poky/1.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld
27484702 2
I wonder what's next step please, can we ignore the sparse files at the moment,
and then I will send an patch for review with the hardlink fixes.
// Robert
> Cheers,
>
> Richard
>
>
>
prev parent reply other threads:[~2013-03-05 8:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-02 10:46 [RFC PATCH 0/2] Fully support ext3/ext4 rootfs generation Robert Yang
2013-03-02 10:46 ` [RFC PATCH 1/2] e2fsprogs: add populate-extfs.sh Robert Yang
2013-03-02 10:46 ` [RFC PATCH 2/2] image_types.bbclass: replace genext2fs with populate-extfs.sh Robert Yang
2013-03-02 11:39 ` [RFC PATCH 0/2] Fully support ext3/ext4 rootfs generation Richard Purdie
2013-03-03 17:15 ` Darren Hart
2013-03-03 18:21 ` Darren Hart
2013-03-04 13:42 ` Robert Yang
2013-03-04 14:09 ` Robert Yang
2013-03-04 14:10 ` Richard Purdie
2013-03-04 16:09 ` Darren Hart
2013-03-05 8:24 ` Robert Yang [this message]
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=5135ABA5.1060803@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=dvhart@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/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