hints for a "virtual disk" implementation
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=jq4QfbaO/IyHnw2cXVTohq+u4V27Uz79JV44Jffnoh0=; b=wND7L00SRNYhKxKdgGuYZC9kJBbThza/sEc+pAJa6AqKgoUrtTP+vYHKYhwwBJH5EeED4DIdVbjBXXhale3q+elfgg7933e89kTY7TKO5f5RMz1GRg1x1l7a2HjblQQ/XKOBGO9Cn9WUS3T2VnA3iQnjM4WjibSYP4aobdb138A= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CHkdvETqKR0d0zgwMtysK2tY8N6HfxbOV4TQ66lEGb570n0CZsVu10gPOFKNwEHVWimd+QaGgGbeQrXfUuiRxfJiYRm4EzByqAw/vr5IhGXkEYC3wI2jTkistLuToGp368lBaUw2sS6m7/dEv+3Pfp8/gq9V/KMOeGOClOETB8Y= Hello I need to develop a virtual block device which will be used for testing filesystem operations with files larger than 16TB or so. Obviously all this space should be virtual (in a sparse image sense), however there should be some kind of backing store to hold the filesystem meta data. Since meta data is written at different places in the volume (hfs+ keeps a backup at the end of the device and so on, a backing store for certain "ranges" should be used. The backing stores should be configurable (I was thinking of providing bsd names and searching the I/O Kit registry for IOMedia objects, and attaching them to my driver). Another solution would be to implement the driver as a filter scheme but this is inflexible since backing store cannot be configured easily. Although the first solution seems more appropriate, I need to implement a whole driver stack for virtual devices (like the apple disk image drivers), but unfortunately I can't find sufficient documentation for this task. I'd like to know if there are more appropriate solutions and other hints that might be useful. Thanks in advance V. _______________________________________________ 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)
-
Valentin Slavov