From mboxrd@z Thu Jan 1 00:00:00 1970 From: tonyb@sysdev.org Subject: How to also Mount hdimage file at / Date: Mon, 10 Nov 2003 20:00:01 -0800 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20031110200001.124ea5f0.tonyb@sysdev.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: msdos I made a mkfatimage16 file which works fine with dosemu. I have a need to let Windows (samba) to mount the same via the network. I can use mtools to see the file as drive m: but I need to mount it under /dosc so that windows can also write to it. When the hdimage was a real dos partition mounted on /dosc, I could use dosemu and windows would also see myhost://dosc Does anyone know how I can mount the hdimage (now a file) also as /dosc. Also tried using the loop device: mount filname /mnt -t msdos -o loop, but it complains about the file's format. Thanks TonyB -- __ __ _ I N C. http://www.sysdev.org / __|\\// __|| \ __ __ / tonyb@sysdev.org \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers