diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /net/glusterfs/files/patch-mount_glusterfs.in | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net/glusterfs/files/patch-mount_glusterfs.in')
| -rw-r--r-- | net/glusterfs/files/patch-mount_glusterfs.in | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/net/glusterfs/files/patch-mount_glusterfs.in b/net/glusterfs/files/patch-mount_glusterfs.in deleted file mode 100644 index c3b7abcaf8a1..000000000000 --- a/net/glusterfs/files/patch-mount_glusterfs.in +++ /dev/null @@ -1,57 +0,0 @@ ---- xlators/mount/fuse/utils/mount_glusterfs.in.orig 2017-06-28 05:25:12 UTC -+++ xlators/mount/fuse/utils/mount_glusterfs.in -@@ -463,50 +463,44 @@ parse_options() - if [ "$key" = "$value" ]; then - without_options $pair; - else - with_options $key $value; - fi - done - } - - main () - { -- ## `mount` on OSX specifies options as first argument -- echo $1|grep -q -- "-o" -- if [ $? -eq 0 ]; then -- volfile_loc=$3 -- mount_point=$4 -- else -- volfile_loc=$1 -- mount_point=$2 -- fi -- - while getopts "Vo:h" opt; do - case "${opt}" in - o) - parse_options ${OPTARG}; - ;; - V) - ${cmd_line} -V; - exit 0; - ;; - h) - print_usage; - exit 0; - ;; - ?) - print_usage; - exit 0; - ;; - esac - done - -+ shift $((OPTIND - 1)) -+ volfile_loc="$1" -+ mount_point="$2" -+ - [ -r "$volfile_loc" ] || { - # '%' included to support ipv6 link local addresses - server_ip=$(echo "$volfile_loc" | sed -n 's/\([a-zA-Z0-9:%.\-]*\):.*/\1/p'); - volume_str=$(echo "$volfile_loc" | sed -n 's/.*:\([^ ]*\).*/\1/p'); - [ -n "$volume_str" ] && { - volume_id="$volume_str"; - } - volfile_loc=""; - } - |
