File system bafflement

Chris Green cl at isbd.net
Tue Sep 2 15:43:16 UTC 2014


On Tue, Sep 02, 2014 at 10:33:59AM -0400, Rashkae wrote:
> On 14-09-02 10:20 AM, R Kimber wrote:
> >But as I said /usr, /var, /tmp, /home, /usr/local are all on separate
> >patitions.
> >
> >- Richard.
> 
> My bad. The x option doesn't work as I intended when the mout points
> are part of the file list you are seeking.
> 
> There's probably a clever way to work around that, but until I
> figure it out, I would suggest booting from a live cd and examining

Yes, there is:-

    du -xk --max-depth=1 /

The --max-depth prevents the du returning space used on other file
systems.

-- 
Chris Green




More information about the ubuntu-users mailing list