开发者

I need raw read data from and write data into drive..help

开发者 https://www.devze.com 2022-12-09 00:37 出处:网络
I need raw read data from and write data into drive..not via existed filesystem like fat32 or something....i just wanna raw write read......

I need raw read data from and write data into drive..not via existed filesystem like fat32 or something....i just wanna raw write read...... I was told in Windows i can use CreateFile WriteFile and ReadFile APIs to access data in drive directly... but I dont know in Lin开发者_StackOverflow社区ux whether there r similar functions....

dont tell me to use hardware driver programming, coz i am just a newbie in linux programming.. thanx a lot....


Files /dev/hd* and /dev/sd*, depending on your setup, contain raw disk data. You need root account usually.

Use mount command to find out which disks/partitions are mapped to which files.

0

精彩评论

暂无评论...
验证码 换一张
取 消