Re: Linux 2.6

Michael Grigoriev <[email protected]>
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
On Mon, Dec 01, 2003 at 03:12:51PM +0100, John Ogness wrote:
> 1. setting up the /dev/dazuko device
> This is a bit tricky because I have not yet learned how this is done in
> the new kernel. devfs is apparently now obsolete, meaning I am supposed
> to use sysfs? I need to do a lot of reading to find out about this out.

I would recommend you use procfs for this. It's a simple and stable API that
has not changed from 2.4 to 2.6. For examples, see the Fuse project:
http://cvs.sourceforge.net/viewcvs.py/avf/fuse/kernel/dev.c?view=markup
(the relevant code is at the end of the file)

-- 
Have fun,
Michael "mag" Grigoriev                   I can make it all stop
[email protected]                         The pain, this nightmare
http://www.luminal.org                That's all I can offer you

_______________________________________________
Dazuko-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/dazuko-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/y9Sib8cf7vOocIoRAj6QAKDrO5YW6dl2PnuZWmQTfflOcrMrSQCgzmwF
hxfFqF0yXvCQeh1pCjHtOmY=
=3PtJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.