Quote:
Originally Posted by
daWonderer
I don't understand.
If a program tries to write on a disk it doesn't call a system function to get if it is writeenabled?
It calls a system call, yes.
The system call puts the changes
in memory. It doesn't go directly to the disk.
Quote:
why it doesn't check for this disk setting too?
This is not an operating system setting. It's not even a setting stored on the disk itself. This is a
hard drive setting where if you took the drive out and put it in a different system, it would theoretically persist there. Very low level. Poking this and then complaining that it doesn't work would be like manually tristating the lines then complaining it can't communicate.
Quote:
I tested the creation and editing of a file and OS told me the file is there and changed. After restart the file was still there.
Then I don't think your drive supports the hardware read-only feature.