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:  <F25fvMDHgHJXTIq8gDx00004950@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 Hotmail。http://www.hotmail.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?F25fvMDHgHJXTIq8gDx00004950>