🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ken Laprade Thu, 21 Jan 1993 23:04
`df file' shouldn't imply `-a'
#1300
Author: Ken Laprade
Date: Thu, 21 Jan 1993 23:04
35 lines
1865 bytes
When `df' is given pathnames as arguments, it implicitely sets the `-a'
flag.  At our installation (of Sun 4's running SunOS4.1.1), the
unfortunately large and poorly maintained `auto.direct' is often out of
date with respect to `/etc/exports' files or even what machines exist.
Checking `ignored' filesystems in this situation produces obnoxious timeout
delays.  This also causes undesirable reports for automounted filesystems:

   > df .
   Filesystem         1024-blocks  Used Available Capacity Mounted on
   ne:(pid129)		...		...	...	   /netshare2

But without the `-a' set:

   Filesystem         1024-blocks  Used Available Capacity Mounted on
   ne:/mnt3c		...		...	...	   /tmp_mnt/netshare2

How about not setting `-a' unless specifically requested:

--- fileutils-3.3/src/df.c	Thu Jul 16 23:38:40 1992
+++ /tmp/SC-df.c	Thu Jan 21 08:29:46 1993
@@ -151,7 +151,7 @@
   if (optind != argc)
     {
       /* Display explicitly requested empty filesystems. */
-      show_all_fs = 1;
+/*      show_all_fs = 1; */
 
       /* stat all the given entries to make sure they get automounted,
 	 if necessary, before reading the filesystem table.  */

---
Ken Laprade			INTERNET: laprade@trantor.harris-atd.com
Harris Corporation 		Usenet:  ...!uunet!x102a!trantor!laprade
PO Box 37, MS 16/1912		Voice: (407)727-4433
Melbourne, FL 32902		FAX: (407)729-3363
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads