[meta-ti] [PATCH v2 1/3] sdcard_image: rewrote to avoid using loopback and mount/unmount

Tom Rini tom.rini at gmail.com
Mon Dec 5 12:00:12 PST 2011


On Mon, Dec 5, 2011 at 12:13 PM, William Mills <wmills at ti.com> wrote:
> On 12/05/2011 06:30 AM, Koen Kooi wrote:
>>
>>
>> Op 29 nov. 2011, om 18:51 heeft Otavio Salvador het volgende geschreven:
>>
>>> On Tue, Nov 29, 2011 at 15:48, Koen Kooi<koen at dominion.thruhere.net>
>>>  wrote:
>>> mkfs.vfat keeps segfaulting at different points, I'll try to find out
>>> why.
>>>
>>> It works fine here.
>>>
>>> Maybe a change in your layer?
>>
>>
>> I did some more tests (MACHINE=beaglebone bitbake cloud9-image) and with
>> your patches mkfs.vfat segfaults, without the patches it works. I don't know
>> why that is.
>> I do want to get rid of the loopdevices, so if other people on this list
>> can test these patches as well...
>>
>
> Do you guys know if a similar method will be available for non-extN
> file-systems?  btrfs is the most likely case to come up first.
>
> If the answer is no, could we keep both methods and just default to the
> no-loop method?

It all depends on which filesystem.  For btrfs, 30sec of googling says
we could probably chain btrfs-convert to turn a genext2fs'd image into
btrfs.  Or get someone to write a utility that does this from scratch.

-- 
Tom



More information about the meta-ti mailing list