summaryrefslogtreecommitdiff
path: root/libudev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-04-13 08:52:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-04-13 08:52:48 +0200
commit1f084fe5811ce251d516a8022f8c7c27d0ef1f53 (patch)
treeee6820255a29c135a37895304e22d9bf889dc83f /libudev/libudev-private.h
parent236fae6cf1a619a92174efdf84cd7d91e7d4348d (diff)
remove "all_partitions" option
We can not predict the major/minor of non-existing devices: $ grep . /sys/class/block/sd*/dev /sys/class/block/sda1/dev:259:524288 /sys/class/block/sda2/dev:259:262144 /sys/class/block/sda3/dev:259:786432 /sys/class/block/sda4/dev:259:131072 /sys/class/block/sda/dev:259:0 /sys/class/block/sdb/dev:259:655360 /sys/class/block/sdc/dev:259:393216 If this functionality is still needed for some broken hardware, it needs to be solved with a tool not part of the udev package. Because such option is unreliable and unsafe to use.
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r--libudev/libudev-private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h
index 3f2861f519..bf9e923b6d 100644
--- a/libudev/libudev-private.h
+++ b/libudev/libudev-private.h
@@ -93,8 +93,6 @@ int udev_device_get_event_timeout(struct udev_device *udev_device);
int udev_device_set_event_timeout(struct udev_device *udev_device, int event_timeout);
int udev_device_set_devnum(struct udev_device *udev_device, dev_t devnum);
int udev_device_set_seqnum(struct udev_device *udev_device, unsigned long long int seqnum);
-int udev_device_get_num_fake_partitions(struct udev_device *udev_device);
-int udev_device_set_num_fake_partitions(struct udev_device *udev_device, int num);
int udev_device_get_devlink_priority(struct udev_device *udev_device);
int udev_device_set_devlink_priority(struct udev_device *udev_device, int prio);
int udev_device_get_ignore_remove(struct udev_device *udev_device);