Page 1 of 1

Solved - Size of O.S. and its programs

Posted: Fri 07 Mar 2014, 03:10
by fixit
No complaint but an observation.

My Windows XP is loaded to the gills with programs.

It uses about 11 Gb.

Puppy is using about 42 Gb.

Seem a rather large difference ? (4X)

Andy

Posted: Fri 07 Mar 2014, 03:24
by p310don
How did you come up with the figure of 42gig??

That sounds virtually impossible noting the sub 200megabyte download.

Have you installed 41.8gig of programs and stuff in it?

Posted: Fri 07 Mar 2014, 04:27
by fixit
Filesystem 1K-blocks Used Available Use% Mounted on

Puppy -> /dev/sda5 84,819,388 34,387,572 46,123,188 43% /

Windows XP -> /dev/sda1 71,850,680 8,526,344 63,324,336 12% /mnt/sda1

Posted: Fri 07 Mar 2014, 05:46
by mavrothal
fixit wrote:Filesystem 1K-blocks Used Available Use% Mounted on

Puppy -> /dev/sda5 84,819,388 34,387,572 46,123,188 43% /

Windows XP -> /dev/sda1 71,850,680 8,526,344 63,324,336 12% /mnt/sda1
Looks like this is a full install since /dev/sdaN is mounted to /
Which puppy is it?
I have Quirky Tahr and Slacko-5.6.5.6 in full installs and they are ~700MB without devx and ~1.3GB with devx, so 42 GB is a bit large...
Try to

Code: Select all

cd /
du -h -a -d 1
To see what is taking up all this space.

Posted: Fri 07 Mar 2014, 06:26
by fixit
109M ./lib
0 ./dev
4.0K ./Storage
0 ./run
48G ./mnt
4.0K ./info
4.0K ./include
0 ./proc
0 ./sys
4.0K ./games
4.0K ./fsckme.flg
5.9M ./bin
4.0K ./opt
3.7M ./sbin
1.9G ./usr
4.1M ./etc
31G ./root
4.0K ./src
4.0K ./space.txt
4.0K ./free_space.txt
4.0K ./lost+found
1.4M ./tmp
1.5M ./var
8.0K ./share
8.0K ./lib64
3.0M ./boot
84K ./man
81G .

Posted: Fri 07 Mar 2014, 06:52
by p310don
48gig under /mnt - that's your stuff

Posted: Fri 07 Mar 2014, 06:54
by fixit
p310don wrote:48gig under /mnt - that's your stuff
My friend.

Could you be a little more detailed ?

Vielen Dank,

Andy

Posted: Fri 07 Mar 2014, 07:18
by p310don
/mnt is where your drives are mounted.

All the stuff on the hard drive, leftovers from windows, pictures, movies, whatever are under that directory. Look under /mnt/home to see what's in there

Puppy itself is probably taking up 1-2% of the total.

Posted: Fri 07 Mar 2014, 07:19
by mavrothal
fixit wrote: 48G ./mnt
....
1.9G ./usr
....
31G ./root
Looks like you have install/downloaded who-knows-what.

31G in /root and 48G in /mnt are files not included in puppy but added afterwards. The 1.9G in /usr is also indicative.
cd to /root and /mnt and try the same du command till you get to the end of it.

Let me ask again though, which puppy is it and how was it installed/booted?
The src, share, include, lib64 and man folders at / suggests a pretty messed up system (as if /usr was copied to /)

Posted: Fri 07 Mar 2014, 12:18
by mikeb
This is comparing apples to oranges ....

Even with the windows figure.... my windows XP folder is 500MB, program files is 2GB.... i would consider them to be 2 separate things.

For the puppy /usr contains the majority of the system.... /mnt would be any mounted drives and /root i suspect a pile of downloads... again the last 2 are not really part of the system and for linux you do deal with a virtual file tree made up of usually several sources.

You do have the devx in there which contains a lot of stuff not needed for compiling...same goes for the kernel sources. One thing to note is that using puppy frugally...ie made up of sfs files and some form of save does keep life a lot tidier and smaller. It also means large items such as the devx can be loaded into the system only when required.

If you are interested as to what is using space have a play with gdmap which is in the menu.

mike

Posted: Fri 07 Mar 2014, 20:14
by fixit
I found the problem.

Tons of files were in the trash.

Can I turn that completely off ?

Thanks.

Here is what it looks like now.

Andy

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 81G 3.0G 74G 4% /
devtmpfs 2.0G 0 2.0G 0% /dev
shmfs 985M 0 985M 0% /dev/shm
tmpfs 985M 352K 985M 1% /tmp

Posted: Fri 07 Mar 2014, 22:25
by Semme
@ every boot, this will flush *ALL* files and folders that ROX/Thunar have accumulated.

Go into ~/Startup and rt-clk >> new >> script.

Name it as you please, then open and add:

Code: Select all

sleep 5
rm -rf ~/.Trash/*
rm -rf ~/.local/share/Trash/files/*
rm -rf ~/.local/share/Trash/info/*
.. under #!/bin/sh

Posted: Sat 08 Mar 2014, 04:07
by fixit
Thanks.