summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-13 22:33:01 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-13 22:33:01 +0200
commit9ead662791b5e59a95b6c5a9351d661cb61d76bb (patch)
tree392eb083d47cc9de102fed885c4d8477103bc89c /libudev/libudev-private.h
parent09913ced8c6c081840c27a9f2ae4d430045a7c68 (diff)
udevadm: info --cleanup-db
Most of the udev database from initramfs should be deleted before starting udev in the real root. udevadm: info --cleanup-db deletes all database entries in /run/udev. Events that processed IMPORT{db}, or mark devices explicitely as persistent, will be excluded.
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index f6137b5dc7..c57a89873c 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -109,6 +109,8 @@ int udev_device_set_watch_handle(struct udev_device *udev_device, int handle);
int udev_device_get_ifindex(struct udev_device *udev_device);
int udev_device_set_ifindex(struct udev_device *udev_device, int ifindex);
void udev_device_set_info_loaded(struct udev_device *device);
+bool udev_device_get_db_persist(struct udev_device *udev_device);
+void udev_device_set_db_persist(struct udev_device *udev_device);
/* libudev-device-private.c */
int udev_device_update_db(struct udev_device *udev_device);