Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.sbin/installboot



Module Name:    basesrc
Committed By:   lukem
Date:           Tue May 14 06:18:53 UTC 2002

Modified Files:
        basesrc/usr.sbin/installboot: ffs.c fstypes.c installboot.8
            installboot.c installboot.h
        basesrc/usr.sbin/installboot/arch: alpha.c pmax.c sparc.c sparc64.c
            sun68k.c vax.c

Log Message:
user visible stuff:
- add `-B s2bno', to provide the starting block for the secondary bootstrap.
  intended for use on platforms where the blocks of the stage2 bootstrap
  are hardcoded into the stage1 bootstrap (currently: sparc, sun2)
- don't support `-b s1bno' for sparc or sun2, since the primary is always
  at a fixed location on the disk.
- if `filesystem' is a regular file, use fsync(2) instead of sync(2)

code changes:
- add hardcode_stage2(), which uses -B s2bno and the size of the
  provided secondary bootstrap (as an actual file, not as part of the
  `filesystem' argument) to provide a sequential list of blocks from s2bno,
  each block being the appropriate file system size (from
  params->fstype->blocksize)
- add blocksize and needswap run-time parameters to ib_fs
- in *_match(), set params->fstype->blocksize to the underlying block size
  (8KB for raw), and params->fstype->needswap as appropriate
- rename IB_STARTBLOCK to IB_STAGE1START, and add IB_STAGE2START
- use hardcode_stage2() to implement raw_findstage2() and IB_STAGE2BLOCK
  support for ffs_findstage2()
- improve some comments, add some prototypes, ...


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/usr.sbin/installboot/ffs.c
cvs rdiff -r1.2 -r1.3 basesrc/usr.sbin/installboot/fstypes.c
cvs rdiff -r1.13 -r1.14 basesrc/usr.sbin/installboot/installboot.8
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/installboot/installboot.c
cvs rdiff -r1.8 -r1.9 basesrc/usr.sbin/installboot/installboot.h
cvs rdiff -r1.8 -r1.9 basesrc/usr.sbin/installboot/arch/alpha.c
cvs rdiff -r1.6 -r1.7 basesrc/usr.sbin/installboot/arch/pmax.c
cvs rdiff -r1.1 -r1.2 basesrc/usr.sbin/installboot/arch/sparc.c
cvs rdiff -r1.10 -r1.11 basesrc/usr.sbin/installboot/arch/sparc64.c
cvs rdiff -r1.11 -r1.12 basesrc/usr.sbin/installboot/arch/sun68k.c
cvs rdiff -r1.5 -r1.6 basesrc/usr.sbin/installboot/arch/vax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index