aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-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,
/* Users report that mucking with floppies (especially non-present
* ones) is significant PITA. This is a horribly dirty hack,
- * but it is very useful in real world. */
+ * but it is very useful in real world.
+ * If this will ever need to be enabled, consider using O_NONBLOCK.
+ */
if (major(statbuf->st_rdev) == 2)
return TRUE;