How to use the FAT filesystem driver?

Jun 17, 2008 at 5:08 PM
Hi!

Can someone tell me how I can use the FAT filesystem driver? Do I have to mount a harddisk inside Virtual PC, or how does it works?

Thanks

Klaus Aschenbrenner
http://www.csharp.at
http://www.csharp.at/blog
Coordinator
Jul 4, 2008 at 12:09 AM


Codeman1980 wrote:
Can someone tell me how I can use the FAT filesystem driver? Do I have to mount a harddisk inside Virtual PC, or how does it works?

Hi Codeman1980. In short, here's how you use the FAT filesystem support:
  1. Create a virtual hard disk, then use another operating system or an OS installer or rescue disc to partition the disk. An unpartitioned disk cannot currently be used in Singularity.
  2. Use the fatcontrol utility to format the partition (fatcontrol @format), which will be listed as a volume under /dev.
  3. Use the fatcontrol utility to mount the partition (fatcontrol @mount). Unlike in UNIX, you should not create the directory you're mounting the device on before mounting it.

You may have to add fatcontrol to your build, which you can do by adding "<APPLICATION Include="$(SINGULARITY_ROOT)\Services\Fat\Control\FatControl.csproj">" to your distribution project. I hope this helps - please write back if you need more help.
--
Derrick Coetzee
Microsoft Research Operating Systems Group developer