mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 03:40:05 +01:00
Fix deferred remove test failure on non-udev systems.
Deferred remove non-udev enabled libdevmapper removes device mapper symlinks immediately. We have to check device size from sysfs attributes.
This commit is contained in:
committed by
Milan Broz
parent
26679e223c
commit
53b22cc32e
@@ -34,8 +34,6 @@
|
||||
#include "luks1/luks.h"
|
||||
#include "libcryptsetup.h"
|
||||
|
||||
#define DMDIR "/dev/mapper/"
|
||||
|
||||
#define DEVICE_1_UUID "28632274-8c8a-493f-835b-da802e1c576b"
|
||||
#define DEVICE_EMPTY_name "crypt_zero"
|
||||
#define DEVICE_EMPTY DMDIR DEVICE_EMPTY_name
|
||||
|
||||
Reference in New Issue
Block a user