From owner-freebsd-questions Thu Jan 28 14:54:19 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA01198 for freebsd-questions-outgoing; Thu, 28 Jan 1999 14:54:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA01193 for ; Thu, 28 Jan 1999 14:54:17 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.2/8.6.9) with ESMTP id XAA38762; Thu, 28 Jan 1999 23:19:05 +0100 (CET) Message-Id: <199901282219.XAA38762@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: "Md. Ahsan Habib" cc: freebsd-questions@FreeBSD.ORG Subject: Re: writing in /dev/kmem Reply-To: Gary Jennejohn In-reply-to: Your message of "Thu, 28 Jan 1999 13:31:49 EST." <000201be4aec$ebc66e60$6f29ad80@briar.cs.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Jan 1999 23:19:05 +0100 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Md. Ahsan Habib" writes: >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. > what does perror show ? This would help to narrow down the cause of the error. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message