Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 19:44
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Save file clarification
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [31 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 09 Dec 2012, 14:20    Post subject:  

greengeek wrote:
rmcellig wrote:
My save file indicator is now green. Here are the contents of my save file.

In that image there is no data listed for the size of each directory, and I always find this makes it hard to know which directory to investigate in order to trim the excess unwanted files. Does anyone know of a way to display directory size rather than just individual files?


cd /initrd/pup_rw

du -h -d1
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Sun 09 Dec 2012, 14:28    Post subject:  

I just found a tip on another topic which suggested using menu, filesystem, gdmap to display parts of the filesystem in order to track where the largest blocks of data are. Looks like a really helpful programme. It creates an amazing image - almost worthy of being used as a desktop background.

You just hover over each block and it tells you what it belongs to. Made me realise my mhwaveedit temp files were huge.
gdmap_.jpg
 Description   
 Filesize   41.51 KB
 Viewed   461 Time(s)

gdmap_.jpg

Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Sun 09 Dec 2012, 14:34    Post subject:  

jpeps wrote:
cd /initrd/pup_rw
du -h -d1

Thanks jpeps. This seems to give an "invalid option" syntax error though. Neither "minus d one" nor "minus d ell" seems to work. Am I reading it wrong? Thx.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 09 Dec 2012, 15:10    Post subject:  

greengeek wrote:
jpeps wrote:
cd /initrd/pup_rw
du -h -d1

Thanks jpeps. This seems to give an "invalid option" syntax error though. Neither "minus d one" nor "minus d ell" seems to work. Am I reading it wrong? Thx.


that's -d[one]

strange: what version of busybox? busybox | head -1

also: du --help

(try busybox du -h -d1 ??)

edit: both gnu-coreutils and busybox should have -d option.
Back to top
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 703

PostPosted: Sun 09 Dec 2012, 17:36    Post subject:  

greengeek wrote:
... my mhwaveedit temp files were huge.

I had that problem ... http://murga-linux.com/puppy/viewtopic.php?t=74992&sid=56d69fe3ed23172aff3f9d5ffe74d892
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Mon 10 Dec 2012, 02:48    Post subject:  

jpeps wrote:
strange: what version of busybox? busybox | head -1

Code:
sh-4.1# busybox |head -1
BusyBox v1.17.2 (2011-10-03 16:04:49 GMT-8) multi-call binary.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Mon 10 Dec 2012, 02:52    Post subject:  

jpeps wrote:
try busybox du -h -d1 ??

Thanks jpeps - that got it. The busybox du lists all the directories and sizes. cheers.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Mon 10 Dec 2012, 03:15    Post subject:  

Barkin wrote:
I had that problem ... http://murga-linux.com/puppy/viewtopic.php?t=74992&sid=56d69fe3ed23172aff3f9d5ffe74d892

Barkin wrote:
I removed the old mhwaveedit/config file, and mhwaveedit automagically generated a new, much shorter one.

Thanks Barkin. I have now deleted those temp files and will wait to see what happens.Partview now shows orange instead of red, so some progress there.

EDIT: Looks like I also have a problem with openoffice. I have a directory for /opt/openoffice (about 400MB) and a folder for /opt/libreoffice(also about 400MB). I only use Libreoffice on this machine, so I figure that the openoffice directory is something I don't need. However, if I try to rename it (to see if it causes any problems if I prepare to delete it) it won't let me rename it - it insists on making a duplicate directory with the new name. Hmmm.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Mon 10 Dec 2012, 04:44    Post subject:  

greengeek wrote:
jpeps wrote:
try busybox du -h -d1 ??

Thanks jpeps - that got it. The busybox du lists all the directories and sizes. cheers.


Could you post "du --version | head -1" ? Maybe old coreutil versions don't include it?
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 622
Location: Staffordshire

PostPosted: Mon 10 Dec 2012, 17:06    Post subject:  

This is from the current Wary:
Code:

# busybox |head -1
BusyBox v1.19.3 (2011-11-09 07:34:50 WST) multi-call binary.


Code:

# du --version | head -1
du (GNU coreutils) 6.12
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Mon 10 Dec 2012, 18:35    Post subject:  

Keef wrote:
This is from the current Wary:

Code:


du (GNU coreutils) 6.12


Thanks,

Exprimo uses 8.14, which has -d arg.

6.1 was released in Aug, 2006
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11034
Location: Arizona USA

PostPosted: Mon 10 Dec 2012, 22:30    Post subject:  

greengeek wrote:
Does anyone know of a way to display directory size rather than just individual files?

In ROX, ctrl+A (select all), then right-click and choose Count from the ROX menu. ROX will show the count for all the directories you selected with ctrl+A. ROX's count is slightly less than what du says. Confused

I like Gdmap, too. Smile
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Tue 11 Dec 2012, 04:45    Post subject:  

jpeps wrote:
Could you post "du --version | head -1" ? Maybe old coreutil versions don't include it?


Code:
sh-4.1# du --version | head -1
du (GNU coreutils) 6.9
sh-4.1#

Hopefully you can make sense of this. (over my head...). Thx for the help.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2512
Location: New Zealand

PostPosted: Tue 11 Dec 2012, 05:07    Post subject:  

Flash wrote:
In ROX, ctrl+A (select all), then right-click and choose Count from the ROX menu. ROX will show the count for all the directories you selected with ctrl+A.

Excellent. Thanks.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 11 Dec 2012, 11:34    Post subject:  

greengeek wrote:

du (GNU coreutils) 6.9
sh-4.1#
[/code]
Hopefully you can make sense of this. (over my head...). Thx for the help.


The problem is a very old version of GNU coreutils. I'd consider an update.
http://murga-linux.com/puppy/viewtopic.php?t=77671
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [31 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0853s ][ Queries: 13 (0.0078s) ][ GZIP on ]