diff --git a/coreutils-df-always-hide-rootfs.patch b/coreutils-df-always-hide-rootfs.patch index 60f7d38..62abea4 100644 --- a/coreutils-df-always-hide-rootfs.patch +++ b/coreutils-df-always-hide-rootfs.patch @@ -6,7 +6,7 @@ Index: coreutils-8.17/src/df.c if (!selected_fstype (fstype) || excluded_fstype (fstype)) return; -+ if (fstype && (STRNCMP_LIT (fstype, "rootfs") == 0)) ++ if (fstype && !show_all_fs && (STRNCMP_LIT (fstype, "rootfs") == 0)) + return; + /* If MOUNT_POINT is NULL, then the file system is not mounted, and this diff --git a/coreutils.changes b/coreutils.changes index 1a39af4..2afb598 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -1,13 +1,9 @@ -Mon Dec 3 00:45:43 UTC 2012 - mail@bernhard-voelker.de - -- Avoid crash in "df --total" due to new - coreutils-df-always-hide-rootfs.patch. - ------------------------------------------------------------------- -Wed Nov 28 12:25:18 UTC 2012 - rmilasan@suse.com +Tue Dec 4 08:16:35 UTC 2012 - mail@bernhard-voelker.de - Update default posix version to 200112 (bnc#783352). - Hide rootfs in df (df not using yet /proc/self/mountinfo). +- Add coreutils-df-always-hide-rootfs.patch: + Hide rootfs in df (df not using yet /proc/self/mountinfo). ------------------------------------------------------------------- Mon Nov 19 13:04:44 UTC 2012 - idonmez@suse.com