public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Bryan Stillwell <bryan@bokeoa.com>
To: linux-msdos@vger.kernel.org
Subject: Re: files as harddrives?
Date: Mon, 4 Aug 2003 16:02:56 -0600	[thread overview]
Message-ID: <20030804220256.GC6969@bokeoa.com> (raw)
In-Reply-To: <3F1ED11C.2040308@aknet.ru>

Your mention of mkfatimage16 caused me to look around in the source tree
a little, and I found mkhdimage in src/tools/periph/ which did exactly
what I wanted!  Thanks for the help, everything is working fine now!  :)

Bryan

On Wed, Jul 23, 2003 at 10:17:00PM +0400, Stas Sergeev wrote:
>I don't think it was removed. It is more
>like it was disabled in global.conf.
>A quick hack, such as modifying the line
>650 from "disk { image $yyy }" to something
>like "disk { wholedisk /dev/hda }" will still
>work if you cheat dosemu by setting $_hdimage
>to an existing image so that this line in
>global.conf is reached.
>However, what you do you'll still not be able
>to achieve. Dosemu needs to get a disk geometry
>before it can work with it as a wholedisk.
>It uses a HDIO_GETGEO ioctl command for that.
>This is not possible to do with an image file,
>therefore the image file must have some kind of
>a header to provide a geometry - that's why the
>mkfatimage16 exists.
>So mainly, it seems if you do a simple image
>file from your flash drive, there is not enough
>info to get any use of it - the geometry is also
>required.

  reply	other threads:[~2003-08-04 22:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 18:17 files as harddrives? Stas Sergeev
2003-08-04 22:02 ` Bryan Stillwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-05  3:26 Stas Sergeev
2003-07-22 16:37 Stas Sergeev
2003-07-22 16:59 ` Bryan Stillwell
2003-07-21 21:40 Bryan Stillwell
2003-07-22  9:01 ` Ged Haywood
2003-07-22 16:10   ` Bryan Stillwell
2003-07-22 16:54     ` Ged Haywood

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=20030804220256.GC6969@bokeoa.com \
    --to=bryan@bokeoa.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