First post, by eadmaster
is there a way mount a local hdd directory as readonly?
I guess "-freesize 0" is not the same thing as readonly,right?
is there a way mount a local hdd directory as readonly?
I guess "-freesize 0" is not the same thing as readonly,right?
"-freesize 0" will probably stop some things, but it probably won't stop everything. (I see no reason why it would stop a program from overwriting existing files, for instance.)
"-t cdrom" might do the trick, but your best solution might be to change the read-only attributes (or their security privileges) of the relevant files from within Windows.
What exactly are you trying to do?
thanks for your suggestions, this is mainly for security purposes...
yeah the best is to use the ACL to set permission, if you're using NT
though setting the ACL is pita unlike the easiness on UNIX -rwx permission
to be noted that real DOS only aware of read-only drive for floppy & cd-rom,
so some program might behave wrongly if its expect a write-able drive but unable to write on it.
-fffuuu