diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-02 11:20:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-02 11:20:30 +0000 |
commit | 8f245c6f2c4e8099f6a0c6c151315d67f4b7e368 (patch) | |
tree | 142ae48cc31f8996f8a419f3af983f2fae1061b0 /lib | |
parent | 8208033b86452a2b9baff20f2af3bee52dbd9cee (diff) | |
download | coreutils-8f245c6f2c4e8099f6a0c6c151315d67f4b7e368.tar.xz |
(ME_DUMMY): Add `autofs' to the list of ignored fs_type strings.
From Mark D. Roth.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mountlist.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/mountlist.h b/lib/mountlist.h index e4019a586..c41490c95 100644 --- a/lib/mountlist.h +++ b/lib/mountlist.h @@ -1,5 +1,5 @@ /* mountlist.h -- declarations for list of mounted filesystems - Copyright (C) 1991, 1992, 1998 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1998, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +39,10 @@ struct mount_entry *read_filesystem_list PARAMS ((int need_fs_type)); #ifndef ME_DUMMY # define ME_DUMMY(fs_name, fs_type) \ - (!strcmp (fs_type, "auto") || !strcmp (fs_type, "ignore")) + (!strcmp (fs_type, "auto") \ + || !strcmp (fs_type, "autofs") \ + /* for Irix 6.5 */ \ + || !strcmp (fs_type, "ignore")) #endif #ifndef ME_REMOTE |