summaryrefslogtreecommitdiffhomepage
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-27 22:09:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-27 22:09:28 +0200
commit1881ba48b1f43a312581796afc7a68b01e0e91a1 (patch)
treeb172c0b5e3e8efe9f890e02c67eef6acac25177c /util-linux
parent4fc5ec56f912b858ee7d64a2af2cbd24f2111b34 (diff)
Update a comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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;