Skip to content

Commit

Permalink
VERSION 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Dec 30, 2016
1 parent c93b7be commit d97dca3
Show file tree
Hide file tree
Showing 36 changed files with 38 additions and 9 deletions.
Binary file modified Debug/x64/btrfs.pdb
Binary file not shown.
Binary file modified Debug/x64/btrfs.sys
Binary file not shown.
Binary file added Debug/x64/mkbtrfs.exe
Binary file not shown.
Binary file added Debug/x64/mkbtrfs.pdb
Binary file not shown.
Binary file modified Debug/x64/shellbtrfs.dll
Binary file not shown.
Binary file modified Debug/x64/shellbtrfs.pdb
Binary file not shown.
Binary file added Debug/x64/ubtrfs.dll
Binary file not shown.
Binary file added Debug/x64/ubtrfs.pdb
Binary file not shown.
Binary file modified Debug/x86/btrfs.pdb
Binary file not shown.
Binary file modified Debug/x86/btrfs.sys
Binary file not shown.
Binary file added Debug/x86/mkbtrfs.exe
Binary file not shown.
Binary file added Debug/x86/mkbtrfs.pdb
Binary file not shown.
Binary file removed Debug/x86/shellbtrfs.dll
Binary file not shown.
Binary file modified Debug/x86/shellbtrfs.pdb
Binary file not shown.
Binary file added Debug/x86/ubtrfs.dll
Binary file not shown.
Binary file added Debug/x86/ubtrfs.pdb
Binary file not shown.
35 changes: 30 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WinBtrfs v0.7
WinBtrfs v0.8
-------------

WinBtrfs is a Windows driver for the next-generation Linux filesystem Btrfs. The
Expand Down Expand Up @@ -56,13 +56,16 @@ Features
* LZO compression (incompat flag `compress_lzo`)
* Misc incompat flags: `mixed_groups`, `no_holes`
* LXSS ("Ubuntu on Windows") support
* Balancing (including resuming balances started on Linux)
* Device addition and removal
* Creation of new filesystems with `mkbtrfs.exe` and `ubtrfs.dll`

Todo
----

* New (Linux 4.5) free space cache (compat_ro flag `free_space_cache`)
* Scrubbing
* Passthrough of permissions etc. for LXSS
* Maintenance tools: mkfs.btrfs, btrfs-balance, scrubbing, etc.
* TRIM/DISCARD

Installation
Expand Down Expand Up @@ -155,9 +158,31 @@ type 7 in `fdisk`. For GPT partitions, this should be type 6 in `fdisk` ("Micros
basic data"), or 0700 in `gdisk`. We have to do some chicanery to get Linux partitions
to appear in the first place, but unfortunately this confuses diskmgmt.msc too much.

* How do I format a partition as Btrfs?

Use the included command line program mkbtrfs.exe. We can't add Btrfs to Windows' own
dialog box, unfortunately, as its list of filesystems has been hardcoded.

* I can't reformat a mounted Btrfs filesystem

If Windows' Format dialog box refuses to appear, try running format.com with the /fs
flag, e.g. `format /fs:ntfs D:`.

Changelog
---------

v0.8 (2016-12-30):
* Volume property sheet, for:
* Balances
* Adding and removing devices
* Showing disk usage, i.e. the equivalent to `btrfs fi usage`
* Checksums now calulated in parallel where appropriate
* Creation of new filesystems, with mkbtrfs.exe
* Plug and play support for RAID devices
* Disk usage now correctly allocated to processes in taskmgr
* Performance increases
* Miscellaneous bug fixes

v0.7 (2016-10-24):
* Support for RAID5/6 (incompat flag `raid56`)
* Seeding support
Expand Down Expand Up @@ -204,7 +229,6 @@ v0.4 (2016-05-02):
* Miscellaneous bug fixes

v0.3 (2016-03-25):

* Bug fixes:
* Fixed crashes when metadata blocks were SINGLE, such as on SSDs
* Fixed crash when splitting an internal tree
Expand All @@ -215,7 +239,6 @@ v0.3 (2016-03-25):
* Added beginnings of shell extension, which currently only changes the icon of subvolumes

v0.2 (2016-03-13):

* Bug fix release:
* Check memory allocations succeed
* Check tree items are the size we're expecting
Expand All @@ -229,7 +252,6 @@ v0.2 (2016-03-13):
* Debug log support (see below)

v0.1 (2016-02-21):

* Initial alpha release.

Debug log
Expand Down Expand Up @@ -303,6 +325,9 @@ recalculate a stripe from the others than to read it in the first place. Valid v
RAID5, and 0, 1, and 2 for RAID6. You might want to experiment with which is quicker for you; for SSDs
this probably should be 0. The default for both options is 1.

* `SkipBalance` (DWORD): set to 1 to tell the driver not to attempt resuming a balance which was running
when the system last powered down. The default is 0. The equivalent parameter on Linux is `skip_balance`.

Contact
-------

Expand Down
4 changes: 4 additions & 0 deletions btrfs.inf
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ LoadOrderGroup = "File System"

[Btrfs.DllFiles]
shellbtrfs.dll
ubtrfs.dll
mkbtrfs.exe

[SourceDisksFiles]
btrfs.sys = 1,,
shellbtrfs.dll = 1,,
ubtrfs.dll = 1,,
mkbtrfs.exe = 1,,

[SourceDisksNames.x86]
1 = %DiskId1%,,,\x86
Expand Down
4 changes: 2 additions & 2 deletions src/btrfs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ BEGIN
BLOCK "080904b0"
BEGIN
VALUE "FileDescription", "WinBtrfs"
VALUE "FileVersion", "0.7"
VALUE "FileVersion", "0.8"
VALUE "InternalName", "btrfs"
VALUE "LegalCopyright", "Copyright (c) Mark Harmstone 2016"
VALUE "OriginalFilename", "btrfs.sys"
VALUE "ProductName", "WinBtrfs"
VALUE "ProductVersion", "0.7"
VALUE "ProductVersion", "0.8"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 2 additions & 2 deletions src/shellext/shellbtrfs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ BEGIN
BLOCK "080904b0"
BEGIN
VALUE "FileDescription", "WinBtrfs shell extension"
VALUE "FileVersion", "0.7"
VALUE "FileVersion", "0.8"
VALUE "InternalName", "btrfs"
VALUE "LegalCopyright", "Copyright (c) Mark Harmstone 2016"
VALUE "OriginalFilename", "shellbtrfs.dll"
VALUE "ProductName", "WinBtrfs"
VALUE "ProductVersion", "0.7"
VALUE "ProductVersion", "0.8"
END
END
BLOCK "VarFileInfo"
Expand Down
Binary file modified x64/btrfs.pdb
Binary file not shown.
Binary file modified x64/btrfs.sys
Binary file not shown.
Binary file added x64/mkbtrfs.exe
Binary file not shown.
Binary file added x64/mkbtrfs.pdb
Binary file not shown.
Binary file modified x64/shellbtrfs.dll
Binary file not shown.
Binary file modified x64/shellbtrfs.pdb
Binary file not shown.
Binary file added x64/ubtrfs.dll
Binary file not shown.
Binary file added x64/ubtrfs.pdb
Binary file not shown.
Binary file modified x86/btrfs.pdb
Binary file not shown.
Binary file modified x86/btrfs.sys
Binary file not shown.
Binary file added x86/mkbtrfs.exe
Binary file not shown.
Binary file added x86/mkbtrfs.pdb
Binary file not shown.
Binary file modified x86/shellbtrfs.dll
Binary file not shown.
Binary file modified x86/shellbtrfs.pdb
Binary file not shown.
Binary file added x86/ubtrfs.dll
Binary file not shown.
Binary file added x86/ubtrfs.pdb
Binary file not shown.

0 comments on commit d97dca3

Please sign in to comment.