Date: Thu, 28 Jan 1999 13:31:49 -0500 From: "Md. Ahsan Habib" <mhabib@vt.edu> To: <freebsd-questions@FreeBSD.ORG> Subject: writing in /dev/kmem Message-ID: <000201be4aec$ebc66e60$6f29ad80@briar.cs.vt.edu>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BE4AC2.8ECFB380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I am doing some experiments in FreeBSD platform. I need to write in = /dev/kmem. I can open it using open system call, I can change the = pointer inside it using lseek but when I am trying to write something in = it using write system call the write always returns -1. I do not know = what's the problem. I will appreciate any help regarding this. Thanking you, --Ahsan Habib NRG, Virginia Tech. ------=_NextPart_000_0004_01BE4AC2.8ECFB380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>Hi</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>I am doing some experiments in = FreeBSD platform.=20 I need to write in /dev/kmem. I can open it using open system call, I = can change=20 the pointer inside it using lseek but when I am trying to write = something in it=20 using write system call the write always returns -1. I do not know = what's the=20 problem. I will appreciate any help regarding this.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>Thanking you,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>--Ahsan Habib</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>NRG, Virginia = Tech.</FONT></DIV></BODY></HTML> ------=_NextPart_000_0004_01BE4AC2.8ECFB380-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201be4aec$ebc66e60$6f29ad80>