Skip to content

Commit

Permalink
VERSION 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Oct 15, 2017
1 parent 4598c2c commit 5632041
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 93 deletions.
36 changes: 15 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ WinBtrfs v1.0

WinBtrfs is a Windows driver for the next-generation Linux filesystem Btrfs.
A reimplementation from scratch, it contains no code from the Linux kernel,
and should work on any version from Windows 7 onwards.
and should work on any version from Windows 7 onwards. It is also included
as part of the free operating system [ReactOS](https://www.reactos.org/).

First, a disclaimer:

This software is in active development - YOU USE IT AT YOUR OWN RISK. I take NO
Expand Down Expand Up @@ -84,18 +86,14 @@ Todo
Installation
------------

The driver is self-signed at the moment, meaning that if you're using a 64-bit
version of Windows you'll have to tell it to boot up in Test Mode if you want it
to work. To do this, launch an admin command prompt (right-click on "Command
Prompt" and click "Run as administrator"), and run the following command:

bcdedit -set TESTSIGNING ON

Reboot, and you should see "Test Mode" on the bottom right of the Desktop. You may
need to disable "Secure Boot" in BIOS for this to work.

To install the driver, [download and extract the latest release](https://github.com/maharmstone/btrfs/releases),
right-click btrfs.inf, and choose Install.
right-click btrfs.inf, and choose Install. The driver is signed, so should work out
of the box on modern versions of Windows.

For the very latest versions of Windows 10, Microsoft introduced more onerous
requirements for signing, which are only available to corporations and not individuals.
If this affects you (i.e. you get a signing error when trying to install the driver),
try disabling Secure Boot in your BIOS settings.

Uninstalling
------------
Expand Down Expand Up @@ -169,15 +167,6 @@ clone subvolumes.
Troubleshooting
---------------

* My drive doesn't show up!

If you're on 64-bit Windows, check that you're running in Test Mode ("Test Mode" appears
in the bottom right of the Desktop).

* My drive is readonly

Check that you've not got the new free space cache enabled, which isn't yet supported.

* The filenames are weird!
or
* I get strange errors on certain files or directories!
Expand Down Expand Up @@ -219,6 +208,11 @@ flag, e.g. `format /fs:ntfs D:`.
Changelog
---------

v1.0.1 (2017-10-15):
* Fixed deadlock
* Binaries now signed
* Minor bug fixes

v1.0 (2017-09-04):
* First non-beta release!
* Degraded mounts
Expand Down
4 changes: 2 additions & 2 deletions src/btrfs.inf
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
;;; WinBtrfs
;;;
;;;
;;; Copyright (c) 2016 Mark Harmstone
;;; Copyright (c) 2016-17 Mark Harmstone
;;;

[Version]
Signature = "$Windows NT$"
Class = Volume
ClassGuid = {71a27cdd-812a-11d0-bec7-08002be2092f}
Provider = %Me%
DriverVer = 09/04/2017,1.0.0.0
DriverVer = 10/15/2017,1.0.1.0
CatalogFile = btrfs.cat

[DestinationDirs]
Expand Down
8 changes: 4 additions & 4 deletions src/btrfs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -70,12 +70,12 @@ BEGIN
BLOCK "080904b0"
BEGIN
VALUE "FileDescription", "WinBtrfs"
VALUE "FileVersion", "1.0"
VALUE "FileVersion", "1.0.1"
VALUE "InternalName", "btrfs"
VALUE "LegalCopyright", "Copyright (c) Mark Harmstone 2016-17"
VALUE "OriginalFilename", "btrfs.sys"
VALUE "ProductName", "WinBtrfs"
VALUE "ProductVersion", "1.0"
VALUE "ProductVersion", "1.0.1"
END
END
BLOCK "VarFileInfo"
Expand Down
22 changes: 10 additions & 12 deletions src/mkbtrfs/mkbtrfs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,30 @@
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.K.) resources
// English (United Kingdom) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
Expand All @@ -53,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -70,12 +68,12 @@ BEGIN
BLOCK "080904b0"
BEGIN
VALUE "FileDescription", "Btrfs formatting utility"
VALUE "FileVersion", "1.0"
VALUE "FileVersion", "1.0.1"
VALUE "InternalName", "mkbtrfs"
VALUE "LegalCopyright", "Copyright (c) Mark Harmstone 2016-17"
VALUE "OriginalFilename", "mkbtrfs.exe"
VALUE "ProductName", "WinBtrfs"
VALUE "ProductVersion", "1.0"
VALUE "ProductVersion", "1.0.1"
END
END
BLOCK "VarFileInfo"
Expand Down Expand Up @@ -108,12 +106,12 @@ END
STRINGTABLE
BEGIN
IDS_NO_NODE_SIZE "No node size specified."
IDS_CANT_FIND_SETINCOMPATFLAGS
IDS_CANT_FIND_SETINCOMPATFLAGS
"Could not load function SetIncompatFlags in %s"
IDS_USAGE2 "The device parameter can either be a drive letter, e.g. D:, or a device path,\nsuch as \\Device\\Harddisk0\\Partition2.\n\nTo format the whole of the first hard disk without using partitions, you would\nneed to use the parameter \\Device\\Harddisk0\\Partition0.\n\nSupported flags:\n\n/sectorsize:num Sets the sector size. This must be a\n multiple of the size that the disk itself\n reports. The default is 4096, which should\n be used unless you have a good reason.\n\n/nodesize:num Sets the node size, i.e. the size of the\n metadata trees. The default is 16384. This\n needs to either be the same as sector size,\n or a power of two multiple.\n\n/mixed Enables or disable mixed block groups,\n/notmixed which store data and and metadata in the\n same chunks. The default is disabled. This\n is only useful for very small filesystems.\n\n/extiref Enables or disables extened inode refs,\n/notextiref which increase the number of hardlinks\n allowed. The default is enabled.\n\n/skinnymetadata Enables or disable skinny metadata, which\n/notskinnymetadata allows more efficient storage of metadata\n refs. The default is enabled.\n\n/noholes Enables or disables whether sparse extents\n/notnoholes should be stored implicitly, which can save\n a little space. The default is disabled."
END

#endif // English (U.K.) resources
#endif // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////


Expand Down
Loading

0 comments on commit 5632041

Please sign in to comment.