Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Hi</FONT></DIV>
<DIV><FONT color=#000000 size=2>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&nbsp; help regarding this.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Thanking you,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>--Ahsan Habib</FONT></DIV>
<DIV><FONT color=#000000 size=2>NRG, Virginia Tech.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201be4aec$ebc66e60$6f29ad80>