Mail Archives: cygwin-developers/1999/01/25/21:25:25
On Mon, Jan 25, 1999, Sergey Okhapkin wrote:
>
> How will you implement "mount -g" this case? What about to open
> global area in read only mode only if open in read/write mode fails?
OK, I've rewritten things such that mounts are always read in KEY_READ
mode which will succeed for both user and global mounts.
Now the trick is to detect failure and make mounts to the system
registry fail correctly when the user doesn't have the necessary
permissions to create a system mount. As things stand now, the system
mount appears to succeed but the mount only makes it into the internal
mount table to dissappear the next time mounts are read. Shouldn't
be too hard to fix...
--
Geoffrey Noer
noer AT cygnus DOT com
- Raw text -