#1720: On 2.6.15.4/UDEV085, swapon sometimes fails
-------------------------------------+--------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [EMAIL PROTECTED]
     Type:  defect                   |       Status:  new                       
  
 Priority:  highest                  |    Milestone:  6.2                       
  
Component:  Bootscripts              |      Version:  SVN                       
  
 Severity:  blocker                  |   Resolution:                            
  
 Keywords:                           |  
-------------------------------------+--------------------------------------
Comment (by Wilco):

 Yeah it may be buggy but I is there another way?

 This is from gentoo bootscripts:
 {{{
     # loop until everything is finished
     # there's gotta be a better way...
     ebegin "Letting udev process events"
     loop=0
     while test -d /dev/.udev/queue; do
         sleep 0.1;
         test "$loop" -gt 300 && break
         loop=$(($loop + 1))
     done

 }}}
 Same kind of loop although they admit there's gotta be a better way!

 I think this is related to how udev handles child processes and I doubt if
 it can be fixed.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1720>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to