On 2023-08-15, Daniele B. <my2...@has.im> wrote:
> --MP_/XGuIkAHQX40NmJKN5BO9ZNo
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
>
>
> About /usr/bin
>
> MrCleaner# pwd
> /usr/bin
> MrCleaner# ls -lsahS > /usr/bin-ls
>
> Attaching the bin-ls output, thanks
>
>
> -- Daniele Bonini
>
>
> Stuart Henderson <stu.li...@spacehopper.org> wrote:
>
>> On 2023-08-15, Daniele B. <my2...@has.im> wrote:
>> >
>> > I just completed to clean my system looking sysclean output on a
>> > spare stick. I gained something mostly from /usr/lib but neither a
>> > lot of stuff.
>> > As someone has shared with me some data, its amd64 partition size
>> > I want to show you this from my *cleaned* system:
>> >
>> > MrCleaner# pwd
>> > /usr               
>> > MrCleaner# du -h -d 1
>> > 235M       ./lib
>> > 629M       ./bin  
>> 
>> This is /usr/bin? Something seems wrong, this should be more like
>> 250M.
>
>
> --MP_/XGuIkAHQX40NmJKN5BO9ZNo
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
> Content-Disposition: attachment; filename=bin-ls.txt
>
> total 1288488
> 165056 -r-xr-xr-x   1 root  bin       80.5M Mar 25 17:15 c++
> 165056 -r-xr-xr-x   1 root  bin       80.5M Mar 25 17:15 cc
> 165056 -r-xr-xr-x   1 root  bin       80.5M Mar 25 17:15 clang
> 165056 -r-xr-xr-x   1 root  bin       80.5M Mar 25 17:15 clang++
> 165056 -r-xr-xr-x   1 root  bin       80.5M Mar 25 17:15 clang-cpp

those should be hardlinks

> 102432 -r-xr-xr-x   1 root  bin       50.0M Mar 25 17:15 ld
> 102432 -r-xr-xr-x   1 root  bin       50.0M Mar 25 17:15 ld.lld

and those

that's 370MB of unnecessary space use right there.

I guess you might have copied files around which resulted in splitting
the hardlinks off to separate copies.


Reply via email to