[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du -x option doesn't work
From: |
Jim Meyering |
Subject: |
Re: du -x option doesn't work |
Date: |
Wed, 01 Oct 2003 21:19:02 +0200 |
erno palonheimo <address@hidden> wrote:
> i noticed that -x option of du, which is supposed to make it stay
> inside one filesystem, doesn't apparently do anything.
>
> # du --version
> du (coreutils) 5.0.90
Please give more details, but note that
people often misunderstand how this option works.
I.e. `du -x DIR' reports only on files under DIR with the same
device number (file system) as the command line argument, DIR.
However, if you run `cd /; du -x *', it does the same thing for
each argument -- much as if you were to run `du -x S' for each name
matching `*' -- even if they're all on different file systems.