From owner-freebsd-questions Thu Jan 28 10:34:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23068 for freebsd-questions-outgoing; Thu, 28 Jan 1999 10:34:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23059 for ; Thu, 28 Jan 1999 10:34:46 -0800 (PST) (envelope-from mhabib@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id NAA25757 for ; Thu, 28 Jan 1999 13:34:31 -0500 (EST) Received: from briar (briar.cs.vt.edu [128.173.41.111]) by sable.cc.vt.edu (8.8.8/8.8.8) with SMTP id NAA18740 for ; Thu, 28 Jan 1999 13:34:31 -0500 (EST) Message-ID: <000201be4aec$ebc66e60$6f29ad80@briar.cs.vt.edu> From: "Md. Ahsan Habib" To: Subject: writing in /dev/kmem Date: Thu, 28 Jan 1999 13:31:49 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BE4AC2.8ECFB380" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
Hi
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.
 
Thanking you,
 
--Ahsan Habib
NRG, Virginia = Tech.
------=_NextPart_000_0004_01BE4AC2.8ECFB380-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message