• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder & FS plug-in bug (creation, ranaming folders)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder & FS plug-in bug (creation, ranaming folders)


  • Subject: Re: Finder & FS plug-in bug (creation, ranaming folders)
  • From: Terry Lambert <email@hidden>
  • Date: Wed, 7 Nov 2007 11:13:05 -0800

On Nov 7, 2007, at 9:31 AM, Alexander Obuschenko wrote:
Hello!

There is a bug in our filesystem plug-in.
The steps to reproduce are the following:
- format volume
- mount volume
- open volume in the Finder
- create a new folder in the Finder (it will be called "untitled folder")
- rename it. For example to "FirstFolder"
- create another folder (it will be called "untitled folder")
- now, when clicking on the first folder ("FirstFolder"), it's name and contents will change to those of "untitled folder".
When double clicking on it the contents of the second folder will be shown.


This bug appears only when creating folders in the root folder.

ls /Volumes/Untitled/ will show the right contents of the disk, i.e:
FirstFolder
untitled folder

Everything is ok with the on-disk structures of the volume.
It seems the bug is related to Finder and its interaction with filesystem plug-in.

Carbon maintains a { volume id, file id } tuple for identifying files, and treats naming information as a user thing.


So when it goes to display a name, it does so by looking up the name from the tuple.

If you do not properly maintain separate, unique identifiers for different files in your on disk format, then you will see the behaviour you are seeing (generally, these correspond loosely to having different inode numbers coming back from stat/getattrlist).

-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Finder & FS plug-in bug (creation, ranaming folders) (From: Alexander Obuschenko <email@hidden>)

  • Prev by Date: Re: Finder & FS plug-in bug (creation, ranaming folders)
  • Next by Date: Eject oddity
  • Previous by thread: Re: Finder & FS plug-in bug (creation, ranaming folders)
  • Next by thread: Eject oddity
  • Index(es):
    • Date
    • Thread