summaryrefslogtreecommitdiff
path: root/util-linux/volume_id
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-27 22:09:28 +0200
committerDenys Vlasenko2009-06-27 22:09:28 +0200
commit1881ba48b1f43a312581796afc7a68b01e0e91a1 (patch)
treeb172c0b5e3e8efe9f890e02c67eef6acac25177c /util-linux/volume_id
parent4fc5ec56f912b858ee7d64a2af2cbd24f2111b34 (diff)
downloadbusybox-1881ba48b1f43a312581796afc7a68b01e0e91a1.zip
busybox-1881ba48b1f43a312581796afc7a68b01e0e91a1.tar.gz
Update a comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id')
-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 181b6db..a1786df 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;