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.
精彩评论