Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 16:58:34 +0200
From:      Hanspeter Roth <hanspeter_roth@hotmail.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: How can I access the special disk sector in kernel?
Message-ID:  <20020920165834.A699@snoopy.cablecom.ch>
In-Reply-To: <F25fvMDHgHJXTIq8gDx00004950@hotmail.com>; from oykai@msn.com on Tue, Sep 17, 2002 at 06:25:23PM %2B0800
References:  <F25fvMDHgHJXTIq8gDx00004950@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Sep 17 at 18:25, kai ouyang spoke:

>   I want to read the 48th sector in ad0. in kernel space, if I use the 
> 'open' , 'lseek' , 'read' and 'close', it is wrong!

Does `open' fail? How does it fail?

NB: you're using charset=gb2312. Why not something like us-ascii?
(This list is English.)

-Hanspeter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920165834.A699>