Re: du -x problem
- To: debian-user@lists.debian.org
- Cc: JOHN@seitz.com
- Subject: Re: du -x problem
- From: surak@imsa.edu
- Date: Fri, 9 Apr 1999 00:34:36 -0500 (CDT)
- Message-id: <199904090534.AAA16801@afri.edu.>
- In-reply-to: <19990409035814.26601.qmail@murphy.debian.org> from "debian-user-digest-request@lists.debian.org" at Apr 09, 1999 03:58:14 AM
>
> Hi all,
> I have a problem with du. When I do a "du * -sx" the "-x" flag
> should exclude other mounted filesystems, but it doesn't. I was
> using v3.16 and then upgraded to 4.00, both don't work right. Can
> anybody help?
>
> Thanks,
> Chris
du is working just fine. What is happening is that the asterix is
interpreted to mean each and every file that is visible, so du is actually
excluding mounted filesystems some of the time -- only it is explicitly
told to calculate the size of the filesystems mounted at a mount-point in
your working directory. `du -sx .` should give no such problems.
Hope that helps,
Alan
surak@imsa.edu
Reply to: