Patent attributes
Device write operations may be controlled by receiving a request to perform a write operation to a device and determining whether the device is activated or inactivated. If the device activated, the device may be accessed to perform the requested write operation. If the device is inactivated, the write operation may be buffered to physical memory. Device read operations may be controlled by receiving a request from a process to read a portion of a file from a device and determining whether a limited power condition exists. If a limited power condition does not exist, the device is accessed to read the requested file portion into memory. If a limited power condition exists, the device is accessed to read a superset (either the entire file or less than the entire file) of the requested file portion into memory.