Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 18:25:23 +0800
From:      "kai ouyang" <oykai@msn.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   How can I access the special disk sector in kernel?
Message-ID:  <F41Z60A8nA1cZU2ZZYE00001115@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,Everybody,
 I want to read a special sector from my disk in kernel, how can I do?
For example:
  I want to read the 48th sector in ad0. in kernel space, if I use the 
'open' , 'lseek' , 'read' and 'close', it is wrong!
So I do not know how to do.

Thank you!
Best Regards
 Ouyang Kai

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: 
http://messenger.microsoft.com/cn


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?F41Z60A8nA1cZU2ZZYE00001115>