Re: To find if a file is fragmented
Re: To find if a file is fragmented
- Subject: Re: To find if a file is fragmented
- From: Jens Alfke <email@hidden>
- Date: Tue, 08 Apr 2014 07:32:26 -0700
On Apr 8, 2014, at 7:19 AM, Nick Rogers <email@hidden> wrote:
> I just need to know, if a file is fragmented or not. I don’t need the frags details etc.
> Its for showing extended info about the selected file, like whether it is fragmented or not.
That’s a weird idea IMHO — it seems like a much lower-level detail than what the file system’s APIs would expose, or what a user would care about. And what does “fragmented” mean exactly? Is a file fragmented if even one of its sectors is not exactly contiguous with the others? Does this even matter on SSDs, where seek time is a non-issue?
I’ve never heard of any API for this and I’d be very surprised if there were one, since this info really only matters to the filesystem itself and perhaps some specialized filesystem tools like fsck.
In any case, this is way outside scope for Cocoa-dev. I suggest you check whether there’s an Apple list that’s focused on filesystems.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden