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

  • From: "taos" <trac@xxxxxxxxxxxx>
  • Date: Mon, 19 Jul 2010 19:43:17 -0000

#6346: KDL after unmounting an image file on a partition that is mounted 
read-only
--------------------------------+-------------------------------------------
   Reporter:  taos              |        Owner:  nobody
       Type:  enhancement       |       Status:  new   
   Priority:  normal            |    Milestone:  R1    
  Component:  File Systems/FAT  |      Version:        
   Keywords:                    |   Blocked By:        
Has a Patch:  0                 |     Platform:  All   
   Blocking:                    |  
--------------------------------+-------------------------------------------
 In r37573, a fat32 partition is mounted read-only by default. If you mount
 an image file (e.g. haiku-nightly.image) on this read-only partition by
 double-clicking and you subsequently try to unmount the image file via the
 right-click context menu, you'll visit kernel debugger land (see attached
 syslog_short.txt). After leaving KDL you have to force-unmount the fat32
 partition.

 If the fat32 partition is instead mounted with read and write access, you
 can mount and unmount image files (that afaik are always mounted with
 write access by default) without a problem. The fat32 partition can also
 be unmounted in the normal way.

 It would be nice if Haiku would prevent you from mounting an image file on
 a read-only partition by a simple double-click or if Haiku would at least
 show a warning. Entering KDL could be a little irritating for an
 unexperienced first-time user of Haiku.

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

Other related posts: