> du (coreutils) 5.2.1
The latest stable version of coreutils is 5.94 - consider
upgrading: http://lists.gnu.org/archive/html/bug-coreutils/2006-02/msg00078.html
> # du /home/reind --exclude="/home/reind"
>
> # du /home/reind -X exclude.txt
>
> with exclude.txt:
> /home/reind
>
> Both of the above do not work as they should. They do not exclude the
> above directories.
>
Exclusion is intended for files not listed on the command line. By listing
the directory explicitly, you are bypassing the exclusion check for
that directory.
--
Eric Blake