#3723: Improving disk performance by changing VirtualMemory path -----------------------------------------+--------------------------- Reporter: haiqu | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Preferences/VirtualMemory | Version: R1/pre-alpha1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -----------------------------------------+--------------------------- Comment (by hamish): Yeah, my original idea was to use {{{dev_for_path()}}} from {{{fs_info.h}}}, but I realised that swap is initialized before the mount server is started, so only the boot device would be mounted. I've used the disk device manager to loop through the unmounted disks ({{{KDiskDeviceManager::NextDevice}}} and {{{KPartition::VisitEachDescendant}}}) but there seems to be no way to actually check the names of the volumes (which are needed, as the swap volume is specified in the preflet by name). -- Ticket URL: <http://dev.haiku-os.org/ticket/3723#comment:6> Haiku <http://dev.haiku-os.org> Haiku - the operating system.