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 Fri 31 Oct 2014, 06:11
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Autorun pmount when new usb drive is plugged? [SOLVED]
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1840
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 24 Jan 2013, 11:32    Post_subject:  

Hello SFR,
Really great! This works, as well as plugging or unplugging a removable device and explanations helped me to understand how: thank you!
Last thing Embarassed : As said above, pmount window is not always refreshed properly and this has sometimes to be done manually. Is there any sleep delay to put/increase somewhere for this script to work... perfectly?

Cordialement.
Back to top
View user's profile Send_private_message Visit_website 
SFR


Joined: 26 Oct 2011
Posts: 1081

PostPosted: Thu 24 Jan 2013, 13:09    Post_subject:  

Perhaps the device was reinserted too quickly..? Hard to say, because I haven't encountered this problem.
You can try decrease sleep 2 to, eg. sleep 1, but don't know if this helps...

To watch up to date what devices (and how quick) are being recognized by system, launch this in terminal:
Code:
watch -n1 ls -1 --hide=ram* --hide=loop* /sys/block

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1840
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 24 Jan 2013, 14:05    Post_subject:  

Hello SFR,
Thank you for all!
There are really fantastic, qualified and incredibly committed guys on this Forum: it is a happiness!
I think I can consider this thread as duly [SOLVED] now! Very Happy
Have a good day.

Cordialement.

_________________

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
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.0420s ][ Queries: 13 (0.0045s) ][ GZIP on ]