Merge pull request #10222 from vbatts/vbatts-dm_flag_and_output
dm flag and output
This commit is contained in:
commit
99232a99a9
2 changed files with 3 additions and 2 deletions
|
@ -341,8 +341,8 @@ func UdevSetSyncSupport(enable bool) bool {
|
||||||
|
|
||||||
// Useful helper for cleanup
|
// Useful helper for cleanup
|
||||||
func RemoveDevice(name string) error {
|
func RemoveDevice(name string) error {
|
||||||
log.Debugf("[devmapper] RemoveDevice START")
|
log.Debugf("[devmapper] RemoveDevice START(%s)", name)
|
||||||
defer log.Debugf("[devmapper] RemoveDevice END")
|
defer log.Debugf("[devmapper] RemoveDevice END(%s)", name)
|
||||||
task, err := TaskCreateNamed(DeviceRemove, name)
|
task, err := TaskCreateNamed(DeviceRemove, name)
|
||||||
if task == nil {
|
if task == nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
@ -86,6 +86,7 @@ const (
|
||||||
DmUdevDisableSubsystemRulesFlag = C.DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG
|
DmUdevDisableSubsystemRulesFlag = C.DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG
|
||||||
DmUdevDisableDiskRulesFlag = C.DM_UDEV_DISABLE_DISK_RULES_FLAG
|
DmUdevDisableDiskRulesFlag = C.DM_UDEV_DISABLE_DISK_RULES_FLAG
|
||||||
DmUdevDisableOtherRulesFlag = C.DM_UDEV_DISABLE_OTHER_RULES_FLAG
|
DmUdevDisableOtherRulesFlag = C.DM_UDEV_DISABLE_OTHER_RULES_FLAG
|
||||||
|
DmUdevDisableLibraryFallback = C.DM_UDEV_DISABLE_LIBRARY_FALLBACK
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in a new issue