{"id":2663,"date":"2013-03-04T21:00:05","date_gmt":"2013-03-05T02:00:05","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=2663"},"modified":"2013-03-15T13:10:11","modified_gmt":"2013-03-15T18:10:11","slug":"df-on-osx-now-has-inode-statistics","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics","title":{"rendered":"df on OSX now has inode statistics"},"content":{"rendered":"<p>On OS X Mountain Lion, <tt>df<\/tt> now has lots of extra inode information. This is the new default according to the man page (turning on <tt>-i<\/tt>). The workaround to get the old <tt>df<\/tt> output is simple &#8211; just use <tt>-P<\/tt>. So df is now aliased as: <tt>df -Ph<\/tt><\/p>\n<pre>byte@lovegood~$ df -h\r\nFilesystem      Size   Used  Avail Capacity  iused    ifree %iused  Mounted on\r\n\/dev\/disk0s2   465Gi  237Gi  228Gi    51% 62130995 59797234   51%   \/<\/pre>\n<pre>byte@lovegood~$ df -Ph\r\nFilesystem      Size   Used  Avail Capacity  Mounted on\r\n\/dev\/disk0s2   465Gi  237Gi  228Gi    51%    \/<\/pre>\n<p>Much friendlier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On OS X Mountain Lion, df now has lots of extra inode information. This is the new default according to the man page (turning on -i). The workaround to get the old df output is simple &#8211; just use -P. So df is now aliased as: df -Ph byte@lovegood~$ df -h Filesystem Size Used Avail [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1503],"tags":[1512,5,1362],"class_list":["post-2663","post","type-post","status-publish","format-standard","hentry","category-tech","tag-df","tag-macosx","tag-mountain-lion"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-GX","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2663"}],"version-history":[{"count":2,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663\/revisions"}],"predecessor-version":[{"id":2676,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663\/revisions\/2676"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}