{"id":82126,"date":"2020-09-11T10:43:20","date_gmt":"2020-09-11T01:43:20","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=82126"},"modified":"2020-09-11T10:43:20","modified_gmt":"2020-09-11T01:43:20","slug":"windows-10-wsl2-mount-linux-drive","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/windows-10-wsl2-mount-linux-drive\/","title":{"rendered":"Windows 10\u3067Linux\u306e\u7269\u7406\u30c7\u30a3\u30b9\u30af\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\u4f7f\u7528\u3059\u308b\u4e8b\u304c\u53ef\u80fd\u306b"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2020\/09\/accessEXT4.jpg\" alt=\"AccessEXT4\" title=\"accessEXT4.jpg\" border=\"0\" width=\"1280\" height=\"765\" \/><\/p>\n<p>Microsoft\u306f\u672c\u65e5\u3001Windows Insider Program\u306eDev\u30c1\u30e3\u30f3\u30cd\u30eb\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3001<a href=\"https:\/\/softantenna.com\/blog\/windows\/windows-10-insider-preview-build-20211\/\">Windows 10 Insider Preview Build 20211\u3092\u516c\u958b<\/a>\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6700\u65b0\u30d3\u30eb\u30c9\u3067\u306f\u7269\u7406\u30c7\u30a3\u30b9\u30af\u3092WSL2\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3001Windows\u304c\u30cd\u30a4\u30c6\u30a3\u30d6\u306b\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044Linux\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0(ext4\u306a\u3069)\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u4e8b\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059(<a href=\"https:\/\/devblogs.microsoft.com\/commandline\/access-linux-filesystems-in-windows-and-wsl-2\/\">Windows Command Line<\/a>\u3001<a href=\"https:\/\/www.phoronix.com\/scan.php?page=news_item&px=WSL2-Mount-Physical-Disks\">Phoronix<\/a>)\u3002<\/p>\n<p>\u3059\u306a\u308f\u3061Windows\u3068Linux\u306e\u30de\u30eb\u30c1\u30d6\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3084\u3001Linux\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5916\u90e8\u30c7\u30a3\u30b9\u30af\u306b\u4f5c\u6210\u3057\u3066\u3044\u308b\u5834\u5408\u306a\u3069\u3001Windows\u5185\u90e8\u304b\u3089\u305d\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2>Windows\u304b\u3089Linux\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u30c7\u30a3\u30b9\u30af\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u306b\u306fPowerShell\u3092\u958b\u304d\u7ba1\u7406\u8005\u6a29\u9650\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\nwsl&nbsp;--mount&nbsp;&lt;DiskPath&gt;\n<\/pre>\n<p>Windows\u3067\u5229\u7528\u53ef\u80fd\u306a\u30c7\u30a3\u30b9\u30af\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\nwmic diskdrive list brief\n<\/pre>\n<p>WSL2\u304b\u3089\u30c7\u30a3\u30b9\u30af\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\nwsl --unmount <Diskpath>\n<\/pre>\n<p>\u30de\u30a6\u30f3\u30c8\u5f8c\u306fWindows\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u304b\u3089\u30c7\u30a3\u30b9\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u73fe\u5728\u306e\u3068\u3053\u308d\u7269\u7406\u30c7\u30a3\u30b9\u30af\u306e\u307f\u304cWSL2\u306b\u30a2\u30bf\u30c3\u30c1\u53ef\u80fd\u3067\u3001\u5358\u4e00\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u5236\u9650\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u5236\u9650\u4e8b\u9805\u306f<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows\/wsl\/wsl2-mount-disk#limitations\">\u3053\u3061\u3089<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft\u306f\u672c\u65e5\u3001Windows Insider Program\u306eDev\u30c1\u30e3\u30f3\u30cd\u30eb\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3001Windows 10 Insider Preview Build 20211\u3092\u516c\u958b\u3057\u307e\u3057\u305f\u3002 \u6700\u65b0\u30d3\u30eb\u30c9\u3067\u306f\u7269\u7406\u30c7 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":82125,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3],"tags":[3298,2701],"class_list":["post-82126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-windows","tag-windows10"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/82126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=82126"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/82126\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/82125"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=82126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=82126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=82126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}