hi brad,
see attached bugreport from a debian user, it seems indeed that di does
currently not indicate nfs4 as non-local filesystem:
C/didiskutil.c
462 {
463 if (strcmp (diskInfo->fsType, "nfs") == 0 ||
464 strcmp (diskInfo->fsType, "nfs3") == 0)
465 {
466 diskInfo->isLocal = FALSE;
467 }
468 }
----- Forwarded message from Matthew Gabeler-Lee <[email protected]> -----
Date: Tue, 25 Nov 2014 10:59:38 -0500
From: Matthew Gabeler-Lee <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Bug#770974: di: The --local option does not hide NFS filesystems
Reply-To: Matthew Gabeler-Lee <[email protected]>, [email protected]
Package: di
Version: 4.34-2
Severity: normal
When running di --local, I would not expect to see nfs filesystems, but I do:
$ di --local | grep 'nfs4[[:space:]]*$' | wc -l
1
>From a bit of UTSL, it looks like it identifies non-local filesystems via
mount flags, or by a hard coded list of filesystem types that includes nfs
and nfs3, but not nfs4.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages di depends on:
ii libc6 2.19-13
di recommends no packages.
di suggests no packages.
-- no debconf information
----- End forwarded message -----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]