Hi gurus,
I'm willing to create my own file system, which I will use for my external hard disk. Can anyone tell me how to read binary data from the hard disk and write to it. Thanks 4 help.
[Problem Resolved]
I searched MSDN and used the WIN32 API CreateFile() to open the physical drive and the WIN32 API ReadFile() to store the data into a buffer.
[Problem Resolved]
I searched MSDN and used the WIN32 API CreateFile() to open the physical drive and the WIN32 API ReadFile() to store the data into a buffer.
That's not exactly creating your own file system though...
For your own FS, you would need to first come up with a physical storage method, including directories and allocations on disk, then write an Installable File System driver for Windows to use it.
That's not exactly creating your own file system though...
For your own FS, you would need to first come up with a physical storage method, including directories and allocations on disk, then write an Installable File System driver for Windows to use it.
Which is why I asked if you were joking.
Wakeup in the morning and kick the day in the teeth!! Or something like that.
"i don't want to write leak free code or most efficient code, like others traditional (so called expert) coders do."
I know how to use fstreams for handling files, but my problem is that I want to access a physical drive. Is there a way fstreams can access physical drives?
Bookmarks