RFSTool on Windows

Well, you first have to specify the ReiserFS partition. This can be done in three ways.

Method 1: let rfstool do the detection for you

If you have just one ReiserFS partition, start rfstool without arguments. It will attempt to autodetect your partition, and if found write drive and partition to

HKEY_CURRENT_USER\Software\p-nand-q.com\rfstool

The next time you use rfstool, it will use those settings.

Method 2: specify drive and partition per environment variable

You can specify an environment variable REISERFS_PARTITION that gives the partition in the following format:

drive.partition

For example, this command:

c:\> set REISERFS_PARTITION=1.0

will select drive 1, partition 0. The preferred method would be the registry option described above

Method 3: Use -p switch

You can also use the command line switch "-p" to specify drive and partition, like this:

c:> rfstool -p1.0

The mapping of device names looks like this:

hda1 -> 0.0
hda2 -> 0.1
hda3 -> 0.2
...
hdb1 -> 1.0
hdb2 -> 1.1
hdb3 -> 1.2
...

However, Windows XP messes up that scheme, so the new version of rfstool includes said autodetect feature.