aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/volume_id/get_devname.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c
index 181b6db7e..a1786df1c 100644
--- a/util-linux/volume_id/get_devname.c
+++ b/util-linux/volume_id/get_devname.c
@@ -92,7 +92,9 @@ uuidcache_check_device(const char *device,
92 92
93 /* Users report that mucking with floppies (especially non-present 93 /* Users report that mucking with floppies (especially non-present
94 * ones) is significant PITA. This is a horribly dirty hack, 94 * ones) is significant PITA. This is a horribly dirty hack,
95 * but it is very useful in real world. */ 95 * but it is very useful in real world.
96 * If this will ever need to be enabled, consider using O_NONBLOCK.
97 */
96 if (major(statbuf->st_rdev) == 2) 98 if (major(statbuf->st_rdev) == 2)
97 return TRUE; 99 return TRUE;
98 100