Commit Graph

6 Commits

Author SHA1 Message Date
pooka
789329033b Handle DIOCGPART in-kernel because a userspace server doesn't have
a chance in phobos of handling it.  This makes it possible to do a
kernel mount of most file systems with the block device backed by
a pud userspace server.

-  i'm too young to compile
-  hey, no tty rough
-  hurd me plenty
=> abstraction-violence
-  nightmare!
2009-12-22 17:32:03 +00:00
pooka
6c9d0b51cb fix pasto 2009-12-22 14:12:40 +00:00
pooka
2bde3fa647 Support bdev/cdev ioctl. 2007-11-22 11:26:27 +00:00
pooka
750d633918 Add support for block devices. 2007-11-21 18:10:48 +00:00
pooka
2f06310f4b mmap should return -1 on error. Also, shuffle functions around to
make this more feng shui.
2007-11-21 11:19:44 +00:00
pooka
001b8e986e Add initial support for userspace block/char device drivers. This
is a very rough cut supporting only open/close/read/write for char
devices for the time being.  It also takes some extra liberties in
error value processing wrt. to the request-response protocol, but
that will be fixed later.  On the bright side, I haven't managed
to crash my test kernel in several hours with this anymore, so it
can be considered extra-stable ...  All in all this is remarkably
similar to puffs from multiple angles (well, actually, big surprise
there) and these two will share more and more code in the future.

The hardest part, coming up with the name, was done by agc.  I'm
not exactly sure what "pud" is supposed to stand for, but if my
British is anything close to par, I understand that "pud" over
there can stand for just about anything, so it's a safe bet.
2007-11-20 18:47:05 +00:00