-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Our test code now assumes that we are using the lvm devices file,
as this is now the default on most distros. As such we've added cleanup code to handle such situations. - Added an additional check function called checkLVMDevicesFile() that will examine the lvm devices file and remove any orphaned entries. Orphaned entries exist in the file but have no associated device. - Renamed checkLVM to checkDeviceStack and reworked the code to so that it handles all our devices, including the removal of devices from the lvm devices file. - Make sure we don't try to use the devices file if the distro does not support that. Signed-off-by: Bruce Johnston <[email protected]>
- Loading branch information
Showing
1 changed file
with
167 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters