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 Mon 21 Apr 2014, 06:50
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 [18 Posts]   Goto page: Previous 1, 2
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1780
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 poster's website 
SFR


Joined: 26 Oct 2011
Posts: 880

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: 1780
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 poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [18 Posts]   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:  

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.0394s ][ Queries: 13 (0.0053s) ][ GZIP on ]