[haiku-bugs] Re: [Haiku] #2149: Haiku does not update name of a renamed volume until after a reboot

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 May 2011 16:30:21 -0000

#2149: Haiku does not update name of a renamed volume until after a reboot
-----------------------------+---------------------------
   Reporter:  scottmc        |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/pre-alpha1
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:  4833
Has a Patch:  0              |   Platform:  All
-----------------------------+---------------------------

Comment (by bonefish):

 I suppose the problem is that the file system implementations don't notify
 the disk device manager (DDM) that the name changed. E.g.
 `bfs_write_fs_stat()` changes BFS's internal/on-disk data structures, but
 doesn't tell the DDM. It would have to get the corresponding `KPartition`
 and call `SetName()` on it.

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

Other related posts: