{"id":6343,"date":"2014-03-13T05:09:25","date_gmt":"2014-03-12T18:09:25","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=6343"},"modified":"2014-03-13T05:09:25","modified_gmt":"2014-03-12T18:09:25","slug":"linux-diskutil-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/linux-diskutil-primer-tutorial\/","title":{"rendered":"Linux Diskutil Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Linux\/Linux_Diskutil.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Linux Diskutil Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Linux\/Linux_Diskutil.jpg\" title=\"Linux Diskutil Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Linux Diskutil Primer Tutorial<\/p><\/div>\n<p>Linux (or Unix) is an operating system whose very essence revolves around files.   Files are stored on Disks and Volumes and you see this in play when we analyze the diskutil command that we access in a Linux environment on a Mac laptop via the Terminal application (in Utilities).   My hope for you is that you never need to know about diskutil for any other purpose than to check on a disk&#8217;s file space, name, or to partition a disk (perhaps for a dual operating system environment).    My hope for you is that you never need it to repair a disk or volume, though have used it successfully myself to do this, but it is just that things have come &#8220;to a pretty pass&#8221; if you have arrived at this point, but whether you end up calling this point &#8220;Pretty Nirvana Hill&#8221; or &#8220;Pretty Death Valley&#8221; will depend on how diskutil performs.<\/p>\n<p>Linux commands of interest here are:<\/p>\n<ul>\n<li><a target=_blank title='df' href='http:\/\/www.computerhope.com\/unix\/udf.htm'>df<\/a> -k<\/li>\n<li><a target=_blank title='diskutil' href='https:\/\/developer.apple.com\/library\/mac\/documentation\/Darwin\/Reference\/ManPages\/man8\/diskutil.8.html'>diskutil<\/a><\/li>\n<\/ul>\n<p>In Windows, with command line, <a target=_blank title='chkdsk' href='http:\/\/www.computerhope.com\/chkdskh.htm'>chkdsk<\/a> has several bits of overlapping functionality.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d6343' onclick='var dv=document.getElementById(\"d6343\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=Linux\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d6343' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux (or Unix) is an operating system whose very essence revolves around files. Files are stored on Disks and Volumes and you see this in play when we analyze the diskutil command that we access in a Linux environment on &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/linux-diskutil-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,29,37],"tags":[337,340,707,723,725,903,1252,1319,1339,1391],"class_list":["post-6343","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-tutorials","tag-disk","tag-diskutil","tag-linux","tag-mac","tag-mac-os-x","tag-partitition","tag-terminal","tag-tutorial","tag-unix","tag-volume"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6343"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=6343"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6343\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=6343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=6343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=6343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}