blockdev-util: add partscan check function that takes an sd_device*
This commit is contained in:
@@ -40,7 +40,8 @@ int get_block_device_harder(const char *path, dev_t *dev);
|
||||
|
||||
int lock_whole_block_device(dev_t devt, int operation);
|
||||
|
||||
int blockdev_partscan_enabled(int fd);
|
||||
int blockdev_partscan_enabled(sd_device *d);
|
||||
int blockdev_partscan_enabled_fd(int fd);
|
||||
|
||||
int fd_is_encrypted(int fd);
|
||||
int path_is_encrypted(const char *path);
|
||||
|
||||
Reference in New Issue
Block a user