Ignore:
Timestamp:
Mar 1, 2007, 12:31:03 PM (17 years ago)
Author:
andree
Message:

Add to Bruno's improvements to function insmod_crucial_modules():

  • Try to load module 'msdos' rather than 'dos' which does not exist. Avoids message: 'WARNING: Module dos not found.' when starting mondoarchive. (Used to be 'FATAL: Module dos not found.' as reported on mailing list when 'dos' was still called in separate modprobe call.)
  • Don't explicitly load module fat - this happens automatically when msdos or vfat are loaded and fat is not useful by itself.
  • Updated the comment accordingly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-tools.c

    r1217 r1221  
    286286/**
    287287 * Insert modules that Mondo requires.
    288  * Currently inserts @c dos, @c fat, @c vfat, and @c osst for Linux;
     288 * Currently inserts @c msdos, @c vfat, and @c loop for Linux;
    289289 * @c msdosfs and @c ext2fs for FreeBSD.
    290290 */
     
    295295    system("kldstat | grep ext2fs  || kldload ext2fs 2> /dev/null");
    296296#else
    297     system("modprobe -a dos fat vfat loop &> /dev/null");
     297    system("modprobe -a msdos vfat loop &> /dev/null");
    298298#endif
    299299}
Note: See TracChangeset for help on using the changeset viewer.