commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1734] 2008-07-27 Pavel Roskin <address@hidden>


From: Pavel Roskin
Subject: [1734] 2008-07-27 Pavel Roskin <address@hidden>
Date: Sun, 27 Jul 2008 05:57:10 +0000

Revision: 1734
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1734
Author:   proski
Date:     2008-07-27 05:57:10 +0000 (Sun, 27 Jul 2008)

Log Message:
-----------
2008-07-27  Pavel Roskin  <address@hidden>

        * util/getroot.c (find_root_device): Rephrase a comment to avoid
        spurious warnings about a comment within a comment.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/getroot.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2008-07-25 19:05:06 UTC (rev 1733)
+++ trunk/grub2/ChangeLog       2008-07-27 05:57:10 UTC (rev 1734)
@@ -1,3 +1,8 @@
+2008-07-27  Pavel Roskin  <address@hidden>
+
+       * util/getroot.c (find_root_device): Rephrase a comment to avoid
+       spurious warnings about a comment within a comment.
+
 2008-07-25  Robert Millan  <address@hidden>
 
        * util/getroot.c (find_root_device): Skip devices that match

Modified: trunk/grub2/util/getroot.c
===================================================================
--- trunk/grub2/util/getroot.c  2008-07-25 19:05:06 UTC (rev 1733)
+++ trunk/grub2/util/getroot.c  2008-07-27 05:57:10 UTC (rev 1734)
@@ -230,8 +230,8 @@
       if (S_ISBLK (st.st_mode) && st.st_rdev == dev)
        {
 #ifdef __linux__
-         /* Skip useless device names like /dev/dm-0, which prevent us from
-            finding /dev/mapper/*, /dev/evms/*, /dev/md*, etc.  */
+         /* Skip device names like /dev/dm-0, which are short-hand aliases
+            to more descriptive device names, e.g. those under /dev/mapper */
          if (ent->d_name[0] == 'd' &&
              ent->d_name[1] == 'm' &&
              ent->d_name[2] == '-' &&






reply via email to

[Prev in Thread] Current Thread [Next in Thread]