home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!trantor.harris-atd.com!laprade
- From: laprade@trantor.harris-atd.com (Ken Laprade)
- Newsgroups: gnu.utils.bug
- Subject: `df file' shouldn't imply `-a'
- Date: 21 Jan 1993 18:04:27 -0500
- Organization: GNUs Not Usenet
- Lines: 36
- Sender: daemon@cis.ohio-state.edu
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Distribution: gnu
- Message-ID: <9301211339.AA11801@trantor.harris-atd.com>
-
- 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
-
-