* Linux source tree size difference issue
@ 2013-05-17 0:20 Chris Jones
2013-05-17 19:44 ` Roland Eggner
0 siblings, 1 reply; 3+ messages in thread
From: Chris Jones @ 2013-05-17 0:20 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Torvalds
I have cloned the Linux kernel source tree locally. It comes in at
approx. ~500MB. I have then created another git repository to push the
source to for my own work. I rsynced the tree locally to another
directory and now I am currently pushing it in to the new repository and
it's at 58% and is already at 525MB.
I can not understand the stark difference in source and directory size.
Running diff tells me both local source tree directories are exactly the
same.
Can anyone explain this in layman's terms?
--
Chris Jones
Founder and Lead Software Architect
Paradise Software
chrisjones@spin.net.au
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux source tree size difference issue
2013-05-17 0:20 Linux source tree size difference issue Chris Jones
@ 2013-05-17 19:44 ` Roland Eggner
2013-05-18 2:00 ` Chris Jones
0 siblings, 1 reply; 3+ messages in thread
From: Roland Eggner @ 2013-05-17 19:44 UTC (permalink / raw)
To: Chris Jones; +Cc: linux-kernel, Linus Torvalds
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
On 2013-05-17 Friday at 10:20 +1000 Chris Jones wrote:
> I have cloned the Linux kernel source tree locally. It comes in at
> approx. ~500MB. I have then created another git repository to push the
> source to for my own work. I rsynced the tree locally to another
> directory and now I am currently pushing it in to the new repository and
> it's at 58% and is already at 525MB.
>
> I can not understand the stark difference in source and directory size.
> Running diff tells me both local source tree directories are exactly the
> same.
>
> Can anyone explain this in layman's terms?
$ LC_ALL=C du --help | grep -E -e 'apparent|sparse|fragmentation'
-------------------------------------------------------------------
--apparent-size print apparent sizes, rather than disk usage; although
the apparent size is usually smaller, it may be
larger due to holes in ('sparse') files, internal
fragmentation, indirect blocks, and the like
-b, --bytes equivalent to '--apparent-size --block-size=1'
--
Regards
Roland Eggner
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux source tree size difference issue
2013-05-17 19:44 ` Roland Eggner
@ 2013-05-18 2:00 ` Chris Jones
0 siblings, 0 replies; 3+ messages in thread
From: Chris Jones @ 2013-05-18 2:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Roland Eggner
On 05/18/2013 05:44 AM, Roland Eggner wrote:
>
> $ LC_ALL=C du --help | grep -E -e 'apparent|sparse|fragmentation'
> -------------------------------------------------------------------
> --apparent-size print apparent sizes, rather than disk usage; although
> the apparent size is usually smaller, it may be
> larger due to holes in ('sparse') files, internal
> fragmentation, indirect blocks, and the like
> -b, --bytes equivalent to '--apparent-size --block-size=1'
>
Thanks Roland. I figured it out in the end. Things were not as bad as
they first seemed.
Regards
--
Chris Jones
Founder and Lead Software Architect
Paradise Software
chrisjones@spin.net.au
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-18 2:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 0:20 Linux source tree size difference issue Chris Jones
2013-05-17 19:44 ` Roland Eggner
2013-05-18 2:00 ` Chris Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox