Re: du -x problem
> 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?
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,