Re: How does the Finder decide that two drives are on the same partition?
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