[haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- From: "François Revol" <revol@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 22 Oct 2007 07:37:49 +0200 CEST
> "David Beckman" <mahasomapa@xxxxxxxxx> wrote:
> > If the driver was to work with 720k floppies, how would I gain
> > direct
> > disk
> > access without first mounting the disk.
>
> int fd = open("/dev/disk/floppy/raw", O_RDONLY);
Yes it should sense the density (by trying each one IIRC) when it
detects a new media.
It's possible it publishes in floppy/{0,1}/raw now btw, depends on an
#if.
François.
- References:
- [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- From: Axel Dörfler
Other related posts:
- » [haiku-development] Greetings - Haiku: 720k DD Floppy Access
- » [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- » [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- » [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- » [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- » [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- [haiku-development] Re: Greetings - Haiku: 720k DD Floppy Access
- From: Axel Dörfler