Skip to contentSkip to conversation

files as harddrives?

DISCUSSION Stas Sergeev 2 participants 2 messages Jul 22, 2003

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 2 lines · Bryan Stillwell

It may be easier to think of it as a hard drive image (actually compact flash image) with the boot sector and partition information at the front of the file.

See "man mkfatimage16" - it is exactly what you need.

#1 lore raw
Quoted 5 lines · Stas Sergeev
Quoted 3 lines · Bryan Stillwell

It may be easier to think of it as a hard drive image (actually compact flash image) with the boot sector and partition information at the front of the file.

See "man mkfatimage16" - it is exactly what you need.

That would work if I just wanted to access the files under dosemu, but this is a verification test and I have to come as close as possible to simulate what someone else will be using on a real Windows/DOS system.

As it works right now, they put a compact flash card into a usb card reader and then run one of the ltools utilities (ldirdos.exe) to read and copy files off of the ext2 filesystem on the compact flash to the hard drive.

AFAICT, dosemu used to support this behaviour with the wholedisk option on older versions, but that functionality has been removed in favour of just accessing partitions directly.

Bryan