From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tavis Ormandy Subject: Re: loop device needed for hdimage dosemu package setup Date: Sat, 27 Mar 2021 14:59:41 -0000 (UTC) Message-ID: References: Return-path: List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org On 2021-03-26, Jude DaShiell wrote: > I don't know if this will make a difference or not, but I think I set up > an hdimage file for a 32mb dos hard drive. > What would commands or a command be to create a loop device > that would work well with a drive of this size? > I just found out about losetup and loop-control commands today so will be > new to both for a while. > You could do that, but you're doing it the hard way. The more standard way is to use the emulated filesystem, which just makes a regular directory (usually ~/.dosemu/drive_c) look like a drive to DOS. You can even attach/detach other directories as drives at runtime. Tavis. -- _o) $ lynx lock.cmpxchg8b.com /\\ _o) _o) $ finger taviso@sdf.org _\_V _( ) _( ) @taviso