summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar CandyAngel <CandyAngel@web>2017-05-10 12:44:09 +0000
committerGravatar admin <admin@branchable.com>2017-05-10 12:44:09 +0000
commit6be59dbdb7505f857b6d6fc8c5bf871d5cc0c488 (patch)
treedfb76d66ddff3573488d18846b75ed5d418cb501 /doc
parent15c5eb8a118246ae7b057ae45d54de0cc1d5c717 (diff)
Added a comment
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Lots_of_4k_symlinks/comment_5_ab3884748f3271a77ba3320f25d74414._comment25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/forum/Lots_of_4k_symlinks/comment_5_ab3884748f3271a77ba3320f25d74414._comment b/doc/forum/Lots_of_4k_symlinks/comment_5_ab3884748f3271a77ba3320f25d74414._comment
new file mode 100644
index 000000000..c1f428975
--- /dev/null
+++ b/doc/forum/Lots_of_4k_symlinks/comment_5_ab3884748f3271a77ba3320f25d74414._comment
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="CandyAngel"
+ avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8"
+ subject="comment 5"
+ date="2017-05-10T12:44:08Z"
+ content="""
+ $ find -name .git -prune -o -type l | wc -l
+ 1034886
+
+Just over a million symlinks.. very convenient :)
+
+ $ find -name .git -prune -o -type l -printf '%s\n' | awk '{sum+=$1} END {print sum/1024**3}'
+ 195.9 # 195MB actual size
+ $ find -name .git -prune -o -type l -print0 | du -ch --files0-from=- | tail -n1
+ 4.0G total # 4GB disk usage
+
+And in comparison to my earlier comment 2 weeks ago:
+
+ $ du -shc *-* | tail -n3
+ 33M fd79bbd4-d41e-4ea8-acc8-86437c5eed7c
+ 33M ffbd042e-f6d9-4450-9a57-8ed1086f587c
+ 4.1G total
+
+So directory inode sizes are dwarfed by the 4K disk usage but ~198b actual usage of the symlinks (~96% wasted space?).
+"""]]