Re: Finding Blocks occupied by the file on the volume
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AkC3Ayu3OAlJ+4WK+GCIaYSkiJRvBJdXmOcNZahKlAlLz7qdcu8IcqFiJ7tZTR0c4Iqy5iGJYZc+iyXz4tzzbMiaHs7U7aHdm8N6U94hVaBIHJ+zX6ErnDwmAupUPe6K6xdImYaZS4ehYxi0+o/0z0YXR6Wm94A/ml6rdwz99dg= hello everybody since HFS+ can track up to eight fragments in a file's catalog record. If a file has more than eight fragments, HFS+ creates additional records, called extent records, to track the extra fragments. i want to know how to read the eight fragments stored in file's catalog record Are their any api's so that i can achieve this using carbon or cocoa programming. Thanks santosh k ------------------------------------------------------------------------------------------------------------------------ On 7/20/05, santosh katvate <santosh.nk@gmail.com> wrote:
hello quinn
i just want to retreive the location (i.e block numbers) of a file on the partition using an application program( carbon or cocca). and i don't want to build iDefrag. i only want to know how they may have retreived the actual block numbers of the files and its fragments.
so is their any api's to do this. how to go ahead to achieve this
Thanks santosh k
On 7/19/05, Quinn <eskimo1@apple.com> wrote:
At 19:48 +0530 19/7/05, santosh katvate wrote:
there is a software which is able to get the data/resource fork info of the files. i also want to get that info. http://www.coriolis-systems.com/iDefrag-2.php
Are you saying that you're writing iDefrag, or that it's an existence proof that the information you need is available?
If the latter, can you provide some high-level details about what you're trying to achieve. Doing logical to physical block mapping from within an I/O Kit media filter is going to be... tricky.
S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/santosh.nk%40gmail.com
This email sent to santosh.nk@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
santosh katvate