#6346: KDL after unmounting an image file on a partition that is mounted read-only ----------------------------+----------------------------------------------- Reporter: taos | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: ----------------------------+----------------------------------------------- Comment (by jackburton): Replying to [comment:2 bonefish]: > Neither file system seems to bother to check whether the underlying device is writable. Both would need to to make this work. Or this could be handled in [http://dev.haiku- os.org/browser/haiku/trunk/src/system/kernel/fs/vfs.cpp?rev=37564#L7006 fs_mount()], which would be the easiest way. It's just a question of defining the semantics: Should it fail when `B_FS_IS_READONLY` is not given in such a case, or should it silently add the flag? Couldn't it add the flag and return the information in some way ? Otherwise, it'd be up to the user (the api user) to check the actual flags against the requested mount flags, after the call to fs_mount(). -- Ticket URL: <http://dev.haiku-os.org/ticket/6346#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.