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 26 Nov 2014, 07:21
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 Posts_count  
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Thu 22 May 2014, 10:17    Post_subject:  partview errors using the DETAILS button
Sub_title: 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: 9260
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: 3393
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: 9260
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: 3393
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: 9260
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0570s ][ Queries: 12 (0.0114s) ][ GZIP on ]