I am studying the FAT32 manual, now i want to write a program to browse the device. How to read a specific sector of the device, i do not want to load the entire device as a file into memory, please suggest some system call's to get started.
Asked
Active
Viewed 278 times
1 Answers
2
Find the block device in /dev/
, then your system calls are open
, lseek
, and read
. Higher level stuff like fopen
, fseek
, and fread
will work too. Everything is a file.
-
Thanks, wumpus, forgot the bascis... :) – 51k May 25 '13 at 06:11