Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 922158 Details for
Bug 1124440
[RFE] make __INTERNAL_Mount accept mount options (ro/rw)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
0001-BZ-1124440-RFE-make-__INTERNAL_Mount-accept-mount-op.patch (text/plain), 1.22 KB, created by
Ales Zelinka
on 2014-07-29 14:01:19 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ales Zelinka
Created:
2014-07-29 14:01:19 UTC
Size:
1.22 KB
patch
obsolete
>From f345878982d772c8567feaa8b7fcdb4c7e6be0e8 Mon Sep 17 00:00:00 2001 >From: Ales Zelinka <azelinka@redhat.com> >Date: Tue, 29 Jul 2014 16:00:30 +0200 >Subject: [PATCH] BZ#1124440 - [RFE] make __INTERNAL_Mount accept mount options > (ro/rw) > >--- > src/infrastructure.sh | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/src/infrastructure.sh b/src/infrastructure.sh >index f57a2e4..f9772cf 100644 >--- a/src/infrastructure.sh >+++ b/src/infrastructure.sh >@@ -82,6 +82,7 @@ __INTERNAL_Mount(){ > local SERVER=$1 > local MNTPATH=$2 > local WHO=$3 >+ local OPTIONS=$4 > > if __INTERNAL_CheckMount "$MNTPATH" > then >@@ -92,8 +93,13 @@ __INTERNAL_Mount(){ > rlLogInfo "$WHO creating directory $MNTPATH" > mkdir -p "$MNTPATH" > fi >- rlLogInfo "$WHO mounting $SERVER on $MNTPATH" >- mount "$SERVER" "$MNTPATH" >+ if [ -z "$OPTIONS" ] ; then >+ rlLogInfo "$WHO mounting $SERVER on $MNTPATH with default mount options" >+ mount "$SERVER" "$MNTPATH" >+ else >+ rlLogInfo "$WHO mounting $SERVER on $MNTPATH with custom mount options: $OPTIONS" >+ mount -o "$OPTIONS" "$SERVER" "$MNTPATH" >+ fi > if [ $? -eq 0 ] > then > rlLogInfo "$WHO success" >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1124440
: 922158