When I open a file mounted via cd9660 as O_RDONLY and then flock(fd,LOCK_SH) it returns invalid argument; is there a reason why the cd-rom file system can't just return success here, make flock a no-op that is always successful? There are many cases where you want general code to use shared locks on files opened for reading to make sure that it doesn't get changed during the read. This general code should be useable on file systems mounted read only.
Thoughts? Is there an easy patch? Clark To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

