From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Stillwell Subject: Re: files as harddrives? Date: Tue, 22 Jul 2003 10:59:48 -0600 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20030722165948.GC17887@bokeoa.com> References: <3F1D6842.6080100@aknet.ru> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <3F1D6842.6080100@aknet.ru> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org On Tue, Jul 22, 2003 at 08:37:22PM +0400, Stas Sergeev wrote: >Bryan Stillwell wrote: >>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