From: Nathan Scott <nathans@xfs.org>
To: xfs@oss.sgi.com
Subject: [PATCH] fix xfs_admin command PATH
Date: Thu, 28 Sep 2006 10:53:36 +1000 [thread overview]
Message-ID: <1159404816.3497.15.camel@edge> (raw)
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
Hi,
I noticed an error labelling a filesystem on Fedora the other day,
this should fix it. Possibly other scripts are affected, dunno -
the problem occurs when /usr/sbin is not in the PATH (it typically
happens after a su to root).
cheers.
--
Nathan
[-- Attachment #2: admin.patch --]
[-- Type: text/x-patch, Size: 304 bytes --]
--- /fedora/usr/sbin/xfs_admin.orig 2006-09-26 16:01:10.000000000 +1000
+++ /fedora/usr/sbin/xfs_admin 2006-09-26 16:01:47.000000000 +1000
@@ -33,6 +33,7 @@
OPTS=""
USAGE="Usage: xfs_admin [-efluV] [-L label] [-U uuid] special"
+export PATH="/sbin:/usr/sbin:$PATH"
while getopts "efluL:U:V" c
do
reply other threads:[~2006-09-28 2:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1159404816.3497.15.camel@edge \
--to=nathans@xfs.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.