#4184 BLOC First D: JFFS2 Dirent Anomaly

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 17 22:00:31 EDT 2007


#4184: JFFS2 Dirent Anomaly
--------------------------------+-------------------------------------------
  Reporter:  wmb at firmworks.com  |       Owner:  mstone                
      Type:  defect             |      Status:  new                   
  Priority:  blocker            |   Milestone:  First Deployment, V1.0
 Component:  kernel             |     Version:                        
Resolution:                     |    Keywords:                        
  Verified:  0                  |  
--------------------------------+-------------------------------------------

Comment(by cscott):

 Replying to [comment:13 wmb at firmworks.com]:
 > Well, it turns out that modprobe opens .ko files in Read/Write mode.
 >
 > Why does it do that?  So it can support the --force* options, in which
 it attempts to remove version information from the module file to override
 mismatches with the kernel version. It opens R/W regardless of whether any
 --force* option is present.
 >
 > IMHO, that is a bad idea.  Munging a module file should be done with a
 separate command.

 A-ha!  Thanks for this find; this was one of the puzzling issues remaining
 from trac #3581.  I'll add 'fixing modprobe' to my to-do list.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4184#comment:15>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list