A few questions.....

Jeff Garzik (androsyn@i95.com)
Thu, 24 Jun 1999 08:48:04 -0400 (EDT)


I am considering writing a new feature for Linux. Basically it would
allow you to open arbitrary URLs with the open() call. Something like
open("http://somehost/~somepage/foo.tar.gz", O_RDONLY)
or
open("ftp://somehome/foo.tar.gz", O_RDONLY)

The question I have is would this be more effciently done in
userspace(libc, etc...) or does this functionality belong in the kernel.
I was thinking if I did go the kernel route having separate modules that
could be loaded via kmod to handle various protocols. Another question is
how would one do DNS lookups in the kernel?? I'd assume some callback to
userspace to do the lookup. Also where would be the ideal place to put
the hook into the kernel? Would it go in somewhere like sys_open() or
elsewhere?

Thanks,

Aaron

-
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/