changeset: 10:99dfa9d53535
tag: tip
user: Dimitrios Papastamos <stateless [at] archlinux.us>
date: Sat May 09 16:16:33 2009 -0700
files: ChangeLog skvm.c
description:
Added cosmetic comments, and updated ChangeLog.
diff -r 595ebf5a15ab -r 99dfa9d53535 ChangeLog
--- a/ChangeLog Tue May 05 16:31:40 2009 -0700
+++ b/ChangeLog Sat May 09 16:16:33 2009 -0700
@@ -1,5 +1,5 @@
skvm
----
-2009-04-25 (v0.1) Dimitrios Papastamos <stateless [at] archlinux.us>
+2009-05-08 (v0.1) Dimitrios Papastamos <stateless [at] archlinux.us>
* v0.1 has been released
diff -r 595ebf5a15ab -r 99dfa9d53535 skvm.c
--- a/skvm.c Tue May 05 16:31:40 2009 -0700
+++ b/skvm.c Sat May 09 16:16:33 2009 -0700
@@ -513,6 +513,7 @@
if (!(fp = setmntent("/etc/fstab", "r")))
return;
+ /* retrieve the uuid of the device */
if ((did = strrchr(device->did, '/'))) {
did = strstr(did, "uuid");
if (did) {
@@ -523,6 +524,7 @@
}
while ((entry = getmntent(fp))) {
+ /* check if we have an entry in fstab that suits our needs */
if (!strcmp(device->dev, entry->mnt_fsname)
|| (did && strstr(entry->mnt_fsname, "UUID=")
&& strstr(entry->mnt_fsname, did))
Received on Sat May 09 2009 - 15:16:54 UTC
This archive was generated by hypermail 2.2.0 : Sat May 09 2009 - 15:24:08 UTC