Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: blue horse on January 27, 2012, 09:59:56 PM

Title: USB Disk Usage
Post by: blue horse on January 27, 2012, 09:59:56 PM
i installed CorePlus-4.2 on a 8GB usb CF.
everything works cool.  i can move files back and forth between the CF and PC hard drivet which hosts another much more loaded CorePlus-4.2.
the installation on CF is meant to light-weight, so after i installed necessary softwares (X window, wifi, xfe), i checked the disk usage by using xfe->directory properties of /mnt/sdb1/, it says 192MB, this is a bit surprising, then i checked each sub-directory under /mnt/sdb1/, they add up to a little bit under 50MB which is what i would expect.
so, my question is, as you already guessed, where does the difference come from?
Title: Re: USB Disk Usage
Post by: Rich on January 27, 2012, 10:43:16 PM
Hi blue horse
Try using one of the command line utilities  df  or  du
For more info:
df --help
du --help
Title: Re: USB Disk Usage
Post by: vinnie on January 28, 2012, 06:33:57 AM
or download extension gdmap.tcz  ;)
Title: Re: USB Disk Usage
Post by: blue horse on January 28, 2012, 09:31:18 AM
using du, i found there is a ./.local/Share/Trash directory that holds contents i previous deleted.  i didn't expect Trash folder would survive reboot, how do i clean it?
Title: Re: USB Disk Usage
Post by: Rich on January 28, 2012, 09:49:12 AM
Hi blue horse
A quick search with Google would have found this for you:
http://roland65.free.fr/xfe/index.php?page=docs (http://roland65.free.fr/xfe/index.php?page=docs)
Look under:
Below are the default X File Explorer key bindings. These key bindings are specific to the xfe application
Title: Re: USB Disk Usage
Post by: gerald_clark on January 28, 2012, 09:55:23 AM
You can add Trash to /opt/.xfiletool.lst.