[OE-core] [PATCH 7/8] busybox: disable fstrim in defconfig

Andre McCurdy armccurdy at gmail.com
Wed Jul 29 18:39:09 UTC 2015


On Wed, Jul 29, 2015 at 9:28 AM, Otavio Salvador
<otavio.salvador at ossystems.com.br> wrote:
> On Wed, Jul 29, 2015 at 11:22 AM, Burton, Ross <ross.burton at intel.com> wrote:
>>
>> On 29 July 2015 at 00:21, Andre McCurdy <armccurdy at gmail.com> wrote:
>>>
>>> The fstrim applet (to discard unused blocks on a mounted filesystem)
>>> doesn't seem like core functionality, so disable by default.
>>
>>
>> With SSDs being more common, is this really true?  What's the size impact of
>> this?
>
> I agree with Ross here and I think it should stay enabled.

I was thinking most people with an SSD would "mount -o discard" and
let the filesystem take care of issuing trim commands. Trimming
manually from a shell script seems like more of a niche requirement.

The fstrim applet adds less than 200 bytes to the busybox binary
though (x86). I'll send an updated patch series which leaves it
enabled.

> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list