Hello,<br><br>but "du -xk --max-depth=1 /" will not include a file say "/home/user1/movies/virumandi.avi" in its calculation of the disk usage of / . Is that ok?<br><br>vatsil.<br><br><div class="gmail_quote">
On Dec 30, 2007 3:42 PM, Chris G <<a href="mailto:cl@isbd.net">cl@isbd.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, Dec 29, 2007 at 03:27:58PM -0600, Aaron Konstam wrote:<br>> On Sat, 2007-12-29 at 15:25 +0000, Chris G wrote:<br>> > On Sat, Dec 29, 2007 at 09:05:29AM -0600, Aaron Konstam wrote:<br>> > > On Fri, 2007-12-28 at 10:36 -0600, Jon Stanley wrote:
<br>> > > > On 12/28/07, Chris G <<a href="mailto:cl@isbd.net">cl@isbd.net</a>> wrote:<br>> > > ><br>> > > > > So how can I get an idea of the size of the various directories on my
<br>> > > > > root file system?  There seems no easy way.<br>> > > ><br>> > > > Something like du -xk --max-depth=1 / would work.<br>> > > What is wrong with du -s * from /<br>
> > ><br>> > It takes an infinite (well, impossibly long) amount of time when it<br>> > hits my remotely mounted NAS server.  It also tells me the space used<br>> > on mounts which isn't very useful if I'm trying to work out what's
<br>> > using all the space on my root disk.<br>> ><br>> > I want a tool to tell me what's using all the space on one specific<br>> > volume/partition.<br>> ><br>> > --<br>> > Chris Green
<br>> ><br>> then at / run: du -s {list of directories you want to check}<br><br></div>It's not necessarily at all obvious which directories are mount points<br>and which are real, space consumung, directories so {list of
<br>directories you want to check} isn't easy to create and may well<br>change occasionally.<br><br>Anyway someone else came up with an effective solution to what I<br>want:-<br><div class="Ih2E3d"><br>    du -xk --max-depth=1 /
<br><br></div>That works exactly as I want showing all directories on the root<br>volume but with mount points using no space.  (... and more to the<br>point not taking a huge amount of time searching around my network<br>
drive).<br><font color="#888888"><br>--<br>Chris Green<br></font><div><div></div><div class="Wj3C7c"><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: 
<a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></div></div></blockquote></div><br>