#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 [EMAIL PROTECTED]):

 The official LFS loop is:

 {{{
         loop=300
         confirm=0
         while true ; do
             sleep 0.1
             test -d /dev/.udev/queue && confirm=0 || confirm=$(( $confirm
 + 1 ))
             loop=$(( $loop - 1 ))
             test $loop -gt 0 || break
             test $confirm -lt 60 || break
         done
 }}}

 It differs from Slackware and Gentoo by exiting not when the queue
 disappears, but when it doesn't reappear after 60 retries. The bug in
 Gentoo and Slackware is exactly that the queue sometimes disappears for a
 moment, and their script exits prematurely.

-- 
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