summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-27 20:09:28 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-06-27 20:09:28 (GMT)
commit1881ba48b1f43a312581796afc7a68b01e0e91a1 (patch)
treeb172c0b5e3e8efe9f890e02c67eef6acac25177c
parent4fc5ec56f912b858ee7d64a2af2cbd24f2111b34 (diff)
downloadbusybox-1881ba48b1f43a312581796afc7a68b01e0e91a1.tar.gz
busybox-1881ba48b1f43a312581796afc7a68b01e0e91a1.tar.bz2
Update a comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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;