各位能告诉一下怎样在linux下读写引导扇区吗?需要用到是么函数或者调用是么中断?Thanks
回复(8) 2002-08-06 09:38 来自版块 - LINUX&UNIX核心开发
表情
simbadd if=/dev/hdx of=XXX bs=512 count=1 man dd先 而后看看source...(2002-08-21 15:28)
sunsetyangserach the source code of dd, then use the code. Perhaps open /dev/hda then read it will do. 能告诉以下怎么写吗? thanks (2002-08-17 18:02)
masmasm能告诉以下怎么写吗? thanks(2002-08-13 18:44)
sunsetyang请问biosdisk在是么头文件中定义的 thank you 怎么这么麻烦?用dd /dev/hdx不就可以读出hdx的mbr了么?(2002-08-10 12:25)
masmasm请问biosdisk在是么头文件中定义的 thank you(2002-08-10 02:12)
zhanshi我是新手,我觉得应该这样: 你写一个系统调用,系统调用代码中直接用i/o操作硬盘 别见笑,我还没读到驱动(2002-08-09 22:00)
longge给你一段程序是保存mbr用的!你自己参看参看吧,很简单! #include <stdio.h> #include <stdlib.h> #include <dos.h> #include <bios.h> #inclu...(2002-08-06 18:50)
longge取得内核级权限后,用汇编都啊,我也没试过?(2002-08-06 15:27)

返回顶部