public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Tavis Ormandy <taviso@gmail.com>
To: linux-msdos@vger.kernel.org
Subject: Re: loop device needed for hdimage dosemu package setup
Date: Sat, 27 Mar 2021 14:59:41 -0000 (UTC)	[thread overview]
Message-ID: <s3nh8t$10uo$1@ciao.gmane.io> (raw)
In-Reply-To: alpine.NEB.2.23.451.2103261745230.17283@panix1.panix.com

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


      reply	other threads:[~2021-03-27 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 21:50 loop device needed for hdimage dosemu package setup Jude DaShiell
2021-03-27 14:59 ` Tavis Ormandy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='s3nh8t$10uo$1@ciao.gmane.io' \
    --to=taviso@gmail.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox