Thread (3 messages) 3 messages, 2 authors, 2011-10-06

Re: [PATCH] xfstests: 261: test failures caused by bogus mtab entries

From: Alex Elder <hidden>
Date: 2011-10-06 20:14:37

On Thu, 2011-10-06 at 15:49 -0400, Christoph Hellwig wrote:
quoted
+mtab=/proc/self/mounts
+if [ ! -r "${mtab}" ]; then
+    mtab=/etc/mtab
+    if [ ! -r "${mtab}" ]; then
+	echo "warning: proceeding without use of mount table" >&2
+    fi
+fi
Just use /proc/self/mounts unconditionally, it's been there for a long
time.
OK.  I was just following the logic embedded in libxcmd
but I do prefer keeping it simple.

					-Alex
Otherwise looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help