{"id":120519,"date":"2024-04-08T09:12:47","date_gmt":"2024-04-08T00:12:47","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=120519"},"modified":"2024-04-08T09:12:47","modified_gmt":"2024-04-08T00:12:47","slug":"winbtrfs","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/winbtrfs\/","title":{"rendered":"WinBtrfs - Linux\u306eBtrfs\u3092Windows\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u30c9\u30e9\u30a4\u30d0\u30fc"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240407_203858.jpg\" alt=\"S 20240407 203858\" title=\"s_20240407_203858.jpg\" border=\"0\" width=\"993\" height=\"620\" \/><\/p>\n<p>Windows\u3001Linux\u3001macOS\u306f\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3059\u308c\u3070\u672c\u6765\u6271\u3048\u306a\u3044\u306f\u305a\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/maharmstone\/btrfs\">WinBtrfs<\/a>\u300d\u3082\u305d\u306e\u3088\u3046\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u4e00\u7a2e\u3067\u3059\u3002<\/p>\n<p>Linux\u306e\u6b21\u4e16\u4ee3\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u300c<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Btrfs\">Btrfs(B-tree file system)<\/a>\u300d\u3092Windows\u3067\u8aad\u307f\u66f8\u304d\u3059\u308b\u305f\u3081\u306e\u30c9\u30e9\u30a4\u30d0\u30fc\u30bd\u30d5\u30c8\u3067\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u958b\u767a\u304c\u9032\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30bc\u30ed\u304b\u3089\u306e\u518d\u5b9f\u88c5\u3067Linux\u30ab\u30fc\u30cd\u30eb\u304b\u3089\u306e\u30b3\u30fc\u30c9\u306f\u542b\u307e\u308c\u3066\u304a\u3089\u305a\u3001Windows XP\u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067Windows\u4e92\u63db\u3092\u76ee\u6307\u3059\u300cReactOS\u300d\u306b\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Btrfs\u306e\u8aad\u307f\u66f8\u304d\u306e\u307b\u304b\u3001RAIOD\u5bfe\u5fdc\u306a\u3069\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote>\n<ul>\n<li>Reading and writing of Btrfs filesystems<\/li>\n<li>Basic RAID: RAID0, RAID1, and RAID10<\/li>\n<li>Advanced RAID: RAID5 and RAID6<\/li>\n<li>Caching<\/li>\n<li>Discovery of Btrfs partitions, even if Windows would normally ignore them<\/li>\n<li>Getting and setting of Access Control Lists (ACLs), using the xattr security.NTACL<\/li>\n<li>Alternate Data Streams (e.g. :Zone.Identifier is stored as the xattr user.Zone.Identifier)<\/li>\n<li>Mappings from Linux users to Windows ones (see below)<\/li>\n<li>Symlinks and other reparse points<\/li>\n<li>Shell extension to identify and create subvolumes, including snapshots<\/li>\n<li>Hard links<\/li>\n<li>Sparse files<\/li>\n<li>Free-space cache<\/li>\n<li>Preallocation<\/li>\n<li>Asynchronous reading and writing<\/li>\n<li>Partition-less Btrfs volumes<\/li>\n<li>Per-volume registry mount options (see below)<\/li>\n<li>zlib compression<\/li>\n<li>LZO compression<\/li>\n<li>LXSS (\"Ubuntu on Windows\") support<\/li>\n<li>Balancing (including resuming balances started on Linux)<\/li>\n<li>Device addition and removal<\/li>\n<li>Creation of new filesystems with<span>\u00a0<\/span><code>mkbtrfs.exe<\/code><span>\u00a0<\/span>and<span>\u00a0<\/span><code>ubtrfs.dll<\/code>\n<\/li>\n<li>Scrubbing<\/li>\n<li>TRIM\/DISCARD<\/li>\n<li>Reflink copy<\/li>\n<li>Subvol send and receive<\/li>\n<li>Degraded mounts<\/li>\n<li>Free space tree (compat_ro flag<span>\u00a0<\/span><code>free_space_cache<\/code>)<\/li>\n<li>Shrinking and expanding<\/li>\n<li>Passthrough of permissions etc. for LXSS<\/li>\n<li>Zstd compression<\/li>\n<li>Windows 10 case-sensitive directory flag<\/li>\n<li>Oplocks<\/li>\n<li>Metadata UUID incompat flag (Linux 5.0)<\/li>\n<li>Three- and four-disk RAID1 (Linux 5.5)<\/li>\n<li>New checksum types (xxhash, sha256, blake2) (Linux 5.5)<\/li>\n<li>Block group tree (Linux 6.1)<\/li>\n<\/ul>\n<div><\/div>\n<\/blockquote>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>WinBtrfs\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>WinBtrfs\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u30c9\u30e9\u30a4\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/github.com\/maharmstone\/btrfs\/releases\">GitHub<\/a>\u304b\u3089\u6700\u65b0\u306ezip\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5c55\u958b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240407_202122.jpg\" alt=\"S 20240407 202122\" title=\"s_20240407_202122.jpg\" border=\"0\" width=\"1128\" height=\"734\" \/><\/p>\n<p>\u25b2\u4e2d\u306b\u542b\u307e\u308c\u308bbtrfs.inf\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240407_202347.jpg\" alt=\"S 20240407 202347\" title=\"s_20240407_202347.jpg\" border=\"0\" width=\"1095\" height=\"659\" \/><\/p>\n<p>\u25b2\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u300c\u958b\u304f\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240407_202402.jpg\" alt=\"S 20240407 202402\" title=\"s_20240407_202402.jpg\" border=\"0\" width=\"1082\" height=\"639\" \/><\/p>\n<p>\u25b2\u300c\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304b\uff1f\u300d\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u518d\u8d77\u52d5\u3059\u308b\u3068\u4f7f\u7528\u6e96\u5099\u306f\u5b8c\u4e86\u3067\u3059\u3002\u7a7a\u306e\u30c7\u30a3\u30b9\u30af\u3092Btrfs\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240407_210014.jpg\" alt=\"S 20240407 210014\" title=\"s_20240407_210014.jpg\" border=\"0\" width=\"1243\" height=\"720\" \/><\/p>\n<p>\u25b2\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30c0\u30a4\u30a2\u30ed\u30b0\u306f\u4f7f\u3048\u306a\u3044\u305f\u3081\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d<code>format \/fs:btrfs<\/code>\u3092\u5b9f\u884c\u3057\u307e\u3059(\u5b9f\u969b\u306f\u3053\u306e\u5f8c\u306b\u30c9\u30e9\u30a4\u30d6\u540d\u307e\u305f\u306f\u30c7\u30d0\u30a4\u30b9\u30d1\u30b9\u304c\u5fc5\u8981\u3067\u3059)\u3002<\/p>\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5f8c\u3001\u30c9\u30e9\u30a4\u30d6\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8868\u793a\u3057\u300cBtrfs\u300d\u3068\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<p>format\u306e\u307b\u304b\u3001<code>mkbtrfs.exe<\/code>\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u4ee5\u5916\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u3001mkbtrfs.exe\u3092\u4f7f\u7528\u3059\u308b\u3068\u826f\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre>\r\n> mkbtrfs\r\nUsage: mkbtrfs.exe device [label]\r\n\r\nThe device parameter can either be a drive letter, e.g. D:, or a device path,\r\nsuch as \\Device\\Harddisk0\\Partition2.\r\n\r\nTo format the whole of the first hard disk without using partitions, you would\r\nneed to use the parameter \\Device\\Harddisk0\\Partition0.\r\n\r\nSupported flags:\r\n\r\n\/sectorsize:num                     Sets the sector size. This must be a\r\n                                    multiple of the size that the disk itself\r\n                                    reports. The default is 4096, which should\r\n                                    be used unless you have a good reason.\r\n\r\n\/nodesize:num                       Sets the node size, i.e. the size of the\r\n                                    metadata trees. The default is 16384. This\r\n                                    needs to either be the same as sector size,\r\n                                    or a power of two multiple.\r\n\r\n\/csum:id                            Sets the checksum algorithm to use. Valid\r\n                                    values are crc32c, xxhash, sha256, and\r\n                                    blake2.\r\n\r\n\/mixed                              Enables or disables mixed block groups,\r\n\/notmixed                           which store data and and metadata in the\r\n                                    same chunks. The default is disabled. This\r\n                                    is only useful for very small filesystems.\r\n\r\n\/extiref                            Enables or disables extended inode refs,\r\n\/notextiref                         which increase the number of hardlinks\r\n                                    allowed. The default is enabled.\r\n\r\n\/skinnymetadata                     Enables or disable skinny metadata, which\r\n\/notskinnymetadata                  allows more efficient storage of metadata\r\n                                    refs. The default is enabled.\r\n\r\n\/noholes                            Enables or disables whether sparse extents\r\n\/notnoholes                         should be stored implicitly, which can save\r\n                                    a little space. The default is enabled.\r\n\r\n\/freespacetree                      Enables or disables storing the free-space\r\n\/notfreespacetree                   cache in a tree rather than a blob.\r\n                                    Supported from Linux 4.5. The default is\r\n                                    enabled.\r\n\r\n\/blockgrouptree                     Enables or disables the block group tree,\r\n\/notblockgrouptree                  which can decrease mount times. Supported\r\n                                    from Linux 6.1. The default is disabled.\r\n                                    Implies \/noholes and \/freespacetree.\r\n<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Btrfs\u306fLinux\u306e\u5148\u9032\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u671f\u5f85\u3092\u96c6\u3081\u3066\u304a\u308a\u3001WinBtrfs\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067Windows\u3067\u3082Btrfs\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u5f97\u3089\u308c\u308b\u3053\u3068\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002\u500b\u4eba\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308a\u3001\u4f7f\u7528\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u7834\u640d\u306a\u3069\u306e\u30ea\u30b9\u30af\u304c\u4f34\u3044\u307e\u3059\u304c\u3001\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u78ba\u8a8d\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/7763\/i_screenshot1.jpg\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>WinBtrfs<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"https:\/\/github.com\/maharmstone\/btrfs\">https:\/\/github.com\/maharmstone\/btrfs<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/7763-win-btrfs\">https:\/\/softantenna.com\/softwares\/7763-win-btrfs<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>Linux\u5411\u3051\u306b\u958b\u767a\u3055\u308c\u305fBtrfs\u3092Windows\u3067\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u30c9\u30e9\u30a4\u30d0\u30fc\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u3001Linux\u3001macOS\u306f\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3059\u308c\u3070\u672c\u6765\u6271\u3048\u306a\u3044\u306f\u305a\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002 \u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300cWinBtrfs\u300d [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":120521,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3],"tags":[37,3298],"class_list":["post-120519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-linux","tag-windows"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120519","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=120519"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120519\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/120521"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=120519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=120519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=120519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}