Re: Multiple files with same filename on FAT



On Oct 30, 7:54 pm, Antonio Pasini
<removethis_antonio.pas...@xxxxxxxx> wrote:
I would try the following:

1) Create a raw dump of your whole disk in a file; you can use DD on
linux, or WinHex (need registration) or similar utilities; you could
also try rawcopy.zip fromhttp://www.ltr-data.se/opencode.html#ImDisk,
which is free. I didn't try that.

2) From the link above, use ImDisk to mount your image file as a a
virtual drive. I used the control panel, but you can do by command line
also.

3) You can access the virtual drive using low level functions (sector by
serctor) from WinXP using CreateFileA(), ReadFile and WriteFile().

Have a look to:http://www.codeguru.com/cpp/w-p/system/misc/article.php/c5765/

This snippet is very interesting. Indeed, if I go the XP way, that's
exactly what I need.

However, I always fear XP will mess with the drive, forcing me to do
the imaging step as you describe, which is rather time consuming (1h30
for the 160 Gb drive). So I'm more tempted to go the minimal OS route,
and I'm currently thinking of using FreeDOS to perform the copy
operation, directly reading from the PVR drive...

You can also find a lot of FAT code on the net... I would try EFSL
library; you could hack that to follow your "double name" FAT arrangement.

Oh yes, that's interesting too. I'll have a deeper look into that lib
for sure.

Using the above snippets, I was able to test my FAT code very very
easily under XP with VisualC++ Express without messing up my drives. It
was very handy to have different image files for the different "corner"
cases to test.

Yes, image is definitely the way to go during the trial phase.

Thanks a lot for your advice and pointers.

Vicne

.



Relevant Pages

  • Re: Help! Drive Image 2002 question
    ... >>> have restored my entire primary partition ... >>> to a Drive image file on a different partition. ... You cant restore TO an image file. ... > the logical drives, I used the tools found in Control Panel/ ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: How to make a cloned disk boot?
    ... I don't think you understand that restoring your computer from the Image file ... Cloning the existing drive because it is is too small now... ... transferring the users data to new drives so they can continue ... They have less that 1 Gb free space on a 40 Gb drive so they ...
    (microsoft.public.windowsxp.hardware)
  • Re: Identity theft risk
    ... Most will wipe the job after the copy ... Yep, but surely, normally the "Temporary " Image File isn't ... of) time to actually securely *Wipe* the Drives, ...
    (uk.people.silversurfers)
  • Re: Imaging and verification
    ... using the stepdown to SATA1 jumper on both SATA drives. ... Verification rarely fails on the 1st SATA drive. ... an asset to review the internal of the image file, verify, and export ...
    (microsoft.public.windowsxp.hardware)
  • Driveless workstations going from NT 4 to 2003 domain
    ... We have 7 workstations currently logging into our NT 4 domain using TFTP'd ... Download the image file and run the autoexec/config files. ... Somehow get 7 network drives automatically mapped ... I still can't run the batch files without a lot of "cd\test\batch" ...
    (microsoft.public.windows.server.migration)