Crate ramdisk_common

source ·

Functions

Given a realm instance and a ramdisk, formats that disk under //fvm/-p-1/block as a zxcrypt disk.
Given a realm instance, return a DirectoryProxy which is a client to
Given a realm instance, return a File which is /dev, taken as a handle.
Given a realm instance, opens //fvm/-p-1/block/zxcrypt and returns a proxy to it.
Given a realm instance, a GUID, and the name of some RAM partition, allocates that volume in RAM and returns the RamDiskClient by value. NB: Callers should retain this client in a test framework, since dropping RamdiskClient destroys the disk.