{"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":"http:\/\/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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20df%20on%20OSX%20now%20has%20inode%20statistics&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2013%2F03%2F04%2Fdf-on-osx-now-has-inode-statistics&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"3c899d2cab\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2663\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2663\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2663\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20df%20on%20OSX%20now%20has%20inode%20statistics&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2013%2F03%2F04%2Fdf-on-osx-now-has-inode-statistics&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"3c899d2cab\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2663\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2663\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2663\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/04\/df-on-osx-now-has-inode-statistics?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1503],"tags":[1512,5,1362],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-GX","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3393,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2017\/10\/07\/keybase-and-fuse-on-macos","url_meta":{"origin":2663,"position":0},"title":"Keybase and FUSE on macOS","date":"7\/10\/2017","format":false,"excerpt":"I like the concept of Keybase, have had an account there for sometime (https:\/\/keybase.io\/bytebot). I also installed the Keybase app on macOS which has kbfs, the FUSE-based filesystem for Keybase users to share files with encryption (read more). However, I also tend to spend time offline, and sometimes on restricted\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":939,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/08\/13\/fixing-time-machine-backup-failed-with-error-11","url_meta":{"origin":2663,"position":1},"title":"Fixing Time Machine: Backup failed with error: 11","date":"13\/8\/2008","format":false,"excerpt":"Got the dreaded \"Backup failed with error: 11\" with Time Machine. Actually, I only got the dreaded message from the Console - the application itself, just kept failing silently with no suggestions (Apple, this is your cue to make Time Machine a little more useful). Nothing in Apple's knowledgebase. Nothing\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2812,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/10\/07\/brew-and-git-versions","url_meta":{"origin":2663,"position":2},"title":"brew and git versions","date":"7\/10\/2013","format":false,"excerpt":"Today I faced something weird: byte@lovegood~$ brew update error: RPC failed; result=22, HTTP code = 400 fatal: The remote end hung up unexpectedly Error: Failure while executing: git pull -q origin refs\/heads\/master:refs\/remotes\/origin\/master I ran the brew doctor to find out my git version was outdated. Turns out you need \"Git\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":965,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/08\/27\/malaysia-starts-censoring-bloggers","url_meta":{"origin":2663,"position":3},"title":"Malaysia starts censoring bloggers","date":"27\/8\/2008","format":false,"excerpt":"Today, is one that I consider, a dark day in Malaysian Internet history. The Malaysian Communications and Multimedia Commission (MCMC), ordered all ISPs to block access to a website, thereby violating the MSC Bill of Guarantees, which clearly states: Ensure no Internet censorship. Join the Blue Ribbon Online Free Speech\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1617,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/12\/13\/the-sun-sets","url_meta":{"origin":2663,"position":4},"title":"The Sun sets","date":"13\/12\/2009","format":false,"excerpt":"I no longer work at MySQL\/Sun Microsystems. So if you've sent any email to {colin|byte}@mysql.com, or {colin.charles|byte}@sun.com in the last month, they'd silently have gone into \/dev\/null as I have not had access to my accounts. Don't hesitate to resend them to byte@bytebot.net if you'd like me to see them.\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":235,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2004\/11\/08\/fedora-core-3-made-simple-preview","url_meta":{"origin":2663,"position":5},"title":"Fedora Core 3 \/ Made Simple preview","date":"8\/11\/2004","format":false,"excerpt":"Fedora Core 3 is out. Go Heidelberg. Now, for a sample chapter from Fedora Core: Made Simple, go take a look at Installing Fedora. I'm told that the more screenshots the better for the user, so go buy your mom a copy of the Made Simple guide ;-) Warning, its\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2663"}],"version-history":[{"count":2,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663\/revisions"}],"predecessor-version":[{"id":2676,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2663\/revisions\/2676"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2663"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}