LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2008, 01:21 AM   #1
91change
Member
 
Registered: Jul 2008
Posts: 42

Rep: Reputation: 15
rcS and udev


Problem :--> I rebooted my linux embedded box with connecting two usb drives but udev rules are not excuted . Linux doesnt detect drives . But if reconnect after booting ,it detects and rules are excuted .


Analysis :---> I am starting udevd in rcS script and all linux usb drivers are part of kernel . So i doubt linux detects these drives and are unable to excute udev rules since udevd is not up by the time .


My dirty solution --------> is to load the usbstore driver after udevd is loaded . But it is a bad solution .
Any good solution ???


I wonder how linux systems tackle this issue ?

Last edited by 91change; 12-08-2008 at 01:47 AM.
 
Old 12-09-2008, 09:52 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Are the USB flash drives listed in /etc/fstab so they will auto mount on boot ?
 
Old 12-10-2008, 04:54 AM   #3
91change
Member
 
Registered: Jul 2008
Posts: 42

Original Poster
Rep: Reputation: 15
it is not a problem with mount or automount .

udevd is started in rcS script . But linux kernel detects usb drives before udevd is started .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RCS for directory in Linux ssrameez Linux - Software 1 03-24-2008 02:54 AM
I need RCS using fc4 gambato79 Fedora 1 04-19-2006 06:59 AM
RCS best practice? jonin Linux - Software 1 09-30-2004 06:54 PM
/etc/rc0.d-rcS.d ?? Wurstkoffer Debian 3 04-17-2004 07:36 PM
RCS and CVS which to use for configs? Dark_Helmet Linux - Software 0 06-29-2003 01:53 AM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration