From: Natsakis Konstantinos <cyfex@mail.com>
To: linux-kernel@vger.kernel.org
Subject: Proposal: Bastard floppy and ramdisk block device.
Date: Mon, 26 May 2003 10:08:35 +0300 [thread overview]
Message-ID: <20030526100835.1949c872.cyfex@mail.com> (raw)
I've written a module for the kernel that handles a new binary block device (i call it /dev/flpemu) which acts partly as a virtual floppy. The handler is a stripped down version of the ramdisk driver with the addition that it supports the FDGETPRM ioctl. The return structure of this ioctl is arbitrarily defined in the source. For example it can be set to always return the parameters for a 1440k 3 1/2 floppy.
The use of this bastard device is to be able to install lilo on a floppy disk image previously uploaded on the /dev/flpemu's buffer.
This allows the automation of the process of creating bootable floppy disks as there is no need for an actual floppy disk or even a floppy controller. It certainly made my life easier. So what I'm asking is:
Is there any interest for such a strange thing?
And if yes what would be the best way to implement it?
Would it be better to add 2 ioctls to the ramdisk driver (One to set the parameters and one to get them) instead of creating a new device?
Is this maybe stupid altogether?
Should it be implemented on lilo's side alone?
Should this be extended maybe to support a wider range of floppy ioctl in order to be usefull?
thank you.
cyfex
reply other threads:[~2003-05-26 6:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030526100835.1949c872.cyfex@mail.com \
--to=cyfex@mail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®