Skip to contentSkip to conversation

nfs-utils: remove etc/ directory

PATCH New J. Bruce Fields 1 participant 1 message Oct 20, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs-utils: remove etc/ directory

Redhat isn't actually using the files in etc/redhat, or the nfs-utils.spec file. Similarly, I don't know whether anyone is using etc/nodist. (Counterexamples, anyone?)

Since they're not used, they're going to go out of date (most probably are already), and noone is going to notice when they're broken. This will cause confusion.

It's better just to remove them entirely. People in need of example init files and such can look at the examples in debian/ or go peek inside Fedora's .src.rpm's--both of those are actually used, hence will probably be correct.

So this patch is just a long way of saying

rm -rf etc nfs-utils.spec nfs-utils.spec.in perl -pi -e 's/nfs-utils.spec //' configure.in

autoconf will need to be re-run after applying.

---

 nfs-utils-1.0.6-bfields/configure.in      |    2 
 nfs-utils-1.0.6/etc/nodist/nfs-client     |   74 -----------
 nfs-utils-1.0.6/etc/nodist/nfs-functions  |  104 ----------------
 nfs-utils-1.0.6/etc/nodist/nfs-server     |  135 ---------------------
 nfs-utils-1.0.6/etc/redhat/nfs            |   34 -----
 nfs-utils-1.0.6/etc/redhat/nfs.init       |  189 ------------------------------
 nfs-utils-1.0.6/etc/redhat/nfslock.init   |   90 --------------
 nfs-utils-1.0.6/etc/redhat/rpcidmapd.init |   70 -----------
 nfs-utils-1.0.6/nfs-utils.spec            |  110 -----------------
 nfs-utils-1.0.6/nfs-utils.spec.in         |  110 -----------------
 10 files changed, 1 insertion(+), 917 deletions(-)
configure.in renamed from configure.in~remove_etc +1 -1
diff -puN configure.in~remove_etc configure.in
@@ -239,4 +239,4 @@ AC_DEFINE_UNQUOTED(NFS_STATEDIR, "$state
 AC_SUBST(LDFLAGS)
 AC_SUBST(CXXFLAGS)
 AC_SUBST(CFLAGS)
-AC_OUTPUT(config.mk nfs-utils.spec utils/Makefile)
+AC_OUTPUT(config.mk utils/Makefile)
etc/nodist/nfs-client deleted +0 -74

74 lines not on this page · raw message

etc/nodist/nfs-functions deleted +0 -104

104 lines not on this page · raw message

etc/nodist/nfs-server deleted +0 -135

135 lines not on this page · raw message

etc/redhat/nfs deleted +0 -34
diff -L etc/redhat/nfs -puN etc/redhat/nfs~remove_etc /dev/null
@@ -1,34 +0,0 @@
-# For more information on nfs tuning, please see the NFS-HOWTO
-# http://nfs.sourceforge.net/nfs-howto/
-
-# Pass any additional options for mountd.
-# MOUNTD_OPTIONS=
-
-# Pin mountd to a given port rather than random one from portmapper
-# MOUNTD_PORT=
-
-# Don't advertise TCP for mount.
-# MOUNTD_TCP=no
-
-# NFS V3
-# MOUNTD_NFS_V3=auto|yes|no
-
-# NFS V2
-# MOUNTD_NFS_V2=auto|yes|no
-
-# The number of open file descriptors
-# MOUNTD_OPEN_FILES=128
-
-# Pass the number of instances of nfsd (8 is default; 16 or more
-# might be needed to handle heavy client traffic)
-# NFSDCOUNT=8
-
-# Increase the memory limits on the socket input queues for
-# the nfs processes .. NFS  benchmark SPECsfs demonstrate a
-# need for a larger than default size (64kb) .. setting
-# TUNE_QUEUE to yes will set the values to 256kb.
-# TUNE_QUEUE="yes"
-# NFS_QS=262144
-
-# Mount /proc/fs/nfsd (2.6 kernel only)
-MOUNT_NFSD="yes"
etc/redhat/nfs.init deleted +0 -189

189 lines not on this page · raw message

etc/redhat/nfslock.init deleted +0 -90

90 lines not on this page · raw message

etc/redhat/rpcidmapd.init deleted +0 -70

70 lines not on this page · raw message

nfs-utils.spec deleted +0 -110

110 lines not on this page · raw message

nfs-utils.spec.in deleted +0 -110

110 lines not on this page · raw message

_

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs