[nmglug] usb drive

Ed Brown ebrown at lanl.gov
Wed Aug 16 11:23:49 PDT 2006

BrianO'Keefe wrote:

>> brianokeefe at ubuntu:/media$ ls -l
>> total 744916
>> lrwxr-xr-x  1 root        root                6 2005-08-25 12:05 cdrom 
>> -> cdrom0drwxr-xr-x  2 root        root             4096 2005-08-25 
>> 12:05 cdrom0
>> -rw-r--r--  1 root        root        762030080 2006-08-15 12:59 
>> For_linux
>> drwxrwxrwx 15 brianokeefe brianokeefe      4096 2006-08-15 13:09 
>> For_Linux
>> drwxr-xr-x  2 root        root             4096 2006-08-13 20:58 sda9

On first looking at For_linux, I thought it was 7GB, but guess that's 
only 3/4GB, + or -.  So it may not account for your missing space...

Here's one more command that can be useful in seeing where disk space 
has gone.  It's du, but only showing one directory level at a time, so 
you can often see at a glance what subdirectory tree to follow to find 
the hogs:

du -h --max-depth=1

So try this in /media first, then maybe For_Linux, etc.  By the way, 
besides showing subdirectory totals, the final total indicated by this 
command includes the files in the current directory.


More information about the nmglug mailing list