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 Wed 01 Oct 2014, 07:00
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
partview errors using the DETAILS button
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3368
Location: Oregon

PostPosted: Thu 22 May 2014, 10:17    Post subject:  partview errors using the DETAILS button
Subject description: Specific to use of the du command
 

I normally do not play a lot with options in some of Puppy's utilities.
But I was running Puppy Lupu 520 and decided to try some of the options in partview.
When I would select DETAILS and choose a partition, I would get a blank xdialog window with no information shown.
From there, I opened /tmp/xerrs.log I saw that the du command was complaining about parameters such as:

du: invalid option -- 'd'
du: invalid option -- '1'
Try `du --help' for more information.

So I think those invalid options were stopping du from working and resulting in the empty xdialog window in DETAILS.

Can someone verify this and is there a solution other than editing the partview file and removing the invalid options?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9150
Location: Stratford, Ontario

PostPosted: Thu 22 May 2014, 11:08    Post subject:  

Just to be clear, you are using the new Partview from here.

Read Note #2.

Quote:
This feature only works in recent Puppies.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3368
Location: Oregon

PostPosted: Thu 22 May 2014, 19:41    Post subject:  

rcrsn51 wrote:
Just to be clear, you are using the new Partview from here.

Read Note #2.

Quote:
This feature only works in recent Puppies.


That is the version of partview I am using.
And as I stated, I am using it with Lupu 520.
So are you saying that the du command changed in later versions to include more options?
When I run it from a terminal, the du part never completes as it kicks out the feedback I showed in my first post.
If I make a modified script excluding those options, it will show the files in a directory with sizes of them.

And I would have thought that Lupu 520 was not that old.

Also, I was giving insight into why the DETAILS part of partview failed to complete in Lupu 520.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9150
Location: Stratford, Ontario

PostPosted: Thu 22 May 2014, 21:04    Post subject:  

8-bit wrote:
So are you saying that the du command changed in later versions to include more options?

Yes.
Quote:
If I make a modified script excluding those options, it will show the files in a directory with sizes of them.

That's true. But I find it more useful to see the total sizes of the top-level directories, instead of all the individual files. The new versions of du can do this.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3368
Location: Oregon

PostPosted: Fri 23 May 2014, 00:45    Post subject:  

Well, I just renamed du in Lupu520 and then copied du from Precise 5.7.1 to that location and DETAILS in partview now work.
It is interesting that Barry did not use the latest version in Precise 5.7.1 though.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9150
Location: Stratford, Ontario

PostPosted: Fri 23 May 2014, 11:57    Post subject:  

Thanks. I have added a link to this discussion in the Partview 2014 thread.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0583s ][ Queries: 12 (0.0115s) ][ GZIP on ]