Re: Ke: Floppy Handling

From: Pavel Machek (pavel@suse.cz)
Date: Sat Jun 17 2000 - 15:07:22 EST


Hi!

> > >Speaking of which: There are a few things that I dislike about the
> > >coda filesystem. For one, I can only mount ONE. If I use the real
> > >"coda" the userspace <-> codafs connection is taken, and I cannot
> > >run podfuk.
> >
> > Right. However fixing this is likely to be a lot easier than writing userfs.
> >
> > [There's one more deficiency: it works on whole files -> it is unusable for cdfs: reading whole track before givng first bytes of .wav to user is bad.
> >
> >
>
> This is still OK for floppies. Here's one approach: Usa a user space driver and the mtools libs. On open() read the file into VM. Pass writes through to
> the hardware. On close() kill the cache. If someone pulls the disk while the file is open, and the program tries to write the file, kill the app.

Well, try when you do cd /#a in podfuk, this is exactly what should
happen :-)))).

                                                                Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:16 EST