[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du bogus warning with bind mounts
From: |
Jim Meyering |
Subject: |
Re: du bogus warning with bind mounts |
Date: |
Fri, 17 Aug 2012 10:10:08 +0200 |
Ondrej Oprala wrote:
> Hi, here's the amended patch.
...
> Subject: [PATCH] du: Fix an issue with bogus warnings on bind-mounted
> directories
>
> * NEWS: Mention the fix.
> * src/du.c: Include "mountlist.h".
> (di_mnt): New global set.
> (fill_mount_table): New function.
> (hash_ins): Add HT parameter.
> (process_file): Look up each dir dev/ino pair in the new set.
> (main): Allocate, initialize, and free the new set.
> * tests/Makefile.am: Add a new file.
> * tests/du/bind-mount-dir-cycle: Add a test for the fix.
> ---
> NEWS | 3 +++
> src/du.c | 61
> ++++++++++++++++++++++++++++++++++++++++++++++++++++---
> tests/Makefile.am | 1 +
> 3 files changed, 62 insertions(+), 3 deletions(-)
Oops. You omitted the new file, tests/du/bind-mount-dir-cycle.
- du bogus warning with bind mounts, Ondrej Oprala, 2012/08/08
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/08
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/09
- Re: du bogus warning with bind mounts, Ondrej Oprala, 2012/08/09
- Re: du bogus warning with bind mounts, Ondrej Oprala, 2012/08/15
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/17
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/17
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/17
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/20
- Re: du bogus warning with bind mounts, Ondrej Oprala, 2012/08/21
- Re: du bogus warning with bind mounts, Jim Meyering, 2012/08/21