• 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: How does the Finder decide that two drives are on the same partition?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does the Finder decide that two drives are on the same partition?


  • Subject: Re: How does the Finder decide that two drives are on the same partition?
  • From: Jim Luther <email@hidden>
  • Date: Wed, 14 Apr 2010 08:54:44 -0700

In the case you're describing, I believe the File Manager takes the f_mntfromname string from statfs(), and then uses IOKit routines to determine if they are on the same device.

- Jim

On Apr 13, 2010, at 8:56 PM, Jim O'Connor wrote:

> When I make two "local" disks via MacFuse and I try to eject one of them the Finder insists on warning me that there are two drives on the same partition, and giving me the option to unmount all of them or just the one I tried to. This is very inconvenient for me.
>
> The mount command shows:
>
>
> MyFS@fuse0 on /Volumes/MyFS_2Gig (...)
> MyFS@fuse1 on /Volumes/MyFS_4Gig (...)
>
> My suspicion is that the Finder just looks for the mountFrom value then calls volumes partitions on the same disk if they only vary in the last number.
>
> Thoughts?
>
> Thanks,
> Jim O'Connor _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

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

This email sent to email@hidden

References: 
 >How does the Finder decide that two drives are on the same partition? (From: Jim O'Connor <email@hidden>)

  • Prev by Date: How does the Finder decide that two drives are on the same partition?
  • Next by Date: Re: Read File Sharing status
  • Previous by thread: How does the Finder decide that two drives are on the same partition?
  • Next by thread: Re: Read File Sharing status
  • Index(es):
    • Date
    • Thread