cvs commit: src/usr.sbin/sysinstall dispatch.c media.c sysinstall.8 sysinstall.h

Jung-uk Kim jkim at FreeBSD.org
Fri Jan 27 13:00:32 PST 2006


jkim        2006-01-27 21:00:31 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/sysinstall  dispatch.c media.c sysinstall.8 
                         sysinstall.h 
  Log:
  Add `mediaOpen' function.  This function mounts selected media device.
  
  For example, you can dynamically generate and load configuration file
  depending on the hardware configuration with the following template:
  
          mediaSetCDROM
          mediaOpen
          command='/dist/rescue/sh /dist/scripts/install.sh'
          system
          mediaClose
          configFile=/tmp/generated.cfg
          loadConfig
  
  Now we have full access to files on the media before installation begins.
  
  Revision  Changes    Path
  1.48      +8 -0      src/usr.sbin/sysinstall/dispatch.c
  1.122     +8 -0      src/usr.sbin/sysinstall/media.c
  1.72      +5 -0      src/usr.sbin/sysinstall/sysinstall.8
  1.267     +1 -0      src/usr.sbin/sysinstall/sysinstall.h


More information about the cvs-src mailing list