diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-19 19:54:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-19 19:54:49 +0000 |
commit | 802a7be54ffcf6e45808d72e2562456bba564028 (patch) | |
tree | 010f2fb9085765270dd335650ee3c5ff0cba1f60 | |
parent | 582dff051459b1394a48dec1f29a29e2442661a0 (diff) | |
download | busybox-w32-802a7be54ffcf6e45808d72e2562456bba564028.tar.gz busybox-w32-802a7be54ffcf6e45808d72e2562456bba564028.tar.bz2 busybox-w32-802a7be54ffcf6e45808d72e2562456bba564028.zip |
add comment explaining previous change
-rw-r--r-- | util-linux/volume_id/get_devname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c index e99c15b02..d82808fa2 100644 --- a/util-linux/volume_id/get_devname.c +++ b/util-linux/volume_id/get_devname.c | |||
@@ -107,6 +107,17 @@ uuidcache_init(void) | |||
107 | if (uuidCache) | 107 | if (uuidCache) |
108 | return; | 108 | return; |
109 | 109 | ||
110 | /* We were scanning /proc/partitions | ||
111 | * and /proc/sys/dev/cdrom/info here. | ||
112 | * Missed volume managers. I see that "standard" blkid uses these: | ||
113 | * /dev/mapper/control | ||
114 | * /proc/devices | ||
115 | * /proc/evms/volumes | ||
116 | * /proc/lvm/VGs | ||
117 | * This is unacceptably complex. Let's just scan /dev. | ||
118 | * (Maybe add scanning of /sys/block/XXX/dev for devices | ||
119 | * somehow not having their /dev/XXX entries created?) */ | ||
120 | |||
110 | recursive_action("/dev", ACTION_RECURSE, | 121 | recursive_action("/dev", ACTION_RECURSE, |
111 | uuidcache_check_device, /* file_action */ | 122 | uuidcache_check_device, /* file_action */ |
112 | NULL, /* dir_action */ | 123 | NULL, /* dir_action */ |