================
 FAQ - ext2fsd
================

Q) How to install ext2fsd on my system ?

A) Follow these instructions:

   1, Build this project, and ext2fsd.sys will be created.
   2, Copy ext2fsd.sys to %system32%\drivers.
   3, Import the ext2fsd.reg into your system registry.
   4, After rebooting your machine, run "net start ext2fsd" at a dos shell.
   5, Use mount/unmount tools to mount or unmount a disk partition.
   6, You can unload ext2fsd from system with unload tool.


Q) How to mount an image file in linux?

A) Example: mount file ext2.img to /mnt/v

  1, mkdir /mnt/v
  2, mount ./ext2.img /mnt/v -o loop=/dev/loop0


Q) Does ext2fsd supprot ext3 filesystem ?

A) Ext2fsd could not understand the journal now. But it could mount the ext3 part as readonly.


Q) Where can I get "mount/unmount/unload tools"?

A) Try these links:
   http://sys.xiloo.com/resources/resources.htm
   http://sourceforge.net/project/showfiles.php?group_id=43775

   The unmount.exe is same to mount.exe, but the name. (unmount.exeis just a copy of mount.exe.)

   The unload tools is in romfs package at http://www.acc.umu.se/~bosse/romfs.zip.

   Usage of  mount/unmount tools:
        mount/unmount disk_number partition_number driver_letter

        Ex:    To mount partition 1 of harddisk 0 to f:, then
               mount 0 1 f:

        Ex:    To unmount f:, then
               unmount f: or mount /umount f:


Q) Why the ext2fsd could not work on my nt4.0 system ?

A) For nt4.0, you should recompile ext2fsd with nt4ddk. Only ext2fsd 0.08 has an image for nt4.0.
   Beause I have no nt4.0 system available for testing, I don't include such an image in the package.


Q) How to let system auto mount my ext2 partition when booting

A) Window NT won't mount an ext2 partition automatically. We must modify the registry to automatically
   mount an ext2 part.
   Ex. Mount Disk 0 (first disk) Partition 2 (the 2'nd part) to z: 

=================================================================================
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"Z:"="\\Device\\Harddisk0\\Partition2"
=================================================================================


Q) What tools do I need to build ext2fsd myself ?

A) You should install VC and NTDDK (NT4/2k/xp DDK).


Q) What's diff between checked and free?

A) The checked version, also means debug version, which has many debug info / output messages for debug
   purpose. If you don't care about debuging, just ingore the checked version.


Q) In VC++6, what is the ${BASEDIR} variable supposed to be for?  

A) $(BASEDIR) is the path where the ntddk (2k) is installed.


Q) How could I mount an image file to a driver ?

A) Do the flollowings:

   1, Download filedisk at http://www.acc.umu.se/~bosse/filedisk.zip.
   2, Import the filedisk.reg, and copy filedisk.sys to your $sysroot$\system32\drivers directory, as said
      in install.txt
   3, Download ext2fsd at my site: http://sys.xiloo.com
   4, Same work, for ext2fsd.reg and ext2fsd.sys
   5, Reboot your machine
   6, Run "net start filedisk" and "net start ext2fsd" at a console (You can emit this step, if you modify
      the .reg files: item "Start ", change value 00000003 to 00000001)
   7, Eg. mount the file to w:, then run "filedisk.exe /mount 0 $fullpath$\ext2.img /ro w:" 
   8, Now explore your w: ...



Q) Why ext2fsd 0.09 does not support writing as you said ?

A) In default, the writing ability is disabled, because it's dangerous.
   There are two ways to enable writing support:

   1, Change the value of "Parameters\WritingSupport" in ext2fsd.reg to 1, then
   import the reg file into system registry.
   Or modify the registry directly. Like this:

   -------------------------------------------------------------------------
   [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd\Parameters]
   "WritingSupport"=dword:00000001
   -------------------------------------------------------------------------

   2, Change the definition of EXT2_READ_ONLY to 0, and recompile ext2fsd, then
   overwrite the original one. (See line 33 in ext2fs.h for v0.09)

   Your ext2 system is ext3, then ext2fsd will disable writing support because this version does not
   support ext3 yet. 



Matt <mattwu@163.com>
http://sys.xiloo.com