mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-29 21:15:15 +08:00
(REMOTE_FS_TYPE): New macro.
This commit is contained in:
parent
bb3fca40db
commit
122d3f15ae
@ -30,3 +30,9 @@ struct mount_entry *read_filesystem_list (int need_fs_type, int all_fs);
|
||||
#else
|
||||
struct mount_entry *read_filesystem_list ();
|
||||
#endif
|
||||
|
||||
/* In most environments, by default, a filesystem type is remote if it
|
||||
begins with "nfs". This allows variants like "nfs3". */
|
||||
#ifndef REMOTE_FS_TYPE
|
||||
# define REMOTE_FS_TYPE(t) (!strncmp (t, "nfs", 3))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user