{"id":1368,"date":"2005-06-21T22:22:22","date_gmt":"2005-06-21T20:22:22","guid":{"rendered":"http:\/\/vizZzion.org\/blog\/2005\/06\/umount-data-device-is-busy\/"},"modified":"2005-06-21T22:22:22","modified_gmt":"2005-06-21T20:22:22","slug":"umount-data-device-is-busy","status":"publish","type":"post","link":"https:\/\/vizZzion.org\/blog\/2005\/06\/umount-data-device-is-busy\/","title":{"rendered":"umount: \/data: device is busy."},"content":{"rendered":"<p><a href=\"http:\/\/vizzzion.org\/images\/blog\/fuser.png\" title=\"new fuser frontend of mountconfig\"><img decoding=\"async\" src=\"http:\/\/vizzzion.org\/images\/blog\/fuser-thumb.png\" alt=\"new fuser frontend of mountconfig\" title=\"new fuser frontend of mountconfig\" align=\"right\" class=\"showonplanet\" \/><\/a><br \/>\n\t\tMost of you know that under Linux, you can&#8217;t unmount a device if it&#8217;s still &#8220;in use&#8221;. Less<br \/>\nof you know that there are tools that actually deal with this. Most notably <em>&#8220;lsof&#8221;<\/em>, which<br \/>\nlists open files on a directory or devicenode. There&#8217;s also <em>&#8220;fuser&#8221;<\/em> which can even kill all<br \/>\nthe processes that are using files on a specific device. The latter should be used with care, of<br \/>\ncourse.<\/p>\n<p>\t\tUsing <a href=\"http:\/\/www.simonzone.com\/software\/guidance\/\"> guidance&#8217;s mountconfig<\/a>,<br \/>\nyou&#8217;re likely to encounter the same problem at some point &#8211; and that&#8217;s exactly what last week&#8217;s<br \/>\ncoding efforts tackle. Umounting a device that&#8217;s still in use will now launch the dialogue shown in<br \/>\nthe screenshot, identifying what&#8217;s preventing you from unmounting the device so you can deal with<br \/>\nthese applications. The rude might choose to kill processes, but they have been warned.<\/p>\n<p>\t\tComing up next: Will the user interface survive Simon&#8217;s critical review? :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of you know that under Linux, you can&#8217;t unmount a device if it&#8217;s still &#8220;in use&#8221;. Less of you know that there are tools that actually deal with this. Most notably &#8220;lsof&#8221;, which lists open files on a directory or devicenode. There&#8217;s also &#8220;fuser&#8221; which can even kill all the processes that are using&hellip; <a class=\"more-link\" href=\"https:\/\/vizZzion.org\/blog\/2005\/06\/umount-data-device-is-busy\/\">Continue reading <span class=\"screen-reader-text\">umount: \/data: device is busy.<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&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":[29],"tags":[],"class_list":["post-1368","post","type-post","status-publish","format-standard","hentry","category-kde"],"_links":{"self":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/1368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/comments?post=1368"}],"version-history":[{"count":0,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/1368\/revisions"}],"wp:attachment":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/media?parent=1368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/categories?post=1368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/tags?post=1368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}