There are some leftover files from 2.12ish that are not used anywhere in the source, not delivered as part of the tar.gz releases, and yet are in git. lamont
>From 8ead57532d710d523edc07975d4f5bc884662df0 Mon Sep 17 00:00:00 2001 From: LaMont Jones <lamont@xxxxxxxxxx> Date: Tue, 28 Aug 2007 12:31:34 -0600 Subject: [PATCH] Remove files that are no longer delivered from git. Neither mount/h/swap.h nor mount/mount.smbfs is delivered as part of util-linux-ng tar archives. As such, they should not be in git either. Signed-off-by: LaMont Jones <lamont@xxxxxxxxxx> --- mount/h/swap.h | 5 ---- mount/mount.smbfs | 68 ----------------------------------------------------- 2 files changed, 0 insertions(+), 73 deletions(-) delete mode 100644 mount/h/swap.h delete mode 100644 mount/mount.smbfs diff --git a/mount/h/swap.h b/mount/h/swap.h deleted file mode 100644 index db3fc40..0000000 --- a/mount/h/swap.h +++ /dev/null @@ -1,5 +0,0 @@ -#define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */ -#define SWAP_FLAG_PRIO_MASK 0x7fff -#define SWAP_FLAG_PRIO_SHIFT 0 - -#define MAX_SWAPFILES 8 diff --git a/mount/mount.smbfs b/mount/mount.smbfs deleted file mode 100644 index 990b695..0000000 --- a/mount/mount.smbfs +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/csh -# -# /sbin/mount.smbfs -# by Greg Galperin, MAR99 <grg@xxxxxxxxxx> -# ver 1.1 MAR99 GRG docs update: must escape special chars like $ -# ver 1.0 MAR99 GRG original version -# -# Intent is to allow calls to mount with -t smbfs to work properly -# (either manually or from an automounter). -# -# bugs: -# -- possible security hole, as this is a shell script called as root... -# -- arguments other than rw and ro which mount might supply are not handled -# -########################################################################### -# -# To use this from autofs: -# -# have an entry of the form -# key -fstype=smbfs,-Uadministrator,-Ppassword ://host/share -# in the appropriate /etc/auto.mountpoint file. -# -# This makes access to /mountpoint/key/ access smb //host/share/ -# as administrator (or another user, if you specify such) with the given -# password. You may have to supply a -c <unqualified-localhostname>. -# Special characters need to be 'escaped' with a backslash ('\') -- for -# instance, if you want to use the default share names with a "$" at the -# end (e.g., //host/c$), you must enter ://host/c\$ -# -# Note that mount/autofs is smart enough to figure out how to unmount -# this without any extra work on our part! -# -########################################################################### -# -# I get called as: /sbin/mount.smbfs //host/shr /mnt/tmp -o rw,arg1,arg2 -# -# It looks like mount tacks on either "rw" or "ro" as the first argument, -# so I'm going to count on having exactly 5 arguments. -# -# This has been developed and tested with mount-2.7 -# -########################################################################### - -# test for correct # args -if ( $# != 4 ) then - echo $0 does not know how to handle $# arguments: $* - exit -1 -endif - -# test for args in the form I expect -if ( "$3" != "-o" ) then - echo $0 does not know how to handle the 3rd argument not \"-o\" : $3 - exit -1 -endif - -setenv COMMAND "/usr/sbin/smbmount $1 $2" -foreach arg (`echo $4 | /usr/bin/tr ',' ' '`) - if ( "$arg" == "rw" ) then - setenv COMMAND "$COMMAND -f777 -d777" - else if ( "$arg" == "ro" ) then - setenv COMMAND "$COMMAND -f555 -d555" - else - setenv COMMAND "$COMMAND $arg" - endif -end - -$COMMAND - -- 1.5.2.3