[haiku-bugs] Re: [Haiku] #6346: KDL after unmounting an image file on a partition that is mounted read-only

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 19 Jul 2010 21:16:14 -0000

#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 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?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6346#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: