diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-13 08:52:48 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-13 08:52:48 +0200 |
commit | 1f084fe5811ce251d516a8022f8c7c27d0ef1f53 (patch) | |
tree | ee6820255a29c135a37895304e22d9bf889dc83f /udev/udevadm-info.c | |
parent | 236fae6cf1a619a92174efdf84cd7d91e7d4348d (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 'udev/udevadm-info.c')
-rw-r--r-- | udev/udevadm-info.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c index 47114092d7..c57620feef 100644 --- a/udev/udevadm-info.c +++ b/udev/udevadm-info.c @@ -142,10 +142,6 @@ static void print_record(struct udev_device *device) if (i != 0) printf("L: %i\n", i); - i = udev_device_get_num_fake_partitions(device); - if (i != 0) - printf("A: %u\n", i); - i = udev_device_get_ignore_remove(device); if (i != 0) printf("R: %u\n", i); |