Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
coreutils-testsuite.1874
coreutils-df-doc-df-a-includes-duplicate-file-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File coreutils-df-doc-df-a-includes-duplicate-file-systems.patch of Package coreutils-testsuite.1874
Upstream patch for df(1) on top of v8.23, to be removed with v8.24. http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=097897bd2c9d From 097897bd2c9de5723af24b3848d6d922a862064b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com> Date: Mon, 27 Oct 2014 11:41:09 +0000 Subject: [PATCH] doc: mention that df -a includes duplicate file systems * src/df.c (usage): Mention that duplicate file systems are shown with this option, not just dummy file systems. * doc/coreutils.texi (df invocation): For the --all option, expand on the class of normally suppressed mount entries that it includes. Reported in http://bugs.debian.org/737399 --- doc/coreutils.texi | 12 ++++++++---- src/df.c | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) Index: doc/coreutils.texi =================================================================== --- doc/coreutils.texi.orig 2015-03-16 11:51:19.173084062 +0100 +++ doc/coreutils.texi 2015-03-16 11:51:31.716790916 +0100 @@ -11104,11 +11104,15 @@ The program accepts the following option @itemx --all @opindex -a @opindex --all -@cindex automounter file systems @cindex ignore file systems -Include in the listing dummy file systems, which -are omitted by default. Such file systems are typically special-purpose -pseudo-file-systems, such as automounter entries. +Include in the listing dummy, duplicate, or inaccessible file systems, which +are omitted by default. Dummy file systems are typically special purpose +pseudo file systems such as @samp{/proc}, with no associated storage. +Duplicate file systems are local or remote file systems that are mounted +at separate locations in the local file hierarchy, or bind mounted locations. +Inaccessible file systems are those which are mounted but subsequently +over-mounted by another file system at that point, or otherwise inaccessible +due to permissions of the mount point etc. @item -B @var{size} @itemx --block-size=@var{size} Index: src/df.c =================================================================== --- src/df.c.orig 2015-03-16 11:51:19.353079855 +0100 +++ src/df.c 2015-03-16 11:51:31.755790005 +0100 @@ -648,7 +648,7 @@ filter_mount_list (bool devices_only) > strlen (me->me_mountdir)) /* let an entry overmounted on a different device win... */ || (! STREQ (devlist->me->me_devname, me->me_devname) - /* ... but only when matching an exsiting mount point, to + /* ... but only when matching an existing mount point, to avoid problematic replacement when given inaccurate mount lists, seen with some chroot environments for example. */ && STREQ (me->me_mountdir, devlist->me->me_mountdir))) @@ -1396,7 +1396,7 @@ or all file systems by default.\n\ /* TRANSLATORS: The thousands and decimal separators are best adjusted to an appropriate default for your locale. */ fputs (_("\ - -a, --all include dummy file systems\n\ + -a, --all include pseudo, duplicate, inaccessible file systems\n\ -B, --block-size=SIZE scale sizes by SIZE before printing them; e.g.,\n\ '-BM' prints sizes in units of 1,048,576 bytes;\n\ see SIZE format below\n\
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor