Changeset 672 in MondoRescue
- Timestamp:
- Jun 12, 2006, 9:55:14 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 22 deleted
- 16 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/ChangeLog
r649 r672 3 3 MINDI CHANGES 4 4 5 1.0.8-4 (2006-06-10) 6 - nfsmount option added to allow redeployment from another NFS server (Bruno Cornec) 7 5 8 1.0.8-3 (2006-06-07) 6 - exec-shield removed for mindi 7 (Bruno Cornec) 8 - Fix a bug for ia64 build in mindi where locallib was undefined 9 (Bruno Cornec) 10 - Fix a bug for SuSE and Debian where $dfam was used in install.sh 11 (Bruno Cornec) 12 - Make the init script mdadm-aware 13 (Andree Leidenfrost) 9 - exec-shield removed for mindi (Bruno Cornec) 10 - Fix a bug for ia64 build in mindi where locallib was undefined (Bruno Cornec) 11 - Fix a bug for SuSE and Debian where $dfam was used in install.sh (Bruno Cornec) 12 - Make the init script mdadm-aware (Andree Leidenfrost) 14 13 15 14 1.0.8-2 (2006-06-02) 16 - Fix bugs in the swap+LABEL code found on rhel4 17 (Peter Naber/Bruno Cornec) 18 - PXE mode now supports change of NIC for redeployment 19 (Bruno Cornec) 15 - Fix bugs in the swap+LABEL code found on rhel4 (Peter Naber/Bruno Cornec) 16 - PXE mode now supports change of NIC for redeployment (Bruno Cornec) 20 17 21 18 1.0.8-1 (2006-05-25) 22 19 - new build process (Bruno Cornec) 23 - Fix a bug when a disk less than 2.8 MB can be built, to 24 include enough modules to support SCSI cds 25 (Bruno Cornec) 26 - Fix a bug in .spec for RPM build (%attr now unused) 27 (Bruno Cornec) 28 - Add support for LABEL on swap partitions 29 (Michel Loiseleur + Julien Pinon) 30 - Attempt to fix bug 6827 (addition of a script for 31 busybox udhcpc to support pxe/dhcp restore) 32 (Bruno Cornec) 20 - Fix a bug when a disk less than 2.8 MB can be built, to include enough modules to support SCSI cds (Bruno Cornec) 21 - Fix a bug in .spec for RPM build (%attr now unused) (Bruno Cornec) 22 - Add support for LABEL on swap partitions (Michel Loiseleur + Julien Pinon) 23 - Attempt to fix bug 6827 (addition of a script for busybox udhcpc to support pxe/dhcp restore) (Bruno Cornec) 33 24 - support of dm and LVM v2 (Andree Leidenfrost) 34 25 - analyze-my-lvm is under $MINDI_LIB (Andree Leidenfrost) 35 - Fix a bug introduced by trying to avoid an error 36 message when modprobe.d doesn't exist 37 (Johannes Franken) 38 - Fix for Bug #6975 (/net is now excluded from kernel search location) 39 (Bruno Cornec) 26 - Fix a bug introduced by trying to avoid an error message when modprobe.d doesn't exist (Johannes Franken) 27 - Fix for Bug #6975 (/net is now excluded from kernel search location) (Bruno Cornec) 40 28 - Allow 5670 MB fllopy disks for lilo as well (Bruno Cornec) 41 29 - Add missing net modules (Klaus Ade Johnstad) … … 43 31 1.0.7 (2006-03-10) 44 32 - Fix issue for 2.6 kernels with VIA chipsets (Andree Leidenfrost) 45 - stop creating further size of floppy disks if the smaller one succeeds 46 (Bruno Cornec) 47 - init revamped (removed unnecessary second general module loading phase, 48 start NFS appropriately depending on PXE or simple NFS) 49 (Andree Leidenfrost) 33 - stop creating further size of floppy disks if the smaller one succeeds (Bruno Cornec) 34 - init revamped (removed unnecessary second general module loading phase, start NFS appropriately depending on PXE or simple NFS) (Andree Leidenfrost) 50 35 - Changed module 'nfsacl' to 'nfs_acl' (Andree Leidenfrost) 51 36 - Mindi/DiskSize is gone (Bruno Cornec) 52 - useless cat, sort|uniq commands removed 53 (Bruno Cornec/Sébastien Aperghis-Tramoni) 37 - useless cat, sort|uniq commands removed (Bruno Cornec/Sébastien Aperghis-Tramoni) 54 38 - Doc cleanup (Andree Leidenfrost) 55 39 - Bug fix for chown in install.sh (JeffS) 56 40 - CHANGES renamed also in install.sh now (Bruno Cornec) 41 - rpmlint cleanups 42 - Get mindi to look for analyze-my-lvm in it's library directory MINDI_LIB (See also Debian bug #351446.) 43 - mindi only deletes freshly created 1440kb images in case of error (See also Debian Bug #348966.) (Andree Leidenfrost) 44 - try standard grub-install in grub-MR restore script before trying anything fancy (Andree Leidenfrost) 45 - busybox mount should be called with -o ro for PXE (Make RHEL 3 works in PXE with a 2.6 failsafe kernel now available) (Bruno Cornec) 46 - Fix mindi for 2.6 Failsafe support (Bruno Cornec) 47 - mindi now depends on grep >= 2.5 (for -m option) (Marco Puggelli/Bruno Cornec) 48 - Fix a bug in LVM context for RHEL4 in GetValueFromField (Rémi Bondoin/Bruno Cornec) 49 - New RPM Build environement (Bruno Cornec) 50 - mindi now supports x86_64 natively (Bruno Cornec) 51 - stop creating further size of floppy disks if the smaller one succeeds (Bruno Cornec) 57 52 58 53 1.06 (2005-12-23) 59 54 - mindi manpage added (Andree Leidenfrost) 60 55 - clean up remaining mount points, mindi.err at the end (Wolfgang Rosenauer) 61 - fix bugs for SuSE distro around tar, tr and find arguments order 62 (Wolfgang Rosenauer) 56 - fix bugs for SuSE distro around tar, tr and find arguments order (Wolfgang Rosenauer) 63 57 - new busybox.net version used for better PXE support (Bruno Cornec) 64 58 - USB keyboard support (Bruno Cornec) 65 59 - -p should now work with ISO/PXE/NFS modes (Bruno Cornec) 66 - relocate what was under /usr/share to /usr/lib (FHS compliance) 67 (Bruno Cornec/Andree Leidenfrost) 68 - manage non ambiguous delivery under /usr (packages) or /usr/local (tar ball) 69 (Bruno Cornec) 70 - install script rewritten and used for RPM build, with new layout 71 (Sébastien Aperghis-Tramoni/Bruno Cornec) 60 - relocate what was under /usr/share to /usr/lib (FHS compliance) (Bruno Cornec/Andree Leidenfrost) 61 - manage non ambiguous delivery under /usr (packages) or /usr/local (tar ball) (Bruno Cornec) 62 - install script rewritten and used for RPM build, with new layout (Sébastien Aperghis-Tramoni/Bruno Cornec) 72 63 - use parted2fdisk everywhere (Bruno Cornec) 73 - use MONDO_LIB exported by mondoarchive instead of MONDO_HOME guessed 74 (Bruno Cornec) 75 - RPM build for fedora core 4, sles9, redhat 7.3, rhel 3/4, mandriva 2006.0, 76 mandrake 10.2/10.1 (Bruno Cornec/Gary Granger) 64 - use MONDO_LIB exported by mondoarchive instead of MONDO_HOME guessed (Bruno Cornec) 65 - RPM build for fedora core 4, sles9, redhat 7.3, rhel 3/4, mandriva 2006.0, mandrake 10.2/10.1 (Bruno Cornec/Gary Granger) 77 66 - VERSION/RELEASE Tag added (Bruno Cornec) 78 67 - VMPlayer support 79 - Code cleanup, small fixes, PXE/NFS code improvements 80 (Wolfgang Rosenauer/Sébastien Aperghis-Tramoni/Bruno Cornec 81 - New switches for PXE mode (ping & ipconf, Cf README.pxe) 82 (Sébastien Aperghis-Tramoni/Bruno Cornec) 68 - Code cleanup, small fixes, PXE/NFS code improvements (Wolfgang Rosenauer/Sébastien Aperghis-Tramoni/Bruno Cornec 69 - New switches for PXE mode (ping & ipconf, Cf README.pxe) (Sébastien Aperghis-Tramoni/Bruno Cornec) 83 70 - mindi-kernel added to SVN (Bruno Cornec) 84 71 85 72 1.05 (2005-11-19) 86 - Bug fix for ldd output incorrectly handled, leading to "grep not found" error 87 (Andree Leidenfrost) 88 - NFS now works in interactive mode, and nolock problems are solve 89 (Andree Leidenfrost) 90 - IA-64 support is now working for rhel 3 91 (Bruno Cornec) 92 - add MINDI_CONF to the mindi LOGFILE 93 (Philippe De Muyter) 94 - Speed up fdisk'ing dev/ida raid devices 95 (Philippe De Muyter) 73 - Bug fix for ldd output incorrectly handled, leading to "grep not found" error (Andree Leidenfrost) 74 - NFS now works in interactive mode, and nolock problems are solve (Andree Leidenfrost) 75 - IA-64 support is now working for rhel 3 (Bruno Cornec) 76 - add MINDI_CONF to the mindi LOGFILE (Philippe De Muyter) 77 - Speed up fdisk'ing dev/ida raid devices (Philippe De Muyter) 96 78 97 79 1.04 (2005-05-03) 98 80 - support exec-shield 99 - added 'ide-generic' module to IDE modules in mindi to ensure that kernels 100 with fully modularised IDE sub-system boot 101 - rewrote script 'wait-for-petris' to ensure that petris actually starts and 102 can be restarted reliably 103 - fixed syntax error in mindi where a wrong delimiter is used in and sed call 104 when processing file '/etc/issue.net' 105 - removed '#!/bin/bash' from file 'rootfs/etc/bashrc' (bashrc get sourced, not 106 executed) 81 - added 'ide-generic' module to IDE modules in mindi to ensure that kernels with fully modularised IDE sub-system boot 82 - rewrote script 'wait-for-petris' to ensure that petris actually starts and can be restarted reliably 83 - fixed syntax error in mindi where a wrong delimiter is used in and sed call when processing file '/etc/issue.net' 84 - removed '#!/bin/bash' from file 'rootfs/etc/bashrc' (bashrc get sourced, not executed) 107 85 - removed executable flag from: 108 109 86 - 'rootfs/etc/ld.so.cache' 87 - 'rootfs/root/.profile' 110 88 111 89 1.03 (2004-09-29) … … 115 93 - better kernel-level logging 116 94 - added ACL, xattr binaries to deplist.txt 117 - fixed obscure bug which occasionally stopped mindi from correctly finding 118 and documenting all LVM2 LVM-on-RAID volumes 119 95 - fixed obscure bug which occasionally stopped mindi from correctly finding and documenting all LVM2 LVM-on-RAID volumes 120 96 1.01 (2004-06-21) 121 97 - added ide_tape and other modules to mindi's config detection … … 179 155 - better ISO support 180 156 - tweaked mindi to use 10-15% fewer floppies 181 - added RUN_AFTER_INITIAL_BOOT_PHASE var at start of Mindi, which 182 user may use to force Mindi to run command before bootstrapping 183 to aux data disks or CD - e.g. 'echo engage > /proc/scsi/something' 184 - allow for Debian & other Stiefkinder that use 'none', not 'swap' 185 as the mountpoint of the swap partition 157 - added RUN_AFTER_INITIAL_BOOT_PHASE var at start of Mindi, which user may use to force Mindi to run command before bootstrapping to aux data disks or CD - e.g. 'echo engage > /proc/scsi/something' 158 - allow for Debian & other Stiefkinder that use 'none', not 'swap' as the mountpoint of the swap partition 186 159 - removed afio dependency 187 - added RUN_AFTER_BOOT_PHASE_COMPLETE to let user specify a command 188 to be run by Mindi after it boots but before it runs mondorestore 160 - added RUN_AFTER_BOOT_PHASE_COMPLETE to let user specify a command to be run by Mindi after it boots but before it runs mondorestore 189 161 - re-worked install.sh and tarball not to use tgz's 190 162 - cleared up the boot msg … … 206 178 - clean up some calls to grep, esp. partition_mountpt=... 207 179 - corrected some bashisms, to suit Debian ped- er, users 208 - made first line refer to bash, not sh, to make sure 209 the Debian people know Mindi requires bash, not hs 180 - made first line refer to bash, not sh, to make sure the Debian people know Mindi requires bash, not hs 210 181 - changed grep -v "#" and grep -vx "#.*" to grep -vx " *#.*" 211 - disabled code which would make Mindi use sfdisk instead of fdisk 212 if it looked as if Debian's fdisk would misbehave 182 - disabled code which would make Mindi use sfdisk instead of fdisk if it looked as if Debian's fdisk would misbehave 213 183 214 184 v0.91 (2003-04-04) … … 221 191 - try harder to boot from CD, even if tape fails 222 192 - added ADDITIONAL_BOOT_PARAMS to be sent to kernel 223 - better resolution of relative softlinks, leading to fewer 224 duplicates on data disks and therefore fewer data disks 225 - detect Debian+devfs; use sfdisk instead of fdisk in that 226 eventuality, to work around yet another of Debian's warts 193 - better resolution of relative softlinks, leading to fewer duplicates on data disks and therefore fewer data disks 194 - detect Debian+devfs; use sfdisk instead of fdisk in that eventuality, to work around yet another of Debian's warts 227 195 - removed /lib/libuuid.* from rootfs.tgz 228 196 - fixed vi 229 - mindi now uses gawk --traditional (making gawk behave in a functionally 230 identical way to awk) - PASS; great, so now Debian needs to fix its awk :) 197 - mindi now uses gawk --traditional (making gawk behave in a functionally identical way to awk) - PASS; great, so now Debian needs to fix its awk :) 231 198 - removed / from list of dirs accessed when trying to resolve deplist entry 232 199 - spinner bugfix; handle odd LABELs properly (Tom Mortell) … … 248 215 249 216 v0.71 (2002-11-17) 250 - if your kernel's builddate doesn't match any of the kernels in 251 your /boot directory then fudge the issue & find the closest 252 match (*grumble* Debian) 217 - if your kernel's builddate doesn't match any of the kernels in your /boot directory then fudge the issue & find the closest match (*grumble* Debian) 253 218 - scan tape & CD at start, to force inclusion of modules on boot device 254 219 - double EXTRA_SPACE if >7 disks … … 284 249 - added RPC support to uClibc 285 250 - cleaned up creation of Mondo-Mindi configuration file 286 - fixed bug in TryToFindKernelPath which stopped it from handling 287 multiple, same-version kernels gracefully 251 - fixed bug in TryToFindKernelPath which stopped it from handling multiple, same-version kernels gracefully 288 252 - cleaned up deplist.txt 289 253 - receive 'DIFFERENTIAL' variable from Mondo … … 301 265 - .spec file clean-up; automation; config file (Carl Wilhem Soderstrom) 302 266 303 v0.64-1 (2002-07-1 4)267 v0.64-1 (2002-07-13) 304 268 - fixed RH7.3 readonly bug 305 269 - improved nfs config file creation … … 348 312 349 313 v0.62 (2002-04-08) 350 - keep certain /dev directories compressed until boot-time, to allow 351 Mindi to support larger kernels 314 - keep certain /dev directories compressed until boot-time, to allow Mindi to support larger kernels 352 315 - cleaned up logging a lot 353 316 - better detection of the kernel currently in use … … 370 333 371 334 v0.58-r6 (2002-03-03) 372 - reassemble large data/library files who have older 'mv' code which doesn't 373 like to overwrite symlinks - affects older RH+Slack systems (Andrew Bulhak) 335 - reassemble large data/library files who have older 'mv' code which doesn't like to overwrite symlinks - affects older RH+Slack systems (Andrew Bulhak) 374 336 - call /usr/bin/logger, not 'logger', in LogIt() 375 337 - run chmod 755 `which start-nfs` before running start-nfs 376 377 338 378 339 v0.58-r5 (2002-02-24) … … 388 349 v0.58-r4 (2002-02-18) 389 350 - quash error if /opt not found 390 - use /tmp/groovy-stuff instead of /mnt/groovy-stuff for 391 handling data disks and their contents, for tape users 351 - use /tmp/groovy-stuff instead of /mnt/groovy-stuff for handling data disks and their contents, for tape users 392 352 393 353 v0.58-r3 (2002-02-17) … … 431 391 - moved many global vars to start of script 432 392 - better at finding US kbd maps 433 - migrating to a single configuration file, /tmp/mondo-restore.cfg, for 434 Mondo users; file is not in use yet but is there for future expansion 393 - migrating to a single configuration file, /tmp/mondo-restore.cfg, for Mondo users; file is not in use yet but is there for future expansion 435 394 436 395 v0.55 (2002-01-28) 437 - MINDI_HOME and MONDO_HOME defined at start of each source file, making 438 it easier to relocate Mindi and Mondo if desired 396 - MINDI_HOME and MONDO_HOME defined at start of each source file, making it easier to relocate Mindi and Mondo if desired 439 397 - tries to mount /dev/hd[a-h] at boot-time, looking for CD-ROM; was hd[a-d] 440 398 - re-enabled the msg asking user to upgrade LILO if v21.6 441 - Lin/Win users are much, _much_ less likely to run out of disk space now 442 when restoring from backups (Carlos Molina) 399 - Lin/Win users are much, _much_ less likely to run out of disk space now when restoring from backups (Carlos Molina) 443 400 - patch from Andrej Borsenkow to help w/Mandrake 8.1 444 401 - disabled ramdisk free space checker (some distros don't like it) … … 464 421 - improved TryToFindKernelPath() function 465 422 - don't offer NFS users Nuke Mode 466 - finds and uses lilo.real if user is using Debian, a distro which 467 installs a shell script where the lilo executable should go 423 - finds and uses lilo.real if user is using Debian, a distro which installs a shell script where the lilo executable should go 468 424 - improved support for XFS users who opt to use failsafe kernel 469 425 - uses user's lsmod, depmod, insmod, etc. … … 475 431 v0.52-2 (2002-01-10) 476 432 - fixed a bug in the handling of non-English keyboard maps 477 - force failsafe kernel to provide reiserfs.o, xfs.o, jfs.o, ext2.o, 478 ext3.o and loop.o at boot-time, just in case 433 - force failsafe kernel to provide reiserfs.o, xfs.o, jfs.o, ext2.o, ext3.o and loop.o at boot-time, just in case 479 434 - added /dev/sr[0-3] devices 480 435 - copy LAST_FILELIST_NUMBER to /tmp, for compatibility with Mondo v1.3x 481 436 - incorporates NFS-related settings, if supplied by Mondo v1.3x 482 - replace busybox's mount with standard libc5 mount ater restoring 483 tools from floppies: NFS mounting requires full mount 437 - replace busybox's mount with standard libc5 mount ater restoring tools from floppies: NFS mounting requires full mount 484 438 - always make mindi.iso 485 439 … … 493 447 - /sbin and /usr/sbin added temporarily to PATH when Mindi runs 494 448 - if Mondo asks then force LILO to run in backward-compatible mode 495 - if Mondo's tmpdir has post-nuke.tgz in it then extract it and 496 incorporate its files in the data disks 449 - if Mondo's tmpdir has post-nuke.tgz in it then extract it and incorporate its files in the data disks 497 450 - losetup /dev/loop0 -d before calling LILO (Norm Crowfoot) 498 - if keyboard mapping dir (usu. /lib/kbd or /usr/lib/kbd) cannot be 499 found then don't abort; simply tell the user the default keyboard 500 mapping will be used 451 - if keyboard mapping dir (usu. /lib/kbd or /usr/lib/kbd) cannot be found then don't abort; simply tell the user the default keyboard mapping will be used 501 452 - added /dev/hd[a,b,c,d][17-24] to the rootfs tarball 502 - won't use LILO's optimizations when creating boot floppy; however, 503 optimizations are used on CD unless --broken-bios in call to Mondo 453 - won't use LILO's optimizations when creating boot floppy; however, optimizations are used on CD unless --broken-bios in call to Mondo 504 454 - won't write data disks to start of tape; lets Mondo do that 505 - tweaked how Mindi moves all.tar.gz around, to make it more 506 Mondo-friendly 455 - tweaked how Mindi moves all.tar.gz around, to make it more Mondo-friendly 507 456 - tweaked Mindi's disk-splitter 508 457 - user must unmount /dev/loop0 before calling Mindi: LILO insists... 509 458 - added NFS-related entries to deplist.txt 510 - if not called by Mondo then don't let user choose Interactive/Nuke/ 511 whatever; just offer Expert 459 - if not called by Mondo then don't let user choose Interactive/Nuke/ whatever; just offer Expert 512 460 513 461 v0.51-1 (2001-12-25) 514 - removed libm.* from rootfs.tgz 515 - replaced sh with busybox's ash 516 - upgraded busybox to 0.60-2; pared it down, too 517 - include tape-related modules on boot disk, if backing up to tape 518 - creates a tape-friendly tarball containing tools+modules 519 - reassembly of tools+libraries is more reliable now 520 - streamlined deplist.txt 521 - give user their localized keyboard layout at boot-time 522 - fix some cosmetic bugs 523 524 v0.50-4 (2011-12-19) 525 - log Mindi's version# in the event of a fatal error 526 - make Mindi's boot-time output more esthetically pleasing 527 - if filesystem is type 'image', according to Mondo, then in filelist 528 its partition type will be listed as the hexadecimal string (e.g. 529 'b', '83', etc.) and the partition mountpoint will be 'image' 462 - removed libm.* from rootfs.tgz 463 - replaced sh with busybox's ash 464 - upgraded busybox to 0.60-2; pared it down, too 465 - include tape-related modules on boot disk, if backing up to tape 466 - creates a tape-friendly tarball containing tools+modules 467 - reassembly of tools+libraries is more reliable now 468 - streamlined deplist.txt 469 - give user their localized keyboard layout at boot-time 470 - fix some cosmetic bugs 471 472 v0.50-4 (2001-12-19) 473 - log Mindi's version# in the event of a fatal error 474 - make Mindi's boot-time output more esthetically pleasing 475 - if filesystem is type 'image', according to Mondo, then in filelist its partition type will be listed as the hexadecimal string (e.g. 'b', '83', etc.) and the partition mountpoint will be 'image' 530 476 531 477 v0.50-2 (2001-12-15) 532 - support for newer features in Mondo v1.3x 533 534 v0.50-1 535 - correctly lists RAID constituent partitions in mountlist 536 - breaks compatibility with Mondo v1.2x 537 - if user's fstab has weird line(s) then ignore; don't abort 538 - working on CDROM_MODS, trying to make it work on Stewart Charnell's 539 hardware setup 540 - cleaned up /sbin/init and /sbin/post-init a bit 541 542 v0.48-2 543 - when insmod'g modules from ramdisk's root dir, use 'ls /*.o*' 544 (was 'ls /*.*') to find them 545 - if RAID controller(s) are detected then pause for 10s to let them 546 intialize by themselves (some 3ware RAID controllers require this) 547 - cleaned up /sbin/init and /sbin/post-ini; the former now controls 548 initialization of hardware, drivers, tools, etc. and the latter 549 runs mondo-restore if it exists 550 - better detection of and compatibility with SCSI CD-ROM drives 551 - chopsize is now 64KB; was 128KB 552 - cleaned up mindi's logging 553 554 v0.48-1 555 - better logging of find-and-mount-cdrom's progress (to 556 /tmp/mondo-restore.log) 557 - somehow, lilo was re-enabled in deplist.txt; DISABLED (again *g*) 558 - added 'linear' to the list of modules Mindi always backs up 559 - if called by Mondo then pass the name & device of the user's boot 560 loader to the restore phase, by copying BOOTLOADER.* to the ramdisk 561 - if loading from floppies then try to mount CD-ROM a 2nd time after 562 extracting files from data floppies, just in case user is a CD user 563 who couldn't get their CD-ROM drive to work initially 564 - added fix to make sure /root/images/mindi is created (Charlie Root) 565 - aware of 'iso' boot mode, for future expansion 566 567 v0.47 568 - added /dev/cdrom/cdrom[1-4] to the devices automatically excluded 569 from mountlist.txt 570 - added '-f-' to the end of most tar commands, to see if it fixes a 571 bug in some obscure Debian distros 572 - added network-related dependencies to deplist.txt 573 - if called by Mondo then don't write floppy images to disks; let 574 Mondo do that: less irritating for user 575 - if called by Mondo then do some clever tricks to add mondo-restore 576 and its dependencies (mondo-restore is now a dynamic executable) 577 - finally gotten klogd to squelch echoing of kernel msgs to console 578 579 v0.46 580 - finally fixed that 'lib/modules/2.4.12-xfs not found' bug! :-D 581 - cosmetic changes and minor bugfixes 582 - excluded lilo.conf and lilo from deplist.txt; use user's copy instead 583 - if your fstab mentions a RAID partition but your raidtab doesn't then 584 Mindi will terminate in a sane manner with a sane error message 585 - fixed a bug in bug-me (heh, how ironic) 586 - include and run (sys)klogd to try to pipe kernel msgs to logfile 587 - call hdparm to speed up access to CD-ROM drive 588 589 v0.45 590 - disabled fsck.* in deplist.txt 591 - include /etc/fstab in logfile 592 - removed lzop.* from aux-tools; should come from user's distro anyway 593 - tweaked data disk size and data disk formatting command 594 - make ISO bootable image (as well as floppies) when backing up to tape 595 - copy boot images (floppy + CD) from temp dir to /root/images/mindi 596 after making them, just in case the user wants them later 597 - added md5sum to deplist.txt 598 - added pico->vi softlink to ramdisk 599 - in the ramdisk's /etc/bashrc, added /usr/local/bin and 600 /usr/local/sbin to the PATH= command 601 - call insert-all-modules as background task; pause 3 seconds after 602 calling it, before proceeding <--- /sbin/init 603 - call to devfs has been moved to before call to post-init 604 - added 'md5sum -> busybox' softlink 605 - Mindi now uses busybox's printf, md5sum, mount, umount, vi 606 ...NB: I said, 'vi' :-) Now you have an editor again! :-) 607 - added lilo.real to deplist.txt, to allow for Debian's evil new distro 608 - added lzop to deplist.txt 609 - no longer including lzop in Mindi's tarball / RPM 610 - improved Mindi's error-reporting a little bit 611 - changed deplist.txt's /etc/* to just * 612 - restructured the calls in /sbin/post-init that reinitialize the LVM 613 and RAID modules 614 - if mkfs.ext2 is not in PATH then abort 615 - Mindi uses a 'filename cache' to speed itself up at run-time 616 (Jean-David Marrow) 617 - Red Hat 7.2 uses a weird /etc/issue.net; I've worked around it... 618 - tested with Linux-Mandrake 8.0 and Red Hat 7.2 619 620 v0.44 621 - at boot-time, activate LV's if they exist 622 - restructured deplist.txt a bit (cosmetic change) 623 - re-enabled fsck.* in deplist.txt 624 - analyze-my-lvm fails gracefully if you're not using LVM but inserted 625 the module anyway 626 627 v0.43 628 - made Mindi work with Red Hat 6.2 and 2.2.19 kernel 629 - if mkisofs is not found, say so; don't just say, 'an error occurred 630 while I was trying to make an ISO image' 631 - when formatting and writing floppies, if /dev/fd0's size is 632 indeterminable then I'll use /dev/fd0H1440 instead 633 - make sure xfs.o, jfs.o, reiserfs.o, ext2.o, ext3.o modules are 634 backed up (if they exist) to boot disks 635 - fixed a silly bug that stopped Mindi from handling its own modules 636 properly; only affects newbie users with broken kernels (i.e. the 637 very people that Mindi's failsafe kernel was meant to help!) 638 - added lzop (Marcus Oberhumer's file compressor) to aux-tools.tgz 639 - added Bruno Cornec's "--cd-recovery" patch; if user uses the switch 640 (i.e. '--cd-recovery yes') then the CD will boot to a screen that 641 pauses until the user types RESTORE; then, it will enter Nuke Mode 642 - added Stephan Zegherd's "superformat" patch 643 - failsafe kernel is now 2.4.12 with XFS, JFS and lots of SCSI modules; 644 the addition of XFS and extensive SCSI support will increase the 645 size of Mindi's RPM / tarball significantly but I think it's worth it 646 - at boot-time, find out whether there are any RAID partitions; and if 647 there are, whether they are 'started' yet; if not, run raidstart to 648 start them at boot-time, before user can try to mount anything 649 - Mindi's failsafe kernel & modules are handled more elegantly now; 650 if you have raid1.o, scsi.o, etc. loaded at backup-time then Mindi 651 finds its corresponding modules in its tarball of failsafe modules 652 and stores them so that at boot-time you can do SCSI, RAID, etc. 653 - removed gawk, printf from deplist.txt 654 655 v0.42 656 - make sure lvm-mod, raid0, raid1 and raid5 modules are backed up 657 - added 'you need a ramdisk' to FAQ 658 - changed the slice size from 20KB to 64KB; speeds up Mindi by 25% 659 and doesn't have any negative side-effects (...that I can see) 660 - when searching for your current kernel version, do not examine 661 a file if it does not exist (it sounds obvious, I know...) 662 - when asking user to send me a copy of their log file, point out 663 that it may contain info which they do not want me to see but that 664 they are SOL unless I can actually see their log file 665 - fixed a silly bug that would crop up when a Linux-Mandrake 8.1 user 666 would use a devfs-enabled kernel and RAID partitions at the same time 667 - plays nicely with devfs-enabled kernels and distros 668 - data floppies are now 1.44MB each; boot floppy is still 1.72MB 669 - if binutils or libbinutils is not installed, abort 670 - fixed a bug which meant that some big files overwrote each other 671 at backup-time and caused library-related problems are boot-time 672 - enabled comments ('#') in deplist.txt 673 - disabled fsck.* in deplist.txt; user may re-enable the line if 674 s/he wants those tools available at boot-time 675 - tested successfully with the following distros 676 - Linux-Mandrake 8.1 and its 2.4.8, devfs-enabled stock kernel 677 - Red Hat 7.1 and its 2.4.2 stock kernel 678 - better at guessing the size of swap partition 679 - drop minix tools from deplist; user can restore them if s/he wants 680 to use the minix filesystem 681 - don't backup _all_ cdrom modules (if backing up 'cdrom.o'); be 682 selective! ...minor bug in ListKerneModulePaths has been fixed 683 - if the user has two glibc libraries - one in /lib and one in 684 /lib/i686 - then Mindi will re-jig the softlinks so that only the 685 version in /lib is backed up, to save space on the data disks 686 - major rewrite of the code that copies the tools and libraries from 687 the data disks; prettier, faster and more stable (and did I mention 688 how kind it is to your hard-working hands?) 689 - better handling of crazy libraries and softlinks thereto 690 - new boot-time script, 'bug-me', copies user's logs to a floppy and 691 tells him/her to e-mail them to me if mondo-restore aborts 692 - ignore kernels named vmlinux (note the 'X'); traditionally, kernels 693 are named vmlinuz (note the 'Z') or something similar 694 - no longer backup all modules to CD/tape; just backup the ones loaded 695 at backup-time; this saves boot-time ramdisk space 696 - removed all references to LOOPDEVICE 697 - LVM is supported (experimental; watch this space...) 698 - included a tarball of 'sane' /dev/loop* nodes which will be extracted 699 and added to the boot disk; this helps maintain Mindi's backward- 700 compatibility with non-devfs kernels and distros 701 - when copying modules to boot or data disks, uncompress them first 702 if they are gzipped (some distros come with compressed modules) 703 - no longer copies all loaded modules to the 2.88 MB El Torito bootable 704 floppy image; instead, it copies FLOPPY_MODS to the 1.72 MB image, 705 CDROM_MODS to the 2.88 MB image, and _all_ modules that were loaded 706 at backup-time to the data disks 707 - supports tape streamers, in conjunction with Mondo 708 - uses busybox's sync again; let's see if that breaks anything... 709 - if Mondo is backing up to tape streamer then write the tape's size to 710 /tmp/TAPESIZE and the drive's device to /tmp/TAPEDEV-LIVES-HERE on 711 the ramdisk 712 - floppy disk modules (ide-floppy.o and floppy.o) now are copied 713 to the ramdisk, whether the user's kernel or the failsafe kernel 714 is being used 715 716 v0.41 717 - excluded *.old from the 'boot.b' list when searching for boot.b 718 - updated Mindi's own failsafe kernel+modules to v2.4.10 719 - added umount to deplist again 720 - improved Mindi's support of modular kernels (esp. modular CD-ROM 721 drive and floppy disk drives) 722 - don't accuse Linux 2.4.10 users of having a 'buggy kernel' 723 - restored the libc5 versions of sync and umount (dropped from 724 deplist but also from busybox) 725 - fixed a lot of silly bugs related to incorporating Busybox in Mindi 726 - experimental LVM support 727 - added 'analyze-my-lvm' script to the tarball; Mindi uses it now 728 - able to recognize & record LVM mounts, adding them to the mountlist 729 - added the LVM executables (listed in the lvm-0.xx-i386.rpm) to 730 deplist.txt; they won't be added unless you have them and you won't 478 - support for newer features in Mondo v1.3x 479 480 v0.50-1 (2001-12-14) 481 - correctly lists RAID constituent partitions in mountlist 482 - breaks compatibility with Mondo v1.2x 483 - if user's fstab has weird line(s) then ignore; don't abort 484 - working on CDROM_MODS, trying to make it work on Stewart Charnell's hardware setup 485 - cleaned up /sbin/init and /sbin/post-init a bit 486 487 v0.48-2 (2001-12-09) 488 - when insmod'g modules from ramdisk's root dir, use 'ls /*.o*' (was 'ls /*.*') to find them 489 - if RAID controller(s) are detected then pause for 10s to let them intialize by themselves (some 3ware RAID controllers require this) 490 - cleaned up /sbin/init and /sbin/post-ini; the former now controls initialization of hardware, drivers, tools, etc. and the latter runs mondo-restore if it exists 491 - better detection of and compatibility with SCSI CD-ROM drives 492 - chopsize is now 64KB; was 128KB 493 - cleaned up mindi's logging 494 495 v0.48-1 (2001-12-08) 496 - better logging of find-and-mount-cdrom's progress (to /tmp/mondo-restore.log) 497 - somehow, lilo was re-enabled in deplist.txt; DISABLED (again *g*) 498 - added 'linear' to the list of modules Mindi always backs up 499 - if called by Mondo then pass the name & device of the user's boot loader to the restore phase, by copying BOOTLOADER.* to the ramdisk 500 - if loading from floppies then try to mount CD-ROM a 2nd time after extracting files from data floppies, just in case user is a CD user who couldn't get their CD-ROM drive to work initially 501 - added fix to make sure /root/images/mindi is created (Charlie Root) 502 - aware of 'iso' boot mode, for future expansion 503 504 v0.47 (2001-12-04) 505 - added /dev/cdrom/cdrom[1-4] to the devices automatically excluded from mountlist.txt 506 - added '-f-' to the end of most tar commands, to see if it fixes a bug in some obscure Debian distros 507 - added network-related dependencies to deplist.txt 508 - if called by Mondo then don't write floppy images to disks; let Mondo do that: less irritating for user 509 - if called by Mondo then do some clever tricks to add mondo-restore and its dependencies (mondo-restore is now a dynamic executable) 510 - finally gotten klogd to squelch echoing of kernel msgs to console 511 512 v0.46 (2001-11-29) 513 - finally fixed that 'lib/modules/2.4.12-xfs not found' bug! :-D 514 - cosmetic changes and minor bugfixes 515 - excluded lilo.conf and lilo from deplist.txt; use user's copy instead 516 - if your fstab mentions a RAID partition but your raidtab doesn't then Mindi will terminate in a sane manner with a sane error message 517 - fixed a bug in bug-me (heh, how ironic) 518 - include and run (sys)klogd to try to pipe kernel msgs to logfile 519 - call hdparm to speed up access to CD-ROM drive 520 521 v0.45 (2001-11-15) 522 - disabled fsck.* in deplist.txt 523 - include /etc/fstab in logfile 524 - removed lzop.* from aux-tools; should come from user's distro anyway 525 - tweaked data disk size and data disk formatting command 526 - make ISO bootable image (as well as floppies) when backing up to tape 527 - copy boot images (floppy + CD) from temp dir to /root/images/mindi after making them, just in case the user wants them later 528 - added md5sum to deplist.txt 529 - added pico->vi softlink to ramdisk 530 - in the ramdisk's /etc/bashrc, added /usr/local/bin and /usr/local/sbin to the PATH= command 531 - call insert-all-modules as background task; pause 3 seconds after calling it, before proceeding <--- /sbin/init 532 - call to devfs has been moved to before call to post-init 533 - added 'md5sum -> busybox' softlink 534 - Mindi now uses busybox's printf, md5sum, mount, umount, vi ...NB: I said, 'vi' :-) Now you have an editor again! :-) 535 - added lilo.real to deplist.txt, to allow for Debian's evil new distro 536 - added lzop to deplist.txt 537 - no longer including lzop in Mindi's tarball / RPM 538 - improved Mindi's error-reporting a little bit 539 - changed deplist.txt's /etc/* to just * 540 - restructured the calls in /sbin/post-init that reinitialize the LVM and RAID modules 541 - if mkfs.ext2 is not in PATH then abort 542 - Mindi uses a 'filename cache' to speed itself up at run-time (Jean-David Marrow) 543 - Red Hat 7.2 uses a weird /etc/issue.net; I've worked around it... 544 - tested with Linux-Mandrake 8.0 and Red Hat 7.2 545 546 v0.44 (2001-10-28) 547 - at boot-time, activate LV's if they exist 548 - restructured deplist.txt a bit (cosmetic change) 549 - re-enabled fsck.* in deplist.txt 550 - analyze-my-lvm fails gracefully if you're not using LVM but inserted the module anyway 551 552 v0.43 (2001-10-21) 553 - made Mindi work with Red Hat 6.2 and 2.2.19 kernel 554 - if mkisofs is not found, say so; don't just say, 'an error occurred while I was trying to make an ISO image' 555 - when formatting and writing floppies, if /dev/fd0's size is indeterminable then I'll use /dev/fd0H1440 instead 556 - make sure xfs.o, jfs.o, reiserfs.o, ext2.o, ext3.o modules are backed up (if they exist) to boot disks 557 - fixed a silly bug that stopped Mindi from handling its own modules properly; only affects newbie users with broken kernels (i.e. the very people that Mindi's failsafe kernel was meant to help!) 558 - added lzop (Marcus Oberhumer's file compressor) to aux-tools.tgz 559 - added Bruno Cornec's "--cd-recovery" patch; if user uses the switch (i.e. '--cd-recovery yes') then the CD will boot to a screen that pauses until the user types RESTORE; then, it will enter Nuke Mode 560 - added Stephan Zegherd's "superformat" patch 561 - failsafe kernel is now 2.4.12 with XFS, JFS and lots of SCSI modules; the addition of XFS and extensive SCSI support will increase the size of Mindi's RPM / tarball significantly but I think it's worth it 562 - at boot-time, find out whether there are any RAID partitions; and if there are, whether they are 'started' yet; if not, run raidstart to start them at boot-time, before user can try to mount anything 563 - Mindi's failsafe kernel & modules are handled more elegantly now; if you have raid1.o, scsi.o, etc. loaded at backup-time then Mindi finds its corresponding modules in its tarball of failsafe modules and stores them so that at boot-time you can do SCSI, RAID, etc. 564 - removed gawk, printf from deplist.txt 565 566 v0.42 (2001-10-10) 567 - make sure lvm-mod, raid0, raid1 and raid5 modules are backed up 568 - added 'you need a ramdisk' to FAQ 569 - changed the slice size from 20KB to 64KB; speeds up Mindi by 25% and doesn't have any negative side-effects (...that I can see) 570 - when searching for your current kernel version, do not examine a file if it does not exist (it sounds obvious, I know...) 571 - when asking user to send me a copy of their log file, point out that it may contain info which they do not want me to see but that they are SOL unless I can actually see their log file 572 - fixed a silly bug that would crop up when a Linux-Mandrake 8.1 user would use a devfs-enabled kernel and RAID partitions at the same time 573 - plays nicely with devfs-enabled kernels and distros 574 - data floppies are now 1.44MB each; boot floppy is still 1.72MB 575 - if binutils or libbinutils is not installed, abort 576 - fixed a bug which meant that some big files overwrote each other at backup-time and caused library-related problems are boot-time 577 - enabled comments ('#') in deplist.txt 578 - disabled fsck.* in deplist.txt; user may re-enable the line if s/he wants those tools available at boot-time 579 - tested successfully with the following distros - Linux-Mandrake 8.1 and its 2.4.8, devfs-enabled stock kernel - Red Hat 7.1 and its 2.4.2 stock kernel 580 - better at guessing the size of swap partition 581 - drop minix tools from deplist; user can restore them if s/he wants to use the minix filesystem 582 - don't backup _all_ cdrom modules (if backing up 'cdrom.o'); be selective! ...minor bug in ListKerneModulePaths has been fixed 583 - if the user has two glibc libraries - one in /lib and one in /lib/i686 - then Mindi will re-jig the softlinks so that only the version in /lib is backed up, to save space on the data disks 584 - major rewrite of the code that copies the tools and libraries from the data disks; prettier, faster and more stable (and did I mention how kind it is to your hard-working hands?) 585 - better handling of crazy libraries and softlinks thereto 586 - new boot-time script, 'bug-me', copies user's logs to a floppy and tells him/her to e-mail them to me if mondo-restore aborts 587 - ignore kernels named vmlinux (note the 'X'); traditionally, kernels are named vmlinuz (note the 'Z') or something similar 588 - no longer backup all modules to CD/tape; just backup the ones loaded at backup-time; this saves boot-time ramdisk space 589 - removed all references to LOOPDEVICE 590 - LVM is supported (experimental; watch this space...) 591 - included a tarball of 'sane' /dev/loop* nodes which will be extracted and added to the boot disk; this helps maintain Mindi's backward- compatibility with non-devfs kernels and distros 592 - when copying modules to boot or data disks, uncompress them first if they are gzipped (some distros come with compressed modules) 593 - no longer copies all loaded modules to the 2.88 MB El Torito bootable floppy image; instead, it copies FLOPPY_MODS to the 1.72 MB image, CDROM_MODS to the 2.88 MB image, and _all_ modules that were loaded at backup-time to the data disks - supports tape streamers, in conjunction with Mondo 594 - uses busybox's sync again; let's see if that breaks anything... 595 - if Mondo is backing up to tape streamer then write the tape's size to /tmp/TAPESIZE and the drive's device to /tmp/TAPEDEV-LIVES-HERE on the ramdisk 596 - floppy disk modules (ide-floppy.o and floppy.o) now are copied to the ramdisk, whether the user's kernel or the failsafe kernel is being used 597 598 v0.41 (2001-09-28) 599 - excluded *.old from the 'boot.b' list when searching for boot.b 600 - updated Mindi's own failsafe kernel+modules to v2.4.10 601 - added umount to deplist again 602 - improved Mindi's support of modular kernels (esp. modular CD-ROM drive and floppy disk drives) 603 - don't accuse Linux 2.4.10 users of having a 'buggy kernel' 604 - restored the libc5 versions of sync and umount (dropped from deplist but also from busybox) 605 - fixed a lot of silly bugs related to incorporating Busybox in Mindi 606 - experimental LVM support 607 - added 'analyze-my-lvm' script to the tarball; Mindi uses it now 608 - able to recognize & record LVM mounts, adding them to the mountlist 609 - added the LVM executables (listed in the lvm-0.xx-i386.rpm) to deplist.txt; they won't be added unless you have them and you won't 731 610 have them unless you're using LVM, so this is not 'bloat' IMO :) 732 - added date and sync to deplist again 733 - when working on LVM stuff, use 'echo y | pvcreate -ff' (was '..-f') 734 - amended format-...-kludge to allow for mountlists with >1 735 spaces between cols 736 checked the fsck.reiserfs is in deplist.txt (yes it is) 737 - incorporated busybox 0.60-1; now, Mindi is faster at run-time and 738 smaller at boot-time; you can fit a typical system onto 3 floppies; 739 also, a kernel up to 1MB in size (approx.) can now be accommodated 740 - supports kernels that have MODULAR support for CD-ROM's or floppies 741 - Mindi copies only the loaded modules to the data disks but it copies 742 _all_ modules to the CD, just in case 743 - thanks to busybox your floppy-based Mindi boot disk set should now be 744 able to accommodate a kernel of up to 1MB in size 745 - boot into Expert Mode unless boot disk was generated by Mondo 746 - exclude all softlinks from list of 'eligible' kernels 747 - exclude kernels with 'vmlinux' in their names 748 - removed A LOT of files from deplist.txt's dependency list; they are 749 listed in deplist.removed, in case you want to put them back :-) 750 - excludes libX11, libXext, libXi, libgtk, libgdk ALWAYS, whether you 751 add them to deplist.txt or not; [cancel this by editing line 485] 752 - rewrote AddFileToDir() to make it more efficient (but slower...) 753 - strip chaff from binaries; strip comments from bash scripts; strip 754 comments from /etc/termcap 755 756 v0.40 757 - if you use a softlink to your CD dev, e.g. /dev/cdrecorder->scd0, 758 then Mindi should handle it properly now (i.e. not bomb out) 759 - if you have a large kernel & lots of modules loaded, Mindi will only 760 copy as many modules to the ramdisk as will _fit_ on a ramdisk that 761 will have to go alongside your kernel on a 2.88MB floppy disk 762 - if your kernel does not support loopfs, Mindi will say so & abort 763 - turned some warnings into fatal errors, to help the user to figure 764 out exactly why Mindi won't work on their kernel 765 - changed mke2fs -N24 to -N32, to see if it helps braindead distros 766 - Mondo now tells Mindi whether or not to use its stock kernel 767 - gone back to the old 'insert-my-modules' for now; it's more reliable 768 - working on the 'insert-all-my-modules' script, to make it compatible 769 with a wider range of insane distros and kernels 770 - dropped the '-c' option from LILO call 771 - removed cdrecord, mkisofs, vi, route and diff from deplist.txt 772 - slowed down the 'split data between floppies' routine; made it 773 try harder to squeeze more data onto each floppy 774 - excluding nvidia modules from the "insert-all-my-modules" script 775 because it sometimes causes freeze-ups 776 - added code to copy your fstab, lilo.conf, etc. to a tarball which, in 777 the event of an error, Mindi will ask the user to e-mail me 778 779 v0.39 780 - plays nicely with devfs, so long as your old /dev/hdX, /dev/sdX 781 softlinks are still there :-) 782 - if your swap partition isn't mounted, Mindi will decide that it is 783 125MB; it used to abort but now it just warns & makes a good guess 784 - testing the failsafe kernel & associated scripts 785 - only use lilo's "-c" option if NOT a 2.88MB floppy disk image 786 - copes better with .o, .gz, etc. module suffixes 787 - better 'loaded modules / not loaded modules' feedback at boot-time 788 - semi-forces isofs and ide-cd (not isofs.o and ide-cd.o); the former 789 will be more compatible with stock kernels - e.g. Red Hat, Mandrake; 790 also added vfat, fat & a few other modules to the list of 'foced'. 791 - removed the '-c' switch from the call to LILO (some BIOSes don't 792 like it very much) 793 - removed chaff from ramdisk's /etc/login.defs, saving approx 7K 794 - format the boot disks with -N 24 (was -N 64) 795 - do not insist on CD #1 (at boot-time) if there is no 'CD #' marker 796 - amend format-and-kludge-vfat; now, it will not abort if it cannot 797 find its entry in mountlist; it doesn't need to find the entry 798 anyway, except to check that the kludge works (which it does) 799 - if user chooses to use Mindi's failsafe 2.4.9 kernel, Mindi will load 800 Mindi's versions of user's modules at boot-time 801 - make label-devices-as-necessary log its efforts 802 - added e2label and tune2fs to deplist.txt 803 - if you boot in Normal Mode, I'll call mondo-restore --interactive 804 instead of just mondo-restore 805 - replaced K7-compatible 2.4.7 kernel with a 586-comp'ble 2.4.9 kernel 806 - improved the post-run clean-up 807 - force the copying/loading of isofs.o and ide-cd.o, which enhances 808 Mindi's support for kernels that have modular CD-ROM support 809 - Interactive Mode offers to edit /tmp/mountlist.txt before running 810 mondo-restore (good idea from F. Boon) 811 - /dev/hd[e-h]* have been added to the ramdisk 812 - disabled Cuckoo and Bootstrap Modes (they weren't doing anything 813 anyway & were probably confusing some users) 814 - removed 'edit mountlist?' question (because mondo-restore takes 815 care of that now, via a user-friendly mountlist editor) 816 - included a copy of mondo-manual.html 817 - only kludge /dev/hda1 or /dev/sda1 (if vfat, of course); 818 otherwise, use regular mkfs.vfat 819 - use mkfs.dos if mkfs.vfat does not exist 820 - moved some scripts from rootfs.tgz to Mondo's restore-scripts.tgz 821 822 v0.38 08/18/2001 823 - clarified the 'more than one kernel found' comment 824 - updated the README to emphasize that the scripts are deprecated 825 - when displaying mountlist on screen, make it easier to read 826 - changed most 'echo's to 'LogIt()'s; log most screen output to 827 /var/log/mindi.log 828 - user can now use a stock 2.4.7 kernel (which comes with Mindi) 829 if the user's distro's kernel isn't right for a boot disk 830 831 v0.37 08/12/2001 832 - changed the boot screen a little bit 833 - changed the "cannot boot from CD-ROM" message (more informative now) 834 - if an 'insmod'ed module cannot be found, warn but don't abort 835 - that whole loop-mount/extract tgz to ramdisk thing --- if it fails, 836 abort, don't try to continue; also, ask if loopfs is supported by 837 kernel (if not, that might explain the error) 838 - in addition to /lib/modules/`uname -r`/modules, also search 839 /root/oss/modules for kernel modules (Phillip Deackes) 840 - run syslog and klogd at restore-time, to pipe sys & knl messages to 841 /tmp/mondo-restore.log 842 - default restore-time boot mode is now 'interactive' (unless the 843 disk is a 1.72MB, in which case default mode is still 'expert') 844 - if CDROM can't find itself (long story, re: El Torito) then the 845 script will say, "Your kernel is b0rken." This will reduce the 846 number of erroneous error reports that I receive from users 847 - working on implementing Cuckoo Mode again 848 849 v0.36 08/03/2001 850 - testing it with LM8, RH71 and Slack8 851 - explicitily exluding /mnt/floppy and /floppy from mountlist.txt 852 - warn if afio not found (Mondo needs afio) 853 - optional --custom <temp dir> <out dir> switch added, to let the user 854 specify where the temp dirs and created images will be stored 855 - changed /sbin/init to install modules _before_ trying to mount 856 CD-ROM (David Granz) 857 - create a gawk->awk shortcut at restore-time if necessary 858 - specifically exclude /dev/fd0h1440 and /dev/fd0H1440 from mountlist 859 - removed silly "was CD inserted?" message 860 861 v0.35 862 - if LILO fails, it writes its errors to the screen 863 - use user's boot.b and LILO instead of Mindi's 864 - tarball/RPM no longer includes boot.b or lilo 865 - mke2fs' output will be echoed to screen, if an error occurs 866 - doubled the -N inode allocations and removed some of the -i inode 867 fiddles, just in case they are making Red Hat 7.1 choke 868 869 v0.34 870 - includes patch to rid Mindi of its dependence on /dev/loop devices 611 - added date and sync to deplist again 612 - when working on LVM stuff, use 'echo y | pvcreate -ff' (was '..-f') 613 - amended format-...-kludge to allow for mountlists with >1 spaces between cols checked the fsck.reiserfs is in deplist.txt (yes it is) 614 - incorporated busybox 0.60-1; now, Mindi is faster at run-time and smaller at boot-time; you can fit a typical system onto 3 floppies; also, a kernel up to 1MB in size (approx.) can now be accommodated 615 - supports kernels that have MODULAR support for CD-ROM's or floppies 616 - Mindi copies only the loaded modules to the data disks but it copies _all_ modules to the CD, just in case 617 - thanks to busybox your floppy-based Mindi boot disk set should now be able to accommodate a kernel of up to 1MB in size 618 - boot into Expert Mode unless boot disk was generated by Mondo 619 - exclude all softlinks from list of 'eligible' kernels 620 - exclude kernels with 'vmlinux' in their names 621 - removed A LOT of files from deplist.txt's dependency list; they are listed in deplist.removed, in case you want to put them back :-) 622 - excludes libX11, libXext, libXi, libgtk, libgdk ALWAYS, whether you add them to deplist.txt or not; [cancel this by editing line 485] 623 - rewrote AddFileToDir() to make it more efficient (but slower...) 624 - strip chaff from binaries; strip comments from bash scripts; strip comments from /etc/termcap 625 626 v0.40 (2001-09-16) 627 - if you use a softlink to your CD dev, e.g. /dev/cdrecorder->scd0, then Mindi should handle it properly now (i.e. not bomb out) 628 - if you have a large kernel & lots of modules loaded, Mindi will only copy as many modules to the ramdisk as will _fit_ on a ramdisk that will have to go alongside your kernel on a 2.88MB floppy disk 629 - if your kernel does not support loopfs, Mindi will say so & abort 630 - turned some warnings into fatal errors, to help the user to figure out exactly why Mindi won't work on their kernel 631 - changed mke2fs -N24 to -N32, to see if it helps braindead distros 632 - Mondo now tells Mindi whether or not to use its stock kernel 633 - gone back to the old 'insert-my-modules' for now; it's more reliable 634 - working on the 'insert-all-my-modules' script, to make it compatible with a wider range of insane distros and kernels 635 - dropped the '-c' option from LILO call - removed cdrecord, mkisofs, vi, route and diff from deplist.txt 636 - slowed down the 'split data between floppies' routine; made it try harder to squeeze more data onto each floppy 637 - excluding nvidia modules from the "insert-all-my-modules" script because it sometimes causes freeze-ups 638 - added code to copy your fstab, lilo.conf, etc. to a tarball which, in the event of an error, Mindi will ask the user to e-mail me 639 640 v0.39 (2001-09-08) 641 - plays nicely with devfs, so long as your old /dev/hdX, /dev/sdX softlinks are still there :-) 642 - if your swap partition isn't mounted, Mindi will decide that it is 125MB; it used to abort but now it just warns & makes a good guess 643 - testing the failsafe kernel & associated scripts 644 - only use lilo's "-c" option if NOT a 2.88MB floppy disk image 645 - copes better with .o, .gz, etc. module suffixes 646 - better 'loaded modules / not loaded modules' feedback at boot-time 647 - semi-forces isofs and ide-cd (not isofs.o and ide-cd.o); the former will be more compatible with stock kernels - e.g. Red Hat, Mandrake; also added vfat, fat & a few other modules to the list of 'foced'. 648 - removed the '-c' switch from the call to LILO (some BIOSes don't like it very much) 649 - removed chaff from ramdisk's /etc/login.defs, saving approx 7K 650 - format the boot disks with -N 24 (was -N 64) 651 - do not insist on CD #1 (at boot-time) if there is no 'CD #' marker 652 - amend format-and-kludge-vfat; now, it will not abort if it cannot find its entry in mountlist; it doesn't need to find the entry anyway, except to check that the kludge works (which it does) 653 - if user chooses to use Mindi's failsafe 2.4.9 kernel, Mindi will load Mindi's versions of user's modules at boot-time 654 - make label-devices-as-necessary log its efforts 655 - added e2label and tune2fs to deplist.txt 656 - if you boot in Normal Mode, I'll call mondo-restore --interactive instead of just mondo-restore 657 - replaced K7-compatible 2.4.7 kernel with a 586-comp'ble 2.4.9 kernel 658 - improved the post-run clean-up 659 - force the copying/loading of isofs.o and ide-cd.o, which enhances Mindi's support for kernels that have modular CD-ROM support 660 - Interactive Mode offers to edit /tmp/mountlist.txt before running mondo-restore (good idea from F. Boon) 661 - /dev/hd[e-h]* have been added to the ramdisk 662 - disabled Cuckoo and Bootstrap Modes (they weren't doing anything anyway & were probably confusing some users) 663 - removed 'edit mountlist?' question (because mondo-restore takes care of that now, via a user-friendly mountlist editor) 664 - included a copy of mondo-manual.html 665 - only kludge /dev/hda1 or /dev/sda1 (if vfat, of course); otherwise, use regular mkfs.vfat 666 - use mkfs.dos if mkfs.vfat does not exist 667 - moved some scripts from rootfs.tgz to Mondo's restore-scripts.tgz 668 669 v0.38 (2001-08-18) 670 - clarified the 'more than one kernel found' comment 671 - updated the README to emphasize that the scripts are deprecated 672 - when displaying mountlist on screen, make it easier to read 673 - changed most 'echo's to 'LogIt()'s; log most screen output to /var/log/mindi.log 674 - user can now use a stock 2.4.7 kernel (which comes with Mindi) if the user's distro's kernel isn't right for a boot disk 675 676 v0.37 (2001-08-11) - changed the boot screen a little bit 677 - changed the "cannot boot from CD-ROM" message (more informative now) 678 - if an 'insmod'ed module cannot be found, warn but don't abort 679 - that whole loop-mount/extract tgz to ramdisk thing --- if it fails, abort, don't try to continue; also, ask if loopfs is supported by kernel (if not, that might explain the error) 680 - in addition to /lib/modules/`uname -r`/modules, also search /root/oss/modules for kernel modules (Phillip Deackes) 681 - run syslog and klogd at restore-time, to pipe sys & knl messages to /tmp/mondo-restore.log 682 - default restore-time boot mode is now 'interactive' (unless the disk is a 1.72MB, in which case default mode is still 'expert') 683 - if CDROM can't find itself (long story, re: El Torito) then the script will say, "Your kernel is b0rken." This will reduce the number of erroneous error reports that I receive from users 684 - working on implementing Cuckoo Mode again 685 686 v0.36 (2001-08-03) 687 - testing it with LM8, RH71 and Slack8 688 - explicitily exluding /mnt/floppy and /floppy from mountlist.txt 689 - warn if afio not found (Mondo needs afio) 690 - optional --custom <temp dir> <out dir> switch added, to let the user specify where the temp dirs and created images will be stored 691 - changed /sbin/init to install modules _before_ trying to mount CD-ROM (David Granz) 692 - create a gawk->awk shortcut at restore-time if necessary 693 - specifically exclude /dev/fd0h1440 and /dev/fd0H1440 from mountlist 694 - removed silly "was CD inserted?" message 695 696 v0.35 (2001-07-31) 697 - if LILO fails, it writes its errors to the screen 698 - use user's boot.b and LILO instead of Mindi's 699 - tarball/RPM no longer includes boot.b or lilo 700 - mke2fs' output will be echoed to screen, if an error occurs 701 - doubled the -N inode allocations and removed some of the -i inode fiddles, just in case they are making Red Hat 7.1 choke 702 703 v0.34 (2001-07-25) 704 - includes patch to rid Mindi of its dependence on /dev/loop devices 871 705 (Bill Davidsen) 872 - includes patch from 0ystein Skalsem, to fix a disk-formatting problem 873 - warns if kernel is 2.4.0-2.4.5; encourages user to upgrade 874 875 v0.33 876 - excludes all devices containing ':/' (i.e. NFS mountlists) 877 - the FORMAT/SYS replacement, "format-and-kludge-vfat" now writes 878 its logfile to /tmp/format-and-kludge-vfat.log 879 - /etc/fstab now mounts floppies for read/write access by default 880 - format-and-kludge-vfat should only write to log once now 881 - added vi, top to deplist.txt 882 - updated the rootfs.tgz's README 883 - mountlist is written to screen as well as mountlist.txt 884 - tested with Linux 2.4.7; works fine 885 - changed 'mkfs' lines, to format the loop-mounted files instead of the 886 device nodes which makes Mindi work better with kernels 2.4.6+ 887 - Mindi can now handle kernels of up to 930K in size 888 - sped up the process of spreading data files across data disks 889 by approx 20% 890 891 v0.32 892 - software RAID is now supported 893 - added the 'raidtools' binaries to deplist.txt 894 - add /etc/fstab and /etc/raidtab to deplist.txt 895 - added /dev/md* to the ramdisk's /dev directory 896 - modified MakeMountlist() to calculate correctly the sizes of 897 RAID partitions, if they are present in /etc/fstab 898 - moved the 'LOOPDEVICE=...' code into the regular main() section 899 - install-additional-tools makes a softlink '/etc/raidtab' that points 900 to /mnt/groovy-stuff/etc/raidtab; also, '/etc/fstab.orig' that points 901 to /mnt/groovy-stuff/etc/fstab 902 - added line to 'install-additional-tools' that will delete the 903 dummy modprobe before installing data from datadisk(s) 904 - mkdir -p $outdir at the beginning, just in case... 905 906 v0.31 907 - included DoJ's patch to make Mindi play more nicely with devfs 908 - slightly better install.sh and README 909 910 v0.30 911 - added klogd and syslogd to deplist.txt 912 - can now cope with Red Hat's "LABEL=" entries in /etc/fstab 913 - should ignore NFS-mounted partitions now 914 915 v0.29 916 - stopped the 'modprobe' errors that used to occur at the beginning; 917 they didn't mean anything but they did worry some novice users 918 - removed losetup from rootfs.tgz (wasn't doing anything useful) 919 - removed the 'txt-or-gui' stuff from Mindi (never used it anyway) 920 - added clear to deplist.txt 921 - moved rootfs.tgz's "mondo/" scripts to Mondo's "restore-scripts.tgz" 922 tarball; tarball will be untarred and contents added to the 923 data disks at run-time, if Mindi finds the tarball 924 - if user lacks fd0u1722 but has fd0h1722 then use the latter 925 - boot-up msg is more informative 926 - fixed obscure bug in find-and-mount-cdrom 927 - better at coping with hda1/2/3/4 (normal people use hda1/5/6/7 but 928 if you really want to exhaust your primaries, well hey, your life) 929 - the 'outstring sucks!' message is now more informative 930 931 v0.28 932 - if AddFileToDir() is called with a file that does not exist, Mindi 933 warns but does not abort 934 - should work with gzipped modules (which end in '.o.gz') and 935 NVidia modules (which don't end in anything) 936 - should work with Red Hat's issue.net now 937 - misc. cosmetic changes to Mondo boot-time and restore-phase scripts, 938 to make the visual output cleaner & more legible 939 - insist-on-cd retracts the CD tray after asking for next CD, in case 940 the user did not close the drive before pressing <enter> 941 - if unable to create 1.72MB boot disk then warn but do not abort 942 - put creation date on the boot-up screen 943 - create data disks with tarballs up to 1700KB in size; tries harder 944 to fill each data disk to the brim 945 - changed the call to make ext3 partitions; now, it uses a call to 946 mkfs -t ext3 -j -Jsize=10 -q <device> (as requested by ext3 manual) 947 - tested w/ext3; works fine 948 - install-additional-tools doesn't call sync until after all softlinks 949 have been finalized; that's to make sure we call the _right_ sync 950 - ramdisk is now (size of all files in data disks PLUS 8192) KB 951 - RPM and SRPM published 952 - mount CDROM at start of untar-me, just in case it wasn't mounted 953 - when restoring selectively, log the archives that have matches 954 & the number of matches (inc. if zero) 955 956 v0.26 957 - has been tested with XFS, JFS, ReiserFS, ext2 and vfat 958 - compatible (but not tested) with ext3 959 - better at finding your kernel, even if you have several kernels 960 of the same version (now checks the build date, too) 961 - better file-spreading algorithm; a little faster; much more reliable 962 - includes a copy of LILO, to make the boot disks properly 963 - tells you how big the tarballs are, when it assembles them 964 - compare-me uses 'insist-on-cd' instead of internal subroutine 965 - it looks as if Mindi can actually cope with 920K kernels now :) 966 - fixed some silly multi-CD bugs that would stop big files from being 967 restored if they were spread across CD's 968 969 v0.25 970 - uses its own copy of lilo 971 - removed all "~" (backup copies) from rootfs.tgz 972 - updated the rootfs's README - stablilo-me, not hack-me 973 - improved the formatting of the lilo.conf as it is created 974 - replace all libc5 tools with libc6 (user's) tools at restore-time 975 - added diff to deplist.txt 976 - copy io.sys and msdos.sys (if found) to data disk(s) at 977 run-time; softlinks them to /*.sys at boot-time 978 - fixed some vfat formatting-related issues w/Embleer (always tricky); 979 the kludge's error-handling is better and its exit is more graceful 980 - say 'type nuke to restore automatically' in msg if Mondo called me 981 - backup all modules, not just the ones present/loaded at run-time; 982 the loaded modules go on boot disk but ALL go on data disk 983 - reduced the max data per disk from 1700 to 1680, to suit ext2's needs 984 - DidMondoCallMe() replaces 'ps ax | grep | blah blah' 985 - includes user's /etc/termcap and /usr/bin/pico on disk(s) 986 - cosmetic changes to restore-time scripts (spaces, newlines, etc.) 987 - pipe kernel's msgs to /var/log/messages 988 - make sure /etc/lilo.conf is 600 (RW by root only) 989 990 v0.24 991 - can accommodate a kernel >900KB in size 992 - generates lilo.conf on-the-fly; no default/template file anymore 993 - copies io.sys and msdos.sys to the CD (if you have them) 994 - add the embleer tarballs to mindi-0.xx.tgz, so that users can 995 format and make bootable msdos/Win9x partitions 996 - added printf and hdparm to deplist.txt 997 - incorporated Bruno Cornec's Mondo 0.991 scripts in Mindi 998 - separated README into README, INSTALL and TODO 999 - fixed silly {ramdisk}/sbin/InsistOnCD bug 1000 - took out mke2fs and libext from rootfs.tgz 1001 - rootfs.tgz's "/etc/bashrc" now includes /usr/share/mindi 1002 - compare-mode uses IDE optimization to speed things up 1003 - don't quibble over resizing partitions if <2MB difference 1004 - fixed silly InsistOnCD bug 1005 1006 v0.23 1007 - don't copy *.mdsg to boot floppy image 1008 - fixed erroneous 'cannot make ISO image' error message 1009 - can accommodate a kernel as large as 890K 1010 - now uses lilo, not syslinux (lilo works better w/2.88MB boot images) 1011 - creates & formats disk images on the fly (no more .img.gz templates) 1012 - boot disks are formatted ext2, like the data disks 1013 - creates 1.72MB and El Torito 2.88MB boot floppies/images 1014 - if called by Mondo, doesn't list images or offer to copy to FDD/CDRw 1015 - includes the distro's name and kernel version in LILO's message 1016 1017 v0.22 1018 - don't add a ramdisk; use rootfs & that's it 1019 - dependency-calculator runs approx. twice as fast as in v0.20 1020 - tested with Linux Mandrake 8.0; works well, if you recompile 1021 kernel to include floppy disk support (which LM8's kernel does not) 1022 - supports bigger kernels now, up to 900K in size 1023 - deplist.txt may now include directories, not just files 1024 - ignores kernel filenames that are hyperlinks 1025 - uses awk instead of gawk; drop the awk/gawk-finding thing 1026 - uses gzip, not bzip2; dropped bzip2, mv, ls to make rootfs smaller 1027 - copies user's /dev/fd0* devices to boot disk 1028 - calls Mindi's copy of syslinux, not user's copy 1029 - use modules' paths, e.g. instead of just 'insmod fubar', use 1030 'insmod /lib/modules/2.4.5-ac117/vfat/fubar.o' 1031 - in boot.msg, XXXXX is part 1 of the 2nd line, YYYYY is part 2 of 1032 the 2nd line, and ZZZZZ is Mindi's version# (in the 1st line) 1033 1034 v0.21 1035 - df, du, find, lsmod, rmmod have been removed from rootfs.tgz 1036 - at boot-time, inserts kernel modules w/user's original parameters 1037 - deletes the slices after recombining them & restoring the files 1038 - includes the MINDI_VER version number in boot.msg 1039 - if boot disk is too small, lists the files & which one is too big 1040 - syslinux now waits 10 seconds before booting floppy 1041 - 'insert-all-my-modules' is copied to rootfs, not to a data disk 706 - includes patch from 0ystein Skalsem, to fix a disk-formatting problem 707 - warns if kernel is 2.4.0-2.4.5; encourages user to upgrade 708 709 v0.33 (2001-07-20) 710 - excludes all devices containing ':/' (i.e. NFS mountlists) 711 - the FORMAT/SYS replacement, "format-and-kludge-vfat" now writes its logfile to /tmp/format-and-kludge-vfat.log 712 - /etc/fstab now mounts floppies for read/write access by default 713 - format-and-kludge-vfat should only write to log once now 714 - added vi, top to deplist.txt 715 - updated the rootfs.tgz's README 716 - mountlist is written to screen as well as mountlist.txt 717 - tested with Linux 2.4.7; works fine 718 - changed 'mkfs' lines, to format the loop-mounted files instead of the device nodes which makes Mindi work better with kernels 2.4.6+ 719 - Mindi can now handle kernels of up to 930K in size 720 - sped up the process of spreading data files across data disks by approx 20% 721 722 v0.32 (2001-07-18) 723 - software RAID is now supported 724 - added the 'raidtools' binaries to deplist.txt 725 - add /etc/fstab and /etc/raidtab to deplist.txt 726 - added /dev/md* to the ramdisk's /dev directory 727 - modified MakeMountlist() to calculate correctly the sizes of RAID partitions, if they are present in /etc/fstab 728 - moved the 'LOOPDEVICE=...' code into the regular main() section 729 - install-additional-tools makes a softlink '/etc/raidtab' that points to /mnt/groovy-stuff/etc/raidtab; also, '/etc/fstab.orig' that points to /mnt/groovy-stuff/etc/fstab 730 - added line to 'install-additional-tools' that will delete the dummy modprobe before installing data from datadisk(s) 731 - mkdir -p $outdir at the beginning, just in case... 732 733 v0.31 (2001-07-16) - included DoJ's patch to make Mindi play more nicely with devfs 734 - slightly better install.sh and README 735 736 v0.30 (2001-07-15) 737 - added klogd and syslogd to deplist.txt 738 - can now cope with Red Hat's "LABEL=" entries in /etc/fstab 739 - should ignore NFS-mounted partitions now 740 741 v0.29 (2001-07-14) 742 - stopped the 'modprobe' errors that used to occur at the beginning; they didn't mean anything but they did worry some novice users 743 - removed losetup from rootfs.tgz (wasn't doing anything useful) 744 - removed the 'txt-or-gui' stuff from Mindi (never used it anyway) 745 - added clear to deplist.txt 746 - moved rootfs.tgz's "mondo/" scripts to Mondo's "restore-scripts.tgz" tarball; tarball will be untarred and contents added to the data disks at run-time, if Mindi finds the tarball 747 - if user lacks fd0u1722 but has fd0h1722 then use the latter 748 - boot-up msg is more informative 749 - fixed obscure bug in find-and-mount-cdrom 750 - better at coping with hda1/2/3/4 (normal people use hda1/5/6/7 but if you really want to exhaust your primaries, well hey, your life) 751 - the 'outstring sucks!' message is now more informative 752 753 v0.28 (2001-07-07) 754 - if AddFileToDir() is called with a file that does not exist, Mindi warns but does not abort 755 - should work with gzipped modules (which end in '.o.gz') and NVidia modules (which don't end in anything) 756 - should work with Red Hat's issue.net now 757 - misc. cosmetic changes to Mondo boot-time and restore-phase scripts, to make the visual output cleaner & more legible 758 - insist-on-cd retracts the CD tray after asking for next CD, in case the user did not close the drive before pressing <enter> 759 - if unable to create 1.72MB boot disk then warn but do not abort 760 - put creation date on the boot-up screen 761 - create data disks with tarballs up to 1700KB in size; tries harder to fill each data disk to the brim 762 - changed the call to make ext3 partitions; now, it uses a call to mkfs -t ext3 -j -Jsize=10 -q <device> (as requested by ext3 manual) 763 - tested w/ext3; works fine 764 - install-additional-tools doesn't call sync until after all softlinks have been finalized; that's to make sure we call the _right_ sync 765 - ramdisk is now (size of all files in data disks PLUS 8192) KB 766 - RPM and SRPM published 767 - mount CDROM at start of untar-me, just in case it wasn't mounted 768 - when restoring selectively, log the archives that have matches & the number of matches (inc. if zero) 769 770 v0.26 (2001-07-05) 771 - has been tested with XFS, JFS, ReiserFS, ext2 and vfat 772 - compatible (but not tested) with ext3 773 - better at finding your kernel, even if you have several kernels of the same version (now checks the build date, too) 774 - better file-spreading algorithm; a little faster; much more reliable 775 - includes a copy of LILO, to make the boot disks properly 776 - tells you how big the tarballs are, when it assembles them 777 - compare-me uses 'insist-on-cd' instead of internal subroutine 778 - it looks as if Mindi can actually cope with 920K kernels now :) 779 - fixed some silly multi-CD bugs that would stop big files from being restored if they were spread across CD's 780 781 v0.25 (2001-07-04) 782 - uses its own copy of lilo 783 - removed all "~" (backup copies) from rootfs.tgz 784 - updated the rootfs's README - stablilo-me, not hack-me 785 - improved the formatting of the lilo.conf as it is created 786 - replace all libc5 tools with libc6 (user's) tools at restore-time 787 - added diff to deplist.txt 788 - copy io.sys and msdos.sys (if found) to data disk(s) at run-time; softlinks them to /*.sys at boot-time 789 - fixed some vfat formatting-related issues w/Embleer (always tricky); the kludge's error-handling is better and its exit is more graceful 790 - say 'type nuke to restore automatically' in msg if Mondo called me 791 - backup all modules, not just the ones present/loaded at run-time; the loaded modules go on boot disk but ALL go on data disk 792 - reduced the max data per disk from 1700 to 1680, to suit ext2's needs 793 - DidMondoCallMe() replaces 'ps ax | grep | blah blah' 794 - includes user's /etc/termcap and /usr/bin/pico on disk(s) 795 - cosmetic changes to restore-time scripts (spaces, newlines, etc.) 796 - pipe kernel's msgs to /var/log/messages 797 - make sure /etc/lilo.conf is 600 (RW by root only) 798 799 v0.24 (2001-07-03) 800 - can accommodate a kernel >900KB in size 801 - generates lilo.conf on-the-fly; no default/template file anymore 802 - copies io.sys and msdos.sys to the CD (if you have them) 803 - add the embleer tarballs to mindi-0.xx.tgz, so that users can format and make bootable msdos/Win9x partitions 804 - added printf and hdparm to deplist.txt 805 - incorporated Bruno Cornec's Mondo 0.991 scripts in Mindi 806 - separated README into README, INSTALL and TODO 807 - fixed silly {ramdisk}/sbin/InsistOnCD bug 808 - took out mke2fs and libext from rootfs.tgz 809 - rootfs.tgz's "/etc/bashrc" now includes /usr/share/mindi 810 - compare-mode uses IDE optimization to speed things up 811 - don't quibble over resizing partitions if <2MB difference 812 - fixed silly InsistOnCD bug 813 814 v0.23 (2001-07-02) 815 - don't copy *.mdsg to boot floppy image 816 - fixed erroneous 'cannot make ISO image' error message 817 - can accommodate a kernel as large as 890K 818 - now uses lilo, not syslinux (lilo works better w/2.88MB boot images) 819 - creates & formats disk images on the fly (no more .img.gz templates) 820 - boot disks are formatted ext2, like the data disks 821 - creates 1.72MB and El Torito 2.88MB boot floppies/images 822 - if called by Mondo, doesn't list images or offer to copy to FDD/CDRw 823 - includes the distro's name and kernel version in LILO's message 824 825 v0.22 (2001-07-01) 826 - don't add a ramdisk; use rootfs & that's it 827 - dependency-calculator runs approx. twice as fast as in v0.20 828 - tested with Linux Mandrake 8.0; works well, if you recompile kernel to include floppy disk support (which LM8's kernel does not) 829 - supports bigger kernels now, up to 900K in size 830 - deplist.txt may now include directories, not just files 831 - ignores kernel filenames that are hyperlinks 832 - uses awk instead of gawk; drop the awk/gawk-finding thing 833 - uses gzip, not bzip2; dropped bzip2, mv, ls to make rootfs smaller 834 - copies user's /dev/fd0* devices to boot disk 835 - calls Mindi's copy of syslinux, not user's copy 836 - use modules' paths, e.g. instead of just 'insmod fubar', use 'insmod /lib/modules/2.4.5-ac117/vfat/fubar.o' 837 - in boot.msg, XXXXX is part 1 of the 2nd line, YYYYY is part 2 of the 2nd line, and ZZZZZ is Mindi's version# (in the 1st line) 838 839 v0.21 (2001-06-30) 840 - df, du, find, lsmod, rmmod have been removed from rootfs.tgz 841 - at boot-time, inserts kernel modules w/user's original parameters 842 - deletes the slices after recombining them & restoring the files 843 - includes the MINDI_VER version number in boot.msg 844 - if boot disk is too small, lists the files & which one is too big 845 - syslinux now waits 10 seconds before booting floppy 846 - 'insert-all-my-modules' is copied to rootfs, not to a data disk -
trunk/mindi/README.pxe
r618 r672 11 11 label mondo 12 12 kernel vmlinuz-mondo 13 append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix="machine"] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [ ping=#] ...13 append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix="machine"] [ipconf=(ipdev:ipadr:netmask:broadcast:gateway|ipdev:dhcp)] [nfsmount=server:mountpoint] [ping=#] ... 14 14 15 15 ipdev is the device name (e.g. eth2) … … 19 19 gateway is the default gateway (e.g. 192.168.1.254) 20 20 dhcp is a keyword. Using it will provide all the previous 4 values to activate the LAN interface. 21 server is the ip addr of the NFS server 22 mountpoint is the mount point on the NFS server to use (should be in /etc/exports of the NFS server) 21 23 22 24 The initrd and kernel file come rom the first bootable media … … 34 36 Without prefix keyword, the name of the images used during archiving with the -p option will be used (they may differ). If -p wasn't used then the name mondorescue-1.iso, ... will be used. 35 37 36 During boot mondorestore will start your NFS configuration and mount mondo's content from the network rather than from a physical media. You may alter the IP configuration stored from the original machine by passing the ipconf option describing respectively the IP address, netmask, broadcast and default gateway you want to setup for the machine, separated by ':'. Or alternatively, you may specify the dhcp keyword so that a DHCP request is made to get those information. In the 2 cases, you have to mention on which physical interface those parameters should apply. On some configurations, you may also want to increase the number of ping queries made before the NFS mount, which is of 3 by default, using the ping option and give the number you want. 38 During boot mondorestore will start your NFS configuration and mount mondo's content from the network rather than from a physical media. You may alter the IP configuration stored from the original machine by passing the ipconf option describing respectively the IP address, netmask, broadcast and default gateway you want to setup for the machine, separated by ':'. Or alternatively, you may specify the dhcp keyword so that a DHCP request is made to get those information. In the 2 cases, you have to mention on which physical interface those parameters should apply. On some configurations, you may also want to increase the number of ping queries made before the NFS mount, which is of 3 by default, using the ping option and give the number you want. If you have a different NFS server for the deployment than for the archiving, you can also precise it through the nfsmount option. The structure on both server under the mountpoint has to be the same. 37 39 38 40 Please report any problem around that tool to bruno@mondorescue.org 39 41 42 2006-06-10 nfsmount added to allow redeployment from another NFS server 40 43 2006-06-02 ipdev added to allow redeployment on another interface 41 44 2005-12-18 new ipconf and ping option -
trunk/mondo/ChangeLog
r649 r672 3 3 MONDO CHANGES 4 4 5 v2.2.0(2006-06-12)5 2.2.0-1 (2006-06-12) 6 6 - indent on source files 7 - asprintf used instead of malloc_string + sprintf/strcpy/strcat without 8 verifications. Optimisations on memory consumption (allocate only size 9 needed + remove memory leaks) 10 - Internationalization (A huge thank to rene-marc dolhen 11 <rmd_at_mecreant.org> who achieved that big task)7 - asprintf used instead of malloc_string + sprintf/strcpy/strcat without verifications. Optimisations on memory consumption (allocate only size needed + remove memory leaks) (Bruno Cornec) 8 - Internationalization (A huge thank to rene-marc dolhen <rmd_at_mecreant.org> who achieved that big task) 9 10 2.0.8-4 (2006-06-10) 11 - nfsmount option added to allow redeployment from another NFS server (Bruno Cornec) 12 12 13 13 2.0.8-3 (2006-06-07) 14 - Fix a bug in -I and -E handling !! 15 (Paolo Bernardoni <bernardoni_at_sysnet.it>/Bruno Cornec) 16 - Fix permissions for autorun 17 (Bruno Cornec) 18 - Fox delivery problems for tar files with too restrictive umask 19 (Bruno Cornec) 20 - Fix parsing of DHCP information in start-nfs script 21 (Andree Leidenfrost) 14 - Fix a bug in -I and -E handling !! (Paolo Bernardoni <bernardoni_at_sysnet.it>/Bruno Cornec) 15 - Fix permissions for autorun (Bruno Cornec) 16 - Fox delivery problems for tar files with too restrictive umask (Bruno Cornec) 17 - Fix parsing of DHCP information in start-nfs script (Andree Leidenfrost) 22 18 23 19 2.0.8-2 (2006-06-02) 24 - PXE mode now supports change of NIC for redeployment 25 (Bruno Cornec) 20 - PXE mode now supports change of NIC for redeployment (Bruno Cornec) 26 21 27 22 2.0.8-1 (2006-05-25) 28 23 - new build process (Bruno Cornec) 29 - Fix a bug in .spec for RPM build (%attr now unused) 30 (Bruno Cornec) 24 - Fix a bug in .spec for RPM build (%attr now unused) (Bruno Cornec) 31 25 - Support of dm and LVM v2 (Andree Leidenfrost) 32 26 - New mr_strtok functionn added and used for dm support (Andree Leidenfrost) 33 - Complete doc is now a separate package. mondo still contains the 34 man pages and howto in minimal useful formats 35 (Bruno Cornec) 27 - Complete doc is now a separate package. mondo still contains the man pages and howto in minimal useful formats (Bruno Cornec) 36 28 - HOWTO now contains a new chapter on unattended support for mondo 37 29 - Increase size (4 times) of include|exclude variables 38 30 - Fix a bug on -I and -E not working with multiple parameters 39 - Fix a bug in verify for NFS by swapping nfs_remote_dir and isodir when 40 assembling name for image file to verify 41 (Andree Leidenfrost) 42 - Fix mondo when restoring filenames containing blanks 43 (still a problem for filenames with ') 44 (Bruno Cornec) 45 - Fix a RPM generation bug for rh7.3 (i386-redhat-linux prefix for binaries) 46 (Bruno Cornec) 31 - Fix a bug in verify for NFS by swapping nfs_remote_dir and isodir when assembling name for image file to verify (Andree Leidenfrost) 32 - Fix mondo when restoring filenames containing blanks (still a problem for filenames with ') (Bruno Cornec) 33 - Fix a RPM generation bug for rh7.3 (i386-redhat-linux prefix for binaries) (Bruno Cornec) 47 34 48 35 2.0.7 (2006-03-10) 49 - useless cat, sort|uniq commands removed 50 (Bruno Cornec/Sébastien Aperghis-Tramoni) 36 - useless cat, sort|uniq commands removed (Bruno Cornec/Sébastien Aperghis-Tramoni) 51 37 - Doc cleanup (Andree Leidenfrost) 52 - Add the actual format to messages after calls to function 53 is_this_a_valid_disk_format() about unsupported formats. 54 (Andree Leidenfrost) 55 - Abort|Warn when one of the include|exclude dirs (-I|-E) does not exist 56 (Bruno Cornec/Jeffs) 57 - Replaced partimagehack with ntfsclone from ntfsprogs package. 58 (Andree Leidenfrost) 38 - Add the actual format to messages after calls to function is_this_a_valid_disk_format() about unsupported formats. (Andree Leidenfrost) 39 - Abort|Warn when one of the include|exclude dirs (-I|-E) does not exist (Bruno Cornec/Jeffs) 40 - Replaced partimagehack with ntfsclone from ntfsprogs package. (Andree Leidenfrost) 59 41 - use df -P everywhere (Bruno Cornec) 60 42 - Paypal incitations removed (Andree Leidenfrost) … … 63 45 - no shared librairies and no X11 anymore (were useless) (Bruno Cornec) 64 46 - files > 2GB are now really supported (Andree Leidenfrost) 65 - new SGML based Mondo Rescue documentation + new Web site 66 (Bruno Cornec/Andree Leidenfrost) 47 - new SGML based Mondo Rescue documentation + new Web site (Bruno Cornec/Andree Leidenfrost) 67 48 - mondoarchive aborts when 'mindi --findkernel' gives a fatal error (See also Debian bug #352323.) (Andree Leidenfrost) 68 49 - /tmp not excluded anymore from backup (Bruno Cornec) … … 78 59 - fix to force growisofs to use speed=1 for DVD burning (Philippe De Muyter) 79 60 - now handles cifs correctly (Bruno Cornec) 80 - fix issue where mondoarchive ejects CD/DVD despite writing iso images 81 (Andree Leidenfrost) 61 - fix issue where mondoarchive ejects CD/DVD despite writing iso images (Andree Leidenfrost) 82 62 - Add -P option to df calls (Andree Leidenfrost/Chuan-kai Lin) 83 63 - fix usage of joint -B and -m options (Andree Leidenfrost/Efraim Feinstein) 84 - Quadrupled ARBITRARY_MAXIMUM from 500 to 2000 for mondorestore's filebrowser 85 (Andree Leidenfrost) 64 - Quadrupled ARBITRARY_MAXIMUM from 500 to 2000 for mondorestore's filebrowser (Andree Leidenfrost) 86 65 - remove the renice of mondoarchive (Hugo Rabson) 87 - relocate what was under /usr/share to /usr/lib (FHS compliance) 88 (Bruno Cornec/Andree Leidenfrost) 89 - manage non ambiguous delivery under /usr (packages) or /usr/local (tar ball) 90 (Bruno Cornec) 66 - relocate what was under /usr/share to /usr/lib (FHS compliance) (Bruno Cornec/Andree Leidenfrost) 67 - manage non ambiguous delivery under /usr (packages) or /usr/local (tar ball) (Bruno Cornec) 91 68 - disable x11 build by default (Bruno Cornec) 92 69 - remove sbminst (Bruno Cornec/Andree Leidenfrost) 93 70 - use parted2fdisk everywhere (Bruno Cornec) 94 71 - exports MONDO_LIB (Bruno Cornec) 95 - RPM build for fedora core 4, sles9, redhat 7.3, rhel 3/4, mandriva 2006.0, 96 mandrake 10.2/10.1 (Bruno Cornec/Gary Granger) 97 - interactive mode now asks for image size and prefix in NFS mode 98 (Gallig Renaud/Bruno Cornec) 72 - RPM build for fedora core 4, sles9, redhat 7.3, rhel 3/4, mandriva 2006.0, mandrake 10.2/10.1 (Bruno Cornec/Gary Granger) 73 - interactive mode now asks for image size and prefix in NFS mode (Gallig Renaud/Bruno Cornec) 99 74 - iso-prefix should be read in iso mode even when -H not given (Stan Benoit) 100 75 - VERSION/RELEASE Tag added (Bruno Cornec) 101 - many code cleanup, small fixes, PXE/NFS code improvements 102 (Sébastien Aperghis-Tramoni/Bruno Cornec) 76 - many code cleanup, small fixes, PXE/NFS code improvements (Sébastien Aperghis-Tramoni/Bruno Cornec) 103 77 104 78 v2.05 (2005-11-19) … … 109 83 110 84 v2.04_berlios (2005-10-30) 111 - Add -p option to generate ISO images file names with prefix. The new default 112 name for ISO images is mondorescue-1.iso, ... For PXE environment, you have 113 to use the prefix option on the command line (read README.pxe) 114 (Bruno Cornec) 85 - Add -p option to generate ISO images file names with prefix. The new default name for ISO images is mondorescue-1.iso, ... For PXE environment, you have to use the prefix option on the command line (read README.pxe) (Bruno Cornec) 115 86 - Mandrake 2005 support (Bruno Cornec) 116 87 - NFS patches (Yann Aubert <technique@alixen.fr>) 117 - mondorestore shouldn't now ask final questions with -H 118 (this is an unattended mode) (Bruno Cornec) 88 - mondorestore shouldn't now ask final questions with -H (this is an unattended mode) (Bruno Cornec) 119 89 120 90 v2.04 (2005-05-03) 121 - made mondo more clever about finding its home. Avoids mondo considering 122 directories like '/usr/share/doc/momdo' as its home. 91 - made mondo more clever about finding its home. Avoids mondo considering directories like '/usr/share/doc/momdo' as its home. 123 92 124 93 v2.03 (2004-09-29) … … 127 96 128 97 v2.02 (2004-07-21) 129 - instead of using 'dd' to erase partition table, delete existing 130 partitions w/ the same call to fdisk that is used to create the 131 new partitions; this should avoids locking up the partition table 132 - set bootable partition in the above same call to fdisk, for 133 the same reason (avoids locking up the partition table) 98 - instead of using 'dd' to erase partition table, delete existing partitions w/ the same call to fdisk that is used to create the new partitions; this should avoids locking up the partition table 99 - set bootable partition in the above same call to fdisk, for the same reason (avoids locking up the partition table) 134 100 - better software RAID support 135 101 - mount ext3 partitions as ext2 when restoring - better for Debian … … 139 105 v2.01 (2004-06-21) 140 106 - fixed cvs for SuSE systems 141 - fixed NTFS backup/restore bug relating to partimagehack 142 log file overflow and NTFS v non-NTFS differentiation 107 - fixed NTFS backup/restore bug relating to partimagehack log file overflow and NTFS v non-NTFS differentiation 143 108 - more reliable extraction of config info from CDs, floppies 144 109 - better support of ISO dirs at restore-time (Conor Daly) … … 165 130 - added support for boot/root multi floppies 166 131 - call 'mt' to set block size to 32K before opening in/out tape 167 - updated mondo-prep.c to create each disk's partitions all at once 168 (one call per drive) instead of one call to fdisk per partition 169 - when extracting cfg file and mountlist from all.tar.gz (tape copy), 170 use block size of INTERNAL_TAPE_BLK_SIZE, not TAPE_BLOCK_SIZE 132 - updated mondo-prep.c to create each disk's partitions all at once (one call per drive) instead of one call to fdisk per partition 133 - when extracting cfg file and mountlist from all.tar.gz (tape copy), use block size of INTERNAL_TAPE_BLK_SIZE, not TAPE_BLOCK_SIZE 171 134 - added star and rudimentary SELinux support 172 135 - fixed lots of bugs 173 - all logging now goes to /var/log/mondo-archive.log, with symlink to 174 /tmp/mondo-restore.log for restore-time log-tracking 136 - all logging now goes to /var/log/mondo-archive.log, with symlink to /tmp/mondo-restore.log for restore-time log-tracking 175 137 - added grub-install.patched 176 138 - removed embleer & other binaries … … 181 143 - fixed chmod/chown bug (Jens Richter) 182 144 - ask user to confirm NFS mountpoint in Interactive Mode 183 - rewritten format_everything() to make sure LVMs, RAIDs and 184 regular partitions are prepped in the correct order 145 - rewritten format_everything() to make sure LVMs, RAIDs and regular partitions are prepped in the correct order 185 146 - better magicdev support 186 147 - rewritten external binary caller subroutine … … 189 150 - fixed multi-tape support 190 151 - re-implemented -D and -J 191 - fixed bug in extract_config_file_from_ramdisk() which 192 affected tape+floppy users 193 - updated is_incoming_block_valid() to make it 194 return end-of-tape if >300 flotsam blocks 152 - fixed bug in extract_config_file_from_ramdisk() which affected tape+floppy users 153 - updated is_incoming_block_valid() to make it return end-of-tape if >300 flotsam blocks 195 154 - unmount CD-ROM before burning (necessary for RH8/9) 196 155 - fixed some stray assert()'s … … 198 157 - make user remove floppy/CD before restoring interactively from tape 199 158 - fixed bug in am_I_in_disaster_recovery_mode() 200 - added code to nuke_mode() to make sure NFS 201 (backup) share is mounted in Nuke Mode 159 - added code to nuke_mode() to make sure NFS (backup) share is mounted in Nuke Mode 202 160 - improved tape device detection code 203 161 - better GRUB support … … 219 177 - fixed RAID-related bug in where_is_root_mounted() 220 178 - ISO tweaks 221 - fixed silly bug in load_filelist() which stopped 222 funny German filenames from being handled properly 179 - fixed silly bug in load_filelist() which stopped funny German filenames from being handled properly 223 180 - misc fixes (Michael Hanscho's friend) 224 181 - added rudimentary support for SME … … 234 191 - post_param_configuration() --- store iso-dev and isodir 235 192 - added post-nuke-sample.tgz to package 236 - Nuke Mode now checks mountlist against hardware; offer user 237 opportunity to edit mountlist if insane; if user declines, abort 193 - Nuke Mode now checks mountlist against hardware; offer user opportunity to edit mountlist if insane; if user declines, abort 238 194 - added lots of assert()'s and other checks 239 195 - ran code thru Valgrind to catch & fix some memory leaks 240 - made mondo-restore.c smaller by moving some subroutines to 241 common/libmondo-raid.c and mondorestore/mondo-rstr-compare.c 242 - added '-Q' flag, to let user test mondoarchive's ability 243 to find their boot loader and type 196 - made mondo-restore.c smaller by moving some subroutines to common/libmondo-raid.c and mondorestore/mondo-rstr-compare.c 197 - added '-Q' flag, to let user test mondoarchive's ability to find their boot loader and type 244 198 - improved which_boot_loader() 245 - when burning or comparing to a CD, defeat autorun if it is 246 running, to avoid confusing mondoarchive and the user 247 - if original backup media no longer available at boot-time 248 then offer user chance to choose another media source 249 - when booting, type 'nuke noresize' to nuke w/o resizing 250 mountlist to fill your drives 199 - when burning or comparing to a CD, defeat autorun if it is running, to avoid confusing mondoarchive and the user 200 - if original backup media no longer available at boot-time then offer user chance to choose another media source 201 - when booting, type 'nuke noresize' to nuke w/o resizing mountlist to fill your drives 251 202 - add 'textonly' when booting, to avoid using Newt gui 252 203 - run nice(20) to prioritize mondoarchive at start 253 - don't pause and wait for next blank CD at backup-time 254 unless necessary (e.g. previous CD has not been removed) 204 - don't pause and wait for next blank CD at backup-time unless necessary (e.g. previous CD has not been removed) 255 205 - get_phys_size_of_drive() --- better support of older drives 256 206 - don't eject if "donteject" is in kernel's command line … … 276 226 - add '/' to custom filelist as workaround for obscure bug 277 227 - ask user speed of CDRW if writing to CD 278 - find_cdrom_device() --- if nonexistent/not found then 279 make sure to return '' as dev str and 1 as res 228 - find_cdrom_device() --- if nonexistent/not found then make sure to return '' as dev str and 1 as res 280 229 - tweaked restore scripts tgz 281 230 - cleaned up find_cdrom_device() 282 - if user creates /usr/share/mondo/payload.tgz then untar 283 payload to CD at backup-time 231 - if user creates /usr/share/mondo/payload.tgz then untar payload to CD at backup-time 284 232 - fixed insist_on_this_cd_number() 285 233 - fixed am_i_in_disaster_recovery_mode() … … 289 237 - fixed nfs support 290 238 - fixed iso support 291 - at restore-time, only sort mountlist internally, 292 in mount_all_devices() and unmount_all_devices() 239 - at restore-time, only sort mountlist internally, in mount_all_devices() and unmount_all_devices() 293 240 - fixed cosmetic bug in label-partitions-as-necessary 294 241 - updated documentation … … 306 253 - sensibly_set_tmpdir_and_scratchdir() --- exclude smb and smbfs 307 254 - better logging by eval_call_to_make_ISO() 308 - accept -J <fname> to let user provide their own fs catalog 309 instead of -I <paths> to backup 310 - if dir excluded with -E or included with -I and dir is actually 311 a softlink then exclude/include the dir pointed to, as well 255 - accept -J <fname> to let user provide their own fs catalog instead of -I <paths> to backup 256 - if dir excluded with -E or included with -I and dir is actually a softlink then exclude/include the dir pointed to, as well 312 257 - better location for manpage 313 - adjusted block size of tarball at start of tape, to help 314 users w/ broken tape driver firmware 258 - adjusted block size of tarball at start of tape, to help users w/ broken tape driver firmware 315 259 - sort -u fstab after modifying it 316 260 - if backup type is nfs then don't estimate noof media … … 327 271 - wipe only the partition table (not MBR) when repartitioning drives 328 272 - ignore lilo.conf.anaconda when looking for lilo.conf file 329 - accepts '-l RAW' to backup/restore original boot sector instead 330 of running grub or lilo to init it after restoring 273 - accepts '-l RAW' to backup/restore original boot sector instead of running grub or lilo to init it after restoring 331 274 - fixed&updated stabgrub-me script; software RAID + GRUB work now 332 275 - mount/unmount /boot partition for Gentoo 1.2 users … … 334 277 - disabled spurious warnings 335 278 - unmount/remount supermounts at start/end of live restore, if nec. 336 - cleaned up mondo's tape block handling (now, TAPE_BLOCK_SIZE=128K 337 and I've added INTERNAL_TAPE_BLK_SIZE=32K variable for buffering) 279 - cleaned up mondo's tape block handling (now, TAPE_BLOCK_SIZE=128K and I've added INTERNAL_TAPE_BLK_SIZE=32K variable for buffering) 338 280 - added Makefile 339 281 - added -l RAW option, to backup and restore original MBR … … 372 314 - fixed "Can't find first ISO when verifying nonbootable ISO" bug 373 315 - multithreaded make_afioballs_and_images() 374 - tmpdir and scratchdir set sensibly whether mondoarchive is called with 375 command-line parameters or not 376 - fixed bug in strip_spaces() which stopped it from handling 377 small strings correctly - affected mountlist editor 378 - create a repaired copy of grub-install which is RAID-friendly; 379 use it when initializing boot sector with run_grub() 316 - tmpdir and scratchdir set sensibly whether mondoarchive is called with command-line parameters or not 317 - fixed bug in strip_spaces() which stopped it from handling small strings correctly - affected mountlist editor 318 - create a repaired copy of grub-install which is RAID-friendly; use it when initializing boot sector with run_grub() 380 319 - fixed bug in mondo-makefilelist 381 320 … … 395 334 - unmount/remount /mnt/floppy before/after backing up, if Mandrake 396 335 - restructured the source files 397 - fixed serious bug in line 1546 - should have been !=, not ==; stopped 398 mondorestore from correctly restoring big files 336 - fixed serious bug in line 1546 - should have been !=, not ==; stopped mondorestore from correctly restoring big files 399 337 - added '#include <signal.h>' to my-stuff.h 400 338 - exclude "incheckentry xwait()" from changed.files … … 403 341 - insist on tape #1 when start verifying 404 342 - added internal buffering, replacing the external 'buffer' exe 405 - if differential backup then don't permit formatting or fdisking, 406 whether Interactive or Nuke mode 407 - if mondorestore is run on live filesystem (or from ramdisk) without 408 parameters then mondorestore will ask which backup media (tape, CD, etc.) 409 was used; it will read the config file from the media and proceed from there 343 - if differential backup then don't permit formatting or fdisking, whether Interactive or Nuke mode 344 - if mondorestore is run on live filesystem (or from ramdisk) without parameters then mondorestore will ask which backup media (tape, CD, etc.) was used; it will read the config file from the media and proceed from there 410 345 - if tape streamer is softlink then resolve it first 411 346 - incorporate post-nuke tarball 412 - if user doesn't specify tape size, proceed anyway; behave intelligently 413 in the event of end-of-tape 414 - prefix bkpinfo->restore_path to biggiefile fname before generating 415 checksum & comparing to archived biggiefile 416 - if /etc/lilo.conf not found not /etc/lilo.conf.anaconda found 417 then create a softlink from the former to the latter, to work 418 around RH7.3's b0rken LILO support 347 - if user doesn't specify tape size, proceed anyway; behave intelligently in the event of end-of-tape 348 - prefix bkpinfo->restore_path to biggiefile fname before generating checksum & comparing to archived biggiefile 349 - if /etc/lilo.conf not found not /etc/lilo.conf.anaconda found then create a softlink from the former to the latter, to work around RH7.3's b0rken LILO support 419 350 - LFS support (mharris, michele, hugo) 420 351 - fixed verify bug --- CD#1 was being verified again & again & ... … … 424 355 - better handling of bigfiles' checksums, perms and owns 425 356 - delete final filelist if <=2 bytes long 426 - if kernel not found and mondo in graphics mode then popup and ask 427 for kernel path+filename 357 - if kernel not found and mondo in graphics mode then popup and ask for kernel path+filename 428 358 - misc clean-ups (Troff) 429 359 - noninteractivity-related & misc clean-ups (Carl Wilhelm Soderstrom) … … 439 369 - cleaned up live filesystem restoration 440 370 - permit '-0' (no compression) flag 441 - if user restores selectively (picks some files to be restored) then 442 large files archived during '-L' (LZO) backup will now be restored properly 371 - if user restores selectively (picks some files to be restored) then large files archived during '-L' (LZO) backup will now be restored properly 443 372 - fixed bug in make-me-bootable 444 373 - don't change /tmp's permissions unless it doesn't exist & has to be created 445 374 - changed $i to $j in mondo-makefilelist (Karsten) 446 - fixed 'I refuse to write floppy images to /dev/fd0 because its size is 447 not apparent from its filename' bug 375 - fixed 'I refuse to write floppy images to /dev/fd0 because its size is not apparent from its filename' bug 448 376 - disabled 'nr-failed-disks' entry in raidtab generator 449 377 - added '-o' flag to let user choose LILO as CD/floppy's boot loader … … 454 382 - mondorestore makes /var/run/console in case user excluded it 455 383 - the -s switch now accepts multiple sizes, one per tape/CD 456 - added -u switch for streaming to device; like -t (tape) but without 457 various error checks; use with caution 384 - added -u switch for streaming to device; like -t (tape) but without various error checks; use with caution 458 385 - bugfixes; cleaned up code (Troff) 459 386 - changed lockfiles from static to random filenames … … 462 389 - added -follow to search for home (Bruno Vidal) 463 390 - unmount/remount CD-ROM at start/end if supermounted 464 - delete old /tmp/filelist.full,biggielist.txt if restoring to 465 live filesystem 391 - delete old /tmp/filelist.full,biggielist.txt if restoring to live filesystem 466 392 - if Mindi aborted then show last 6 lines of its log before mondoarchive aborts 467 393 - reformatted, redistributed source code (Stan Benoit) … … 475 401 476 402 v1.42-1 (2002-04-07) 477 - mondorestore may now be run on live filesystem, i.e. user does not 478 have to reboot in order to restore data; works for CD's and tapes; 479 NFS and ISO restores will be supported at a later date 403 - mondorestore may now be run on live filesystem, i.e. user does not have to reboot in order to restore data; works for CD's and tapes; NFS and ISO restores will be supported at a later date 480 404 - fixed restore-time RAID-handling bugs 481 405 - added -E patch to exclude files and/or dirs properly (Andy Glass) 482 406 - cat /proc/cpuinfo and run uname -r; save output to logfile at backup-time 483 407 - fixed minor bug in stablilo-me 484 - if /tmp/fstab.new exists then use _it_ instead of /tmp/fstab to label 485 ext2 or ext3 partitions 408 - if /tmp/fstab.new exists then use _it_ instead of /tmp/fstab to label ext2 or ext3 partitions 486 409 - bootable CD's now use SYSLINUX instead of LILO (Andy Glass) 487 410 - don't pclose() tape after calling closein_tape(): the latter does it already … … 495 418 v1.40-7 (2002-03-10) 496 419 - if '-L' then test for lzop; abort if not present 497 - if Mondo cannot figure out which boot loader the user is using, 498 tell the user to read the manual and mention -l, -f switches 420 - if Mondo cannot figure out which boot loader the user is using, tell the user to read the manual and mention -l, -f switches 499 421 - abort if ramdisk not available 500 422 - updated man page (Mikael Hultgren) … … 517 439 - added updated docs (Cafeole, Randy Delfs, Stan Benoit et al) 518 440 - added pico to restore-scripts.tgz; deprecated some scripts 519 - if restoring to /dev/ida/* or /dev/cciss/* then drop the 'p' 520 before trying to discover the size of the partition itself 441 - if restoring to /dev/ida/* or /dev/cciss/* then drop the 'p' before trying to discover the size of the partition itself 521 442 - support pathnames containing spaces (KirkJT) 522 443 - added -C switch, to treat CD burner almost as a tape streamer … … 548 469 - changed get_phys_size_of_drive() to read value from fdisk, not dmesg 549 470 - if hard disk does not exist then warn user when editing mountlist 550 - if boot+floppy disk images were not created then don't offer to write them 551 to disks; instead, mention the mindi.iso bootable CD images 471 - if boot+floppy disk images were not created then don't offer to write them to disks; instead, mention the mindi.iso bootable CD images 552 472 - exclude each partition's .autofsck from backup 553 473 - fixed bug in CD restoration progress form … … 564 484 - source code has been beautified (Stan Benoit) 565 485 - makefile, Config implemented (Stan Benoit) 566 - use /tmp/mondo-restore.cfg instead of all kinds of silly /tmp files 567 at boot-time; slowly migrating to a proper /tmp/mondo-restore.cfg file 486 - use /tmp/mondo-restore.cfg instead of all kinds of silly /tmp files at boot-time; slowly migrating to a proper /tmp/mondo-restore.cfg file 568 487 - changed 'retval+=load_raidtab()' to 'load_raidtab()' 569 488 - patch to make it easier to install Mondo almost anywhere (Ian Mortimer) 570 - proper, one-char switches replace the long-winded multi-char switches 571 of 1.36 and earlier 572 - migrating from lots of /tmp files in ramdisk to a single configuration 573 file on ramdisk, at /tmp/mondo-restore.cfg 489 - proper, one-char switches replace the long-winded multi-char switches of 1.36 and earlier 490 - migrating from lots of /tmp files in ramdisk to a single configuration file on ramdisk, at /tmp/mondo-restore.cfg 574 491 - estimates the number of media required by this backup session 575 492 - changed 'retval+=load_raidtab()' to 'load_raidtab()' … … 580 497 - if the user specifies boot loader or device, record those settings 581 498 - fixed cdrecord-related bug in .spec file 582 - if backing up specific paths - e.g. /usr/local/bin - then include 583 /usr and /usr/local/ in filelist; don't backup /usr/* but do recreate 584 /usr and /usr/local/; this is to help the selective restore subroutine 499 - if backing up specific paths - e.g. /usr/local/bin - then include /usr and /usr/local/ in filelist; don't backup /usr/* but do recreate /usr and /usr/local/; this is to help the selective restore subroutine 585 500 - user's BIOS is assumed not to be able to handle LILO's sector-seek merging 586 501 - switches --broken-bios, --debug and --chunk-size have been removed … … 618 533 - if bzip is <v0.99 then abort 619 534 - if hard disk fills to capacity then abort 620 - --post-nuke <tarball> will incorporate a tarball of tools and data files 621 of the user's choosing in the boot CD/floppies; the tarball must contain 622 an executable, 'post-nuke', which will be called at the end of Nuke Mode 535 - --post-nuke <tarball> will incorporate a tarball of tools and data files of the user's choosing in the boot CD/floppies; the tarball must contain an executable, 'post-nuke', which will be called at the end of Nuke Mode 623 536 - --text-mode forces Mondo Archive to use text only (no newt or ncurses) 624 537 - the deprecated scripts have now been disabled 625 - boot floppy will use 'safe' LILO calls; boot CD will use 'fast' LILO calls 626 unless --broken-bios is supplied in call to Mondo 538 - boot floppy will use 'safe' LILO calls; boot CD will use 'fast' LILO calls unless --broken-bios is supplied in call to Mondo 627 539 - cdrecord's buffer is now 4 MB (was 16 MB) 628 540 - tape support has been rewritten from ground up … … 642 554 - fixed bugs in actually_verify_the_tapes() 643 555 - fixed some popen/pclose mismatches 644 - no longer run compare_a_biggiefile() right after restore_a_biggiefile(), 645 as it can upset the restoration of biggiefiles which are spread across CD's 556 - no longer run compare_a_biggiefile() right after restore_a_biggiefile(), as it can upset the restoration of biggiefiles which are spread across CD's 646 557 647 558 v1.33-8 (2001-12-19) … … 687 598 - cosmetic fixes to mondo-prep.c and mondo-newt.c 688 599 - put quotes around chmod's parameter 689 - subtract 5% from reported maximum storage capacity of drives, when checking 690 that the parttions will fit; some drives lie about their max cap 600 - subtract 5% from reported maximum storage capacity of drives, when checking that the parttions will fit; some drives lie about their max cap 691 601 - stablilo-me no longer tries to mark partitions as bootable 692 602 - better exclusion of /var/log/pacct 693 603 - tape users can now use --verify to verify archives w/o rebooting 694 604 - checksum calculated for every file backed up - for future expansion 695 - implemented a _real_ --differential switch, to backup all files changed 696 or added since the last complete backup 605 - implemented a _real_ --differential switch, to backup all files changed or added since the last complete backup 697 606 698 607 v1.32-2 (2001-12-09) 699 608 - if no RAID devices after editing mountlist then delete raidtab 700 609 - don't try to mount RAID partitions (components of RAID dev) 701 - don't add partitions to mountlist when extrapolating from mountlist 702 unless the partitions are not already present in mountlist 610 - don't add partitions to mountlist when extrapolating from mountlist unless the partitions are not already present in mountlist 703 611 - don't format partitions if partitioning failed 704 612 - when user selects RAID level, establish whether said level is available … … 708 616 - log_it() makes sure it only writes one \n on the end of each logged line 709 617 - detects if user is using GRUB/LILO/other; abort if neither LILO nor GRUB 710 - passes the boot loader's name and device to Mindi, to be available at 711 boot-time 712 - if user successfully restores using Nuke or Interactive w/o error then Mondo 713 generates a random message, basically saying, "Cool." 618 - passes the boot loader's name and device to Mindi, to be available at boot-time 619 - if user successfully restores using Nuke or Interactive w/o error then Mondo generates a random message, basically saying, "Cool." 714 620 - enlarged afio's "-M" parameter from 12M to 16M 715 - if stablilo-me fails then restore the original lilo.conf and fstab before 716 offering user the opportunity to edit them (Dean Carpenter) 621 - if stablilo-me fails then restore the original lilo.conf and fstab before offering user the opportunity to edit them (Dean Carpenter) 717 622 - added ISO Mode, to let user restore from ISO images in directory 718 623 - cosmetic fix to compare/restore phase windows … … 726 631 - exclude each device's lost+found directory 727 632 - mountlist editor now permits advanced editing of RAID devices 728 - fixed a silly bug that was causing freeze-up on <1% of systems; if biggielist 729 was empty then sometimes mondo-archive would freeze when backing up big files 730 (cos there weren't any *g*) 633 - fixed a silly bug that was causing freeze-up on <1% of systems; if biggielist was empty then sometimes mondo-archive would freeze when backing up big files (cos there weren't any *g*) 731 634 - partition and set type in 2-stage process (was 1-stage) 732 635 - cleaned up Compare Mode's logging a bit, to make it more legible … … 734 637 - exclude ext3's .journal files from backup (yes, this time I really do) 735 638 - '--my-kernel SUCKS' has been replaced with '--my-kernel FAILSAFE' 736 - softlink mondo-restore to /usr/bin/ before calling Mindi, so that Mindi can 737 pick up mondo-restore and its depdendencies easily 639 - softlink mondo-restore to /usr/bin/ before calling Mindi, so that Mindi can pick up mondo-restore and its depdendencies easily 738 640 - copy mondo-restore to Mondo's temp dir before calling Mindi 739 641 - don't try to compress MP3's, MPG's, WMV's or RA's 740 - cleaned up mondo-newt.c; alphabetized the subroutines; moved some tools from 741 there to mondo-tools.c 742 - mondo-tarme and mondo-restore are now compiled as dynamic executables; I 743 have amended install.sh and mondo-1.31.spec accordingly 642 - cleaned up mondo-newt.c; alphabetized the subroutines; moved some tools from there to mondo-tools.c 643 - mondo-tarme and mondo-restore are now compiled as dynamic executables; I have amended install.sh and mondo-1.31.spec accordingly 744 644 - now make boot/data floppies at end of backup, not beginning 745 645 - backup in alphabetical order now, not reverse-alpha 746 - if Compare Mode reports changed files /var/* and /etc/mtab only then tell 747 the user their archives are good despite the differneces 646 - if Compare Mode reports changed files /var/* and /etc/mtab only then tell the user their archives are good despite the differneces 748 647 - cut back on excessively verbose logging at backup-time 749 648 - when vacuum-packing a partition, describe it as "(max size)", not "(0 MB)" 750 649 - if swap is already mounted, don't abort: just say, 'swap already mounted' 751 - when unmounting all devices, don't try to unmount something if it's not even 752 mounted; if it's not mounted, say so but don't try to unmount it: you'll 753 just end up looking very silly :) 650 - when unmounting all devices, don't try to unmount something if it's not even mounted; if it's not mounted, say so but don't try to unmount it: you'll just end up looking very silly :) 754 651 755 652 v1.30 (2001-11-28) 756 - I have reorganized the C code, sorted the subroutines alphabetically, and 757 re-jigged Mondo's installation routines (inc. the RPM spec file) to reflect 758 the changes 759 - check for mondo-restore's presence; if absent then abort & ask user to check 760 to see if Mondo was installed properly 653 - I have reorganized the C code, sorted the subroutines alphabetically, and re-jigged Mondo's installation routines (inc. the RPM spec file) to reflect the changes 654 - check for mondo-restore's presence; if absent then abort & ask user to check to see if Mondo was installed properly 761 655 - always exclude /var/log/pacct from backup 762 656 - optimal set size is now 24MB 763 657 - install.sh will abort w/error if compilation of mondo-* fails 764 658 - after creating the mountlist, put a copy in Mondo's tmp directory 765 - each ext3 filesystem has a .journal file in its base directory; Mondo will 766 now exclude each of these journal files automatically 767 - use the archived copy of LILO, not the copy from the restore-time ramdisk, 768 to configure the MBR 659 - each ext3 filesystem has a .journal file in its base directory; Mondo will now exclude each of these journal files automatically 660 - use the archived copy of LILO, not the copy from the restore-time ramdisk, to configure the MBR 769 661 - size_of_file() now returns long long, not long 770 662 - find mondo-archive and set MONDO_PATH accordingly 771 663 - scratchdir is /home/mondo.scratch by default 772 - at backup-time, run mondo-restore in test mode to make sure that the 773 executable is sane & will run OK at restore-time 664 - at backup-time, run mondo-restore in test mode to make sure that the executable is sane & will run OK at restore-time 774 665 775 666 v1.19 (2001-11-14) … … 778 669 - at restore-time, always check for presence of decompressor; abort if notfound 779 670 - run 'chmod -r 1777 /mnt/RESTORING/tmp' after restoring 780 - fixed bugs in Compare Mode:- 781 - missing else{} 782 - erroneous 'cannot add archive' error; res+=retval should have read 783 retval+=res (Tony Kim) 784 - use 'umount /mnt/cdrom' instead of 'umount /dev/cdrom', to make it compatible 785 with busybox's umount command 786 - fixed bug in mondo-archive which stopped Mondo from pausing to retry if the 787 CD/ISO fails the verification phase 671 - fixed bugs in Compare Mode:- - missing else{} - erroneous 'cannot add archive' error; res+=retval should have read retval+=res (Tony Kim) 672 - use 'umount /mnt/cdrom' instead of 'umount /dev/cdrom', to make it compatible with busybox's umount command 673 - fixed bug in mondo-archive which stopped Mondo from pausing to retry if the CD/ISO fails the verification phase 788 674 - modified compare_all_tarballs() in mondo-restore.c 789 - if running interactively then offer to modify fstab and lilo.conf if user 790 says s/he has modified the mountlist 791 - if mondo-tarme segfaults (as it does, on a _very_ few systems) then Mondo 792 picks up on the fact & reports it 793 - when restoring, create /mnt/RESTORING/tmp before _and_ after restoring data, 794 just in case it is necessary; also set permissions okay 675 - if running interactively then offer to modify fstab and lilo.conf if user says s/he has modified the mountlist 676 - if mondo-tarme segfaults (as it does, on a _very_ few systems) then Mondo picks up on the fact & reports it 677 - when restoring, create /mnt/RESTORING/tmp before _and_ after restoring data, just in case it is necessary; also set permissions okay 795 678 - C code is now compiled 'O0' (without optimizations) 796 679 - each CD's slices were being listed to screen; now, piped to /dev/null … … 802 685 v1.17 (2001-10-20) 803 686 - the deprecated scripts now work with LZO 804 - if mondo-restore cannot mount all devices, it will _unmount_ whatever it did 805 mount, before it returns an error 687 - if mondo-restore cannot mount all devices, it will _unmount_ whatever it did mount, before it returns an error 806 688 - works with Red Hat 6.2 and 2.2.19 kernel 807 689 - cosmetic change to output (no more 'burning first/last CD' msgs) 808 690 - abort if user uses '--use-lzo' but doesn't install LZO(P) first 809 691 - changed --differential's \( and \) to ( and ) <-- thanks, Michael Moellney) 810 - added Marcus Oberhumer's LZO to Mindi and Mondo; use '--use-lzo' switch 811 to activate this groovy new compression algorithm; it is not as efficient 812 as bzip2 but it is can take up to 50% less time than bzip2 to compress data 692 - added Marcus Oberhumer's LZO to Mindi and Mondo; use '--use-lzo' switch to activate this groovy new compression algorithm; it is not as efficient as bzip2 but it is can take up to 50% less time than bzip2 to compress data 813 693 - incorporated Bruno Cornec's "--cd-recovery" patch 814 694 - at restore-time, set biggiefiles to +x … … 816 696 - don't report non-existent differences/errors between archives and filesystem 817 697 - fixed bug in --differential switch (Michael Moellney) 818 - scripts will no longer function unless gawk and printf are included in 819 Mindi's deplist.txt; add them if you want to use the scripts 698 - scripts will no longer function unless gawk and printf are included in Mindi's deplist.txt; add them if you want to use the scripts 820 699 821 700 v1.16 (2001-10-10) 822 701 - default scratchdir is `pwd`/mondo.scratch.$$ (was mondo.scratch) 823 - when asking user to send me a log file, warn them that the log file may 824 contain information which they do not want me to see but point out that I 825 cannot help much unless I have a copy of their log file 826 - when comparing to or restoring from tape, only update the progree form 827 if/when I've just restored files; otherwise, I would screw up the time est.s 702 - when asking user to send me a log file, warn them that the log file may contain information which they do not want me to see but point out that I cannot help much unless I have a copy of their log file 703 - when comparing to or restoring from tape, only update the progree form if/when I've just restored files; otherwise, I would screw up the time est.s 828 704 - increase afio's block count from 256 to 1024 when restoring from tape 829 705 - plays nicely with devfs-enabled kernels and distros 830 - when restoring or comparing, track progress by the archive# (N out of M), 831 not by the file#; the former is more reliable and useful than the latter 832 - has been tested successfully with the following distros 833 - Linux-Mandrake 8.1 and its 2.4.8, devfs-enabled stock kernel --- tape / CDR 834 - Red Hat 7.1 and its 2.4.2 stock kernel --- tape / CDR 835 - tape streamers are now supported; use the '--write-tapes <dev> <sizeMB>' 836 switch, e.g. --write-tapes /dev/st0 4096 706 - when restoring or comparing, track progress by the archive# (N out of M), not by the file#; the former is more reliable and useful than the latter 707 - has been tested successfully with the following distros - Linux-Mandrake 8.1 and its 2.4.8, devfs-enabled stock kernel --- tape / CDR - Red Hat 7.1 and its 2.4.2 stock kernel --- tape / CDR 708 - tape streamers are now supported; use the '--write-tapes <dev> <sizeMB>' switch, e.g. --write-tapes /dev/st0 4096 837 709 - LVM support is stabilizing 838 - when mounting/unmounting partitions to be restored, don't forget to 839 mount/unmount the swap partitions 710 - when mounting/unmounting partitions to be restored, don't forget to mount/unmount the swap partitions 840 711 - when zeroing a drive, use plain old C fopen/fputc/fclose, not 'dd' 841 - after restoring data and running LILO, unmount (as usual) and then run 842 label-partitions-as-necessary, to set the ext2fs LABELs if it is appropriate 712 - after restoring data and running LILO, unmount (as usual) and then run label-partitions-as-necessary, to set the ext2fs LABELs if it is appropriate 843 713 - fixed bugs in selective restoration scripts and executable 844 - fixed silly bug in hack-lilo; bug was triggered when I moved to Mandrake 8.1; 845 bug caused '/dev/fd0' entry in lilo.conf to become corrupted 846 - if user tries to make a bootable rescue CD with the '--no-bkpath' switch then 847 politely direct them to Mindi :-) 714 - fixed silly bug in hack-lilo; bug was triggered when I moved to Mandrake 8.1; bug caused '/dev/fd0' entry in lilo.conf to become corrupted 715 - if user tries to make a bootable rescue CD with the '--no-bkpath' switch then politely direct them to Mindi :-) 848 716 849 717 v1.15 (2001-09-28) 850 - serialized the call to mondo-filelistchop.c; helps to improve visual feedback 851 (yeah, sounds weird but it's true) 718 - serialized the call to mondo-filelistchop.c; helps to improve visual feedback (yeah, sounds weird but it's true) 852 719 - the switches --differential and --exclude-paths should play nicely now 853 720 - improved the logging a bit, esp. when ejecting or unmounting CD's 854 - improved the visual feedback (specifically, the bar and percentage figures 855 indicating time spent & remaining) 721 - improved the visual feedback (specifically, the bar and percentage figures indicating time spent & remaining) 856 722 - experimental LVM support 857 723 - fixed 'cannot eject CD' bug, which was caused by busybox's sync & umount … … 860 726 - fail if user runs mondo-archive _from CD_; this is for the user's protection 861 727 - fixed silly bug in mount-me (a crucial line was disabled) 862 - working on stablilo-me, hack-lilo and hack-fstab to make sure they work 863 with the new, busybox-based Mindi v0.41 864 - Mindi v0.41 is very different from v0.40, internally anyway; so, I had to do 865 a lot of testing to make sure Mondo would play nicely with the new Mindi 728 - working on stablilo-me, hack-lilo and hack-fstab to make sure they work with the new, busybox-based Mindi v0.41 729 - Mindi v0.41 is very different from v0.40, internally anyway; so, I had to do a lot of testing to make sure Mondo would play nicely with the new Mindi 866 730 867 731 v1.14 (2001-09-18) 868 732 - if verify is enabled then verify each CD/ISO after writing it 869 - fixed a quasi-bug in mondo/mount-me; this script used 'sort +1' which is 870 not supported by busybox; I've changed it to just plain old 'sort' 733 - fixed a quasi-bug in mondo/mount-me; this script used 'sort +1' which is not supported by busybox; I've changed it to just plain old 'sort' 871 734 - Mondo now tells Mindi whether or not to use its stock kernel 872 735 - fixed bug in 'biggify-me' script; now, checksums will be verified 873 736 - fixed bug in checksum comparison code (mondo-restore.c) 874 - reimplemented '--verify' switch; now, user can verify ISO's or CD's against 875 the live filesystem, just for 'belt and braces' emotional security 737 - reimplemented '--verify' switch; now, user can verify ISO's or CD's against the live filesystem, just for 'belt and braces' emotional security 876 738 - improved the error-reporting at restore-time (if tarball cannot be accessed) 877 - if user does not specify CD-R(W) drive's speed or device then Mondo will 878 try to locate the drive and will assume 4x speed 879 - user may now type 'edit-mountlist' after booting, if they want to edit the 880 mountlist without risking accidentally wiping their hard disks 739 - if user does not specify CD-R(W) drive's speed or device then Mondo will try to locate the drive and will assume 4x speed 740 - user may now type 'edit-mountlist' after booting, if they want to edit the mountlist without risking accidentally wiping their hard disks 881 741 - fixed a few silly typos in the error messages in mondo-tarme 882 742 - updated the FAQ 883 743 - added code to verify ISO images 884 - used 'blank=fast' instead of '-blank fast' for backward-compatibility with 885 older versions of cdrecord 886 - if nonzero value returned by Mondo, then Mondo creates a mondo.err.$$.tgz 887 tarball containing log files & stuff, which it tells the user to e-mail me 744 - used 'blank=fast' instead of '-blank fast' for backward-compatibility with older versions of cdrecord 745 - if nonzero value returned by Mondo, then Mondo creates a mondo.err.$$.tgz tarball containing log files & stuff, which it tells the user to e-mail me 888 746 - when debugging, don't pause before running mondo-tarme; just run it 889 747 - automatically exclude any file including '/vmmhiber.w9x' in its pathname 890 748 - added Minix support (although I doubt anyone needs it) 891 - ported mondo-tarme to C 892 - prettier interface at run-time (backup), giving better feedback 893 - obviates a mysterious, intermittent bug in bash itself 894 - shows '% done' when burning CD 749 - ported mondo-tarme to C - prettier interface at run-time (backup), giving better feedback - obviates a mysterious, intermittent bug in bash itself - shows '% done' when burning CD 895 750 - afio now has a 12MB FIFO buffer (was 16MB) 896 751 - cdrecord now has a 20MB FIFO buffer (was 24MB) … … 905 760 - mondo-tarme now uses -M 16m -t 4k in its call to afio, to improve performance 906 761 - fixed mondo-restore.c's mkreiserfs call; ditto, prep-me's mkreiserfs call 907 - fixed mondo-restore.c's compare_a_biggiefile() subroutine, which would 908 generate erroneous error messages 909 - fixed mondo-archive.c's restore_a_biggiefile() and restore_all_biggiefiles() 910 subroutines; I can't get them to break but others can, so I've streamlined 911 the code to make them easier to debug and in theory more stable too 912 - fixed 'hack-fstab' to make sure that non-LABELed partitions are correctly 913 moved/changed, etc. 762 - fixed mondo-restore.c's compare_a_biggiefile() subroutine, which would generate erroneous error messages 763 - fixed mondo-archive.c's restore_a_biggiefile() and restore_all_biggiefiles() subroutines; I can't get them to break but others can, so I've streamlined the code to make them easier to debug and in theory more stable too 764 - fixed 'hack-fstab' to make sure that non-LABELed partitions are correctly moved/changed, etc. 914 765 - fixed the 'space in big filename' bug (I think) 915 - make Interactive Mode sort the mountlist (by partition size) before creating 916 the dirs and mounting the partitions to them 766 - make Interactive Mode sort the mountlist (by partition size) before creating the dirs and mounting the partitions to them 917 767 - fixed a slew of bugs related to Red Hat's LABEL= extensions 918 - cleaned up mondo-restore.c and mondo-newt.c; replaced lots of arbitrary 919 limits and lengths with a small number of #define's 920 - added some sample RAID0/1/5 raidtab (config) files to restore-scripts.tgz, 921 which will be restored to the ramdisk's /etc dir when the user boots from 922 the CD; this will only take up an extra 50K or so & will help any user 923 who is moving from non-RAID to RAID 768 - cleaned up mondo-restore.c and mondo-newt.c; replaced lots of arbitrary limits and lengths with a small number of #define's 769 - added some sample RAID0/1/5 raidtab (config) files to restore-scripts.tgz, which will be restored to the ramdisk's /etc dir when the user boots from the CD; this will only take up an extra 50K or so & will help any user who is moving from non-RAID to RAID 924 770 - changed FIFO size to 20MB 925 - only use the VFAT kludge on /dev/hda1 or /dev/sda1; otherwise, even if 926 the partition type is VFAT, do a regular mkfs.vfat 771 - only use the VFAT kludge on /dev/hda1 or /dev/sda1; otherwise, even if the partition type is VFAT, do a regular mkfs.vfat 927 772 - if mkfs.vfat doesn't exist, use mkfs.dos 928 773 - only try to add 'LABEL=' to ext2 and ext3 partitions 929 774 - moved a bunch of scripts from Mindi's rootfs.tgz to our restore-scripts.tgz 930 - fixed bugs in mondo-restore.c, which would sometimes just sit there when 931 trying to compare or restore big files that were spread across CD's 932 - Interactive Mode goes straight to 'mondo-restore --interactive' now, i.e. 933 the user doesn't have to choose Interactive once at boot and once within 934 mondo-restore 775 - fixed bugs in mondo-restore.c, which would sometimes just sit there when trying to compare or restore big files that were spread across CD's 776 - Interactive Mode goes straight to 'mondo-restore --interactive' now, i.e. the user doesn't have to choose Interactive once at boot and once within mondo-restore 935 777 - better post-run clean-up 936 778 - improved mondo-restore.c's error-reporting a little bit 937 - stablilo-me (the script) now supports Red Hat's "LABEL=" extensions to 938 /etc/fstab, via the script, 'label-partitions-as-necessary' 779 - stablilo-me (the script) now supports Red Hat's "LABEL=" extensions to /etc/fstab, via the script, 'label-partitions-as-necessary' 939 780 - added a user-friendly mountlist editor to mondo-restore.c 940 781 - added lots of sanity-checking to mountlist editor … … 945 786 - amended the .spec file to be saner when building RPM's 946 787 - archives are named '.afio.bz2' instead of '.tar.bz2' 947 - mondo-archive, mondo-tarme, mondo-restore.c and the DEPRECATED scripts have 948 been amended accordingly 788 - mondo-archive, mondo-tarme, mondo-restore.c and the DEPRECATED scripts have been amended accordingly 949 789 - should be able to create up to 20 CD-R's per backup set now 950 790 - moved a line within prep-me that was in the wrong place (thanks, Fran Boon!) … … 952 792 - added 10-second delay before mondo-restore's Nuke Mode, to let the user abort 953 793 - really fixed the '/mnt/RESTORING/tmp' permissions bug (thanks, Ang Tan!) 954 - sometimes, bash gets all screwed up & won't let the user type 'continue' when 955 Mondo asks them to; if that happens, Mondo will detect it & use a different 956 kind of mondo-askme; the new mondo-askme will check every 10 minutes for a 957 blank CD; if it's there, then the burn continues 794 - sometimes, bash gets all screwed up & won't let the user type 'continue' when Mondo asks them to; if that happens, Mondo will detect it & use a different kind of mondo-askme; the new mondo-askme will check every 10 minutes for a blank CD; if it's there, then the burn continues 958 795 - abort if isodir or scratchdir is a softlink 959 - replaced mondo-askme with a good shell script, to work around flaws in 960 bash and/or kernel (don't know which) 961 - added a failsafe kernel to Mindi, which means you don't have to make sure 962 your kernel is suitable for a boot disk; you can just use Mindi's instead 796 - replaced mondo-askme with a good shell script, to work around flaws in bash and/or kernel (don't know which) 797 - added a failsafe kernel to Mindi, which means you don't have to make sure your kernel is suitable for a boot disk; you can just use Mindi's instead 963 798 - make+chop filelist _after_ calling Mindi 964 799 - updated the FAQ … … 968 803 - added -pad -sort to the call to mkisofs 969 804 - stop saying, "N files differ so far" after comparing each tarball 970 - updated the FAQ, to remind users that they can boot from floppy images if 971 their kernel does not have the right support of CD-ROM's, filesystems, etc. 805 - updated the FAQ, to remind users that they can boot from floppy images if their kernel does not have the right support of CD-ROM's, filesystems, etc. 972 806 - erroneous error-reporting by /mondo/biggify-me; fixed (David Granz) 973 807 - don't estimate the time remaining unless >20 sets processed already 974 - default set size (uncompressed) is now 8MB (was 12MB); when 8MB, seems 975 to run more smoothly & a little quicker, too, at restore-time 808 - default set size (uncompressed) is now 8MB (was 12MB); when 8MB, seems to run more smoothly & a little quicker, too, at restore-time 976 809 - chmod 1777 /mnt/RESTORING/tmp after restoring/creating /tmp 977 810 - dropped mondo-askme.c; using regular 'read' instead … … 979 812 - cdrecord now uses a 16MB FIFO buffer (was 8MB) 980 813 - fixed floating point error in mondo-restore (when showing progress) 981 - when mondo-restore is called without params (e.g. by Interactive Mode), it 982 lets the user choose between nuke, interactive or compare (or abort) 814 - when mondo-restore is called without params (e.g. by Interactive Mode), it lets the user choose between nuke, interactive or compare (or abort) 983 815 - updated the FAQ 984 816 - working on Cuckoo Mode... … … 987 819 - default compression level is now 3 (was 2) 988 820 - retry/fail/abort loop bug fixed 989 - calls mindi with "--custom $TMP $scratchdir/images" to force mindi to use 990 my temp dir and to put the images in my 'images' folder 821 - calls mindi with "--custom $TMP $scratchdir/images" to force mindi to use my temp dir and to put the images in my 'images' folder 991 822 992 823 v1.08 (2001-07-28) … … 997 828 v1.07 (2001-07-22) 998 829 - fixed cosmetic mistake in an error msg in mondo-tarme ('continue'-related) 999 - hack-fstab now uses "defaults 0 0" instead of "default 1 3" when making 1000 a new entry in /etc/fstab 830 - hack-fstab now uses "defaults 0 0" instead of "default 1 3" when making a new entry in /etc/fstab 1001 831 - /mondo/restore-me always makes /mnt/RESTORING/tmp; so does mondo-restore.c 1002 832 - cosmetic changes to mondo-restore.c's screen output 1003 - RAID-related enhancements to mondo-restore.c 1004 - RAID bkp/restore appears to be stable 1005 - it is possible to move from non-RAID to RAID by backing up, wiping, 1006 creating /etc/raidtab, modifying /tmp/mountlist.txt and then restoring 1007 - mondo-restore.c works well 1008 - the only weakness is that the kernel's messages are written to the 1009 current console, not to a separate console... HELP? :-) 833 - RAID-related enhancements to mondo-restore.c - RAID bkp/restore appears to be stable - it is possible to move from non-RAID to RAID by backing up, wiping, creating /etc/raidtab, modifying /tmp/mountlist.txt and then restoring - mondo-restore.c works well - the only weakness is that the kernel's messages are written to the current console, not to a separate console... HELP? :-) 1010 834 - updated README (esp. FAQ) and TODO 1011 835 - tested with Linux 2.4.7; works fine 1012 - mondo-1.07.spec and install.sh compile every C program with -lncurses, just 1013 in case some programs (besides mondo-restore.c) need the NCURSES library 836 - mondo-1.07.spec and install.sh compile every C program with -lncurses, just in case some programs (besides mondo-restore.c) need the NCURSES library 1014 837 - mondo-restore.c is now compiled statically 1015 838 … … 1018 841 - install.sh only compiles mondo-restore.c once now 1019 842 - if scratchdir or isodir contain more than one path (each), abort 1020 - mondo-restore.c creates dummy partitions if the user starts the official 1021 etc/fstab table at /dev/hda7 or something; so, partitioning should work, 1022 even if the mountlist has some gaps 843 - mondo-restore.c creates dummy partitions if the user starts the official etc/fstab table at /dev/hda7 or something; so, partitioning should work, even if the mountlist has some gaps 1023 844 - for each /dev/md* device in the mountlist, run raidstop before mkraid 1024 845 … … 1040 861 - added 'mondo-restore.c' 1041 862 - C program, to replace the old restore scripts 1042 - Mindi will incorporate it in the data disks, if it can find Mondo 1043 - Mindi will also incorporate the old restore scripts (from Mondo) 1044 just in case the new C program doesn't work 863 - Mindi will incorporate it in the data disks, if it can find Mondo - Mindi will also incorporate the old restore scripts (from Mondo) just in case the new C program doesn't work 1045 864 - calls the script, 'stablilo-me' to run LILO if desired 1046 - added 'restore-scripts.tgz', which contains the /mondo scripts that used 1047 to live in Mindi; now, Mindi grabs them from here if necessary 865 - added 'restore-scripts.tgz', which contains the /mondo scripts that used to live in Mindi; now, Mindi grabs them from here if necessary 1048 866 - cleared up Mode-related scripts & the executable to replace them 1049 867 - if mkisofs fails, ABORT, don't just warn 1050 - added '--differential' option, to backup the files changed during the 1051 last N days (N specified by user) 868 - added '--differential' option, to backup the files changed during the last N days (N specified by user) 1052 869 1053 870 v1.02 (2001-07-07) 1054 871 - retract the CD tray after asking user to enter 'continue' (PauseAndAskForCDR) 1055 - uses C program instead of bash loop for PauseAndAskForCDR; some bash versions 1056 go into an infinite loop for no reason; hopefully, outsourcing to C will help 872 - uses C program instead of bash loop for PauseAndAskForCDR; some bash versions go into an infinite loop for no reason; hopefully, outsourcing to C will help 1057 873 - when slicing, indicate progress ("N slices...") 1058 - when told to '--burn-cds', Mondo pipes mkisofs's output to cdrecord, instead 1059 of saving the ISO file to disk first; this change will save time and space 1060 (not in the Star Trek sense, however *smile*) 874 - when told to '--burn-cds', Mondo pipes mkisofs's output to cdrecord, instead of saving the ISO file to disk first; this change will save time and space (not in the Star Trek sense, however *smile*) 1061 875 - default set size (native) is now 12MB 1062 876 - copy /usr/share/mondo to correct directory within CD … … 1067 881 1068 882 v1.00 (2001-07-04) 1069 - thanks to recent changes to Mindi, Mondo is now compatible with the 1070 filesystem formats JFS, ext3, ReiserFS, XFS and ext2 (if your own kernel is) 1071 - CDs [2-N] do not have boot floppy images on them; only CD#1 does (although 1072 CDs [2-N] do have the El Torito boot image, just in case...) 1073 - modified the --burn-cds switch; now it takes 3rd param, 'cdrw' (optional) to 1074 let you wipe and rewrite CDRWs instead of wasting CDRs ;-) 883 - thanks to recent changes to Mindi, Mondo is now compatible with the filesystem formats JFS, ext3, ReiserFS, XFS and ext2 (if your own kernel is) 884 - CDs [2-N] do not have boot floppy images on them; only CD#1 does (although CDs [2-N] do have the El Torito boot image, just in case...) 885 - modified the --burn-cds switch; now it takes 3rd param, 'cdrw' (optional) to let you wipe and rewrite CDRWs instead of wasting CDRs ;-) 1075 886 - removed that PID thing; doesn't work; please don't run Mondo twice at once :) 1076 887 - removed that "filenames contain '|'" error & associated problems … … 1083 894 - don't make MD5 checksums if verify_level==0 1084 895 - when archiving, make N.tar.bz2 and cklist.txt (tarball+checksums) in parallel 1085 - at end of mondo-archive, remove scratchdir and TMP completely IF they were 1086 created by Mondo (e.g. /home/mondo.scratch or /home/tmp.mondo.12345) 1087 - fill CD/image up to 1MB less than its max size; was being filled up to about 1088 8MB less than its max size, which wasted 8-10MB of storage space per disk 896 - at end of mondo-archive, remove scratchdir and TMP completely IF they were created by Mondo (e.g. /home/mondo.scratch or /home/tmp.mondo.12345) 897 - fill CD/image up to 1MB less than its max size; was being filled up to about 8MB less than its max size, which wasted 8-10MB of storage space per disk 1089 898 1090 899 v0.99 (2001-03-15) … … 1112 921 1113 922 v0.976 (2000-09-01) 1114 - technical changes 1115 - 12MB ramdisk 1116 - repackaged: now, Mondo comes in big tarball/RPM with all overhead-files 1117 - each Mondo CD has a 15MB administrative overhead; used to be 50-60MB 1118 - definitely 386-compatible now (RH 6.2 binaries) 1119 - Linux-Mandrake 7.1 (2.2.16) kernel w/ReiserFS & Supermount 1120 - modules.conf / conf.modules support (whichever you've got) 1121 - user may include their own copies of modules, if Mondo doesn't come with 1122 the requisite modules already 1123 - extra facilities 1124 - ReiserFS support 1125 - '--load-modules <foo> <bar> ...' will allow you to force Mondo to load 1126 key modules at boot-time, e.g. aic7xxx for SCSI-only users 1127 - bugfixes 1128 - path-exclusion code (mondo-backup) 1129 - bogus 'flaws=1' message has been eradicated 1130 - CDRW-finding code is now much better at finding the CDRW correctly 1131 - dummy burn mode is working again 1132 - fixed security hole (thanks, Matija); now, user will be warned if Mondo 1133 is configured to execute /tmp/mondo-tarme 1134 - changed lots of 'grep " $string "' to 'grep -w "$string"' (thanks, Matija) 923 - technical changes - 12MB ramdisk - repackaged: now, Mondo comes in big tarball/RPM with all overhead-files - each Mondo CD has a 15MB administrative overhead; used to be 50-60MB - definitely 386-compatible now (RH 6.2 binaries) - Linux-Mandrake 7.1 (2.2.16) kernel w/ReiserFS & Supermount - modules.conf / conf.modules support (whichever you've got) - user may include their own copies of modules, if Mondo doesn't come with the requisite modules already 924 - extra facilities - ReiserFS support - '--load-modules <foo> <bar> ...' will allow you to force Mondo to load key modules at boot-time, e.g. aic7xxx for SCSI-only users 925 - bugfixes - path-exclusion code (mondo-backup) - bogus 'flaws=1' message has been eradicated - CDRW-finding code is now much better at finding the CDRW correctly - dummy burn mode is working again - fixed security hole (thanks, Matija); now, user will be warned if Mondo is configured to execute /tmp/mondo-tarme - changed lots of 'grep " $string "' to 'grep -w "$string"' (thanks, Matija) 1135 926 1136 927 v0.975 (2000-07-03) … … 1148 939 1149 940 v0.972 (2000-06-16) 1150 - auto-archive, mondo-archive and mondo-tarme updated to make them more 1151 friendly towards mult-disk sets 941 - auto-archive, mondo-archive and mondo-tarme updated to make them more friendly towards mult-disk sets 1152 942 - if multiple CDRW drives, user is asked which mondo-archive should use 1153 943 1154 944 v0.971 (2000-06-14) 1155 945 - auto-archive now passes CD size to mondo-archive 1156 - mondo-tarme, in conjunction with auto-archive, now handles CDRW boot/burn 1157 sharing much better than before 946 - mondo-tarme, in conjunction with auto-archive, now handles CDRW boot/burn sharing much better than before 1158 947 1159 948 v0.970 (2000-06-10) … … 1161 950 - lots of silly bugs & overhead problems fixed; 2nd floppy closer to working 1162 951 - restore scripts all log to /var/log/mondo-restore.log 1163 - auto-archive:- 1164 - offers Low, Medium or High compression 1165 - no longer needs a spare hard drive for scratch space; uses loopfs on 1166 existing hard drive (if possible) instead 1167 - handles weird (multi-CDROM) PCs more gracefully now 1168 - handles PCs with CDRW but without CDROM more gracefully now 1169 - deletes each ISO after burning it to a CD-R (if it _is_ burning them) 1170 - asks if PC is old & crappy; if it is, IDE optimizations are disabled 1171 at backup-time and restore-time 1172 - lets user use CDRW for booting _and_ burning, thanks to reroute-softlinks 952 - auto-archive:- - offers Low, Medium or High compression - no longer needs a spare hard drive for scratch space; uses loopfs on existing hard drive (if possible) instead - handles weird (multi-CDROM) PCs more gracefully now - handles PCs with CDRW but without CDROM more gracefully now - deletes each ISO after burning it to a CD-R (if it _is_ burning them) - asks if PC is old & crappy; if it is, IDE optimizations are disabled at backup-time and restore-time - lets user use CDRW for booting _and_ burning, thanks to reroute-softlinks 1173 953 - selective restore is finally fixed 1174 954 - nicer help screens on boot floppy … … 1190 970 v0.963 (2000-05-31) 1191 971 - ISO images are no longer padded 1192 - all currently-loaded modules are backed up to custom hboot.img & installed 1193 at restore-time before CD is accessed 972 - all currently-loaded modules are backed up to custom hboot.img & installed at restore-time before CD is accessed 1194 973 - '--burn-cd <speed>' switch added 1195 - '--no-opt' switch added; use it in the call to mondo-archive if you don't 1196 want IDE optimization when restoring 974 - '--no-opt' switch added; use it in the call to mondo-archive if you don't want IDE optimization when restoring 1197 975 - lots of work done on auto-archive 1198 976 - mondo-extras-1.5 created; excludes mondo-zfile but includes hlib.tar.bz2 1199 977 - boot floppy image now includes kernel w/lots of SCSI stuff 1200 978 - slice* deleted (WipeArchives); was 'slices*' (bug!) 1201 - restore scripts all use 'lastbit-me' to find the 'X' part of '/dev/X' device; 1202 this will make it easier to port Mondo to kernel 2.4.x 1203 - I cannot make SCSI-based CDROMs boot from Mondo CDs properly... but SCSI 1204 hard drives and ZIP drives should be handled ok from now on 1205 - with a little coaxing, Mondo will backup Windows-only PCs (as well as 1206 Lin/Win and Linux-only PCs) 979 - restore scripts all use 'lastbit-me' to find the 'X' part of '/dev/X' device; this will make it easier to port Mondo to kernel 2.4.x 980 - I cannot make SCSI-based CDROMs boot from Mondo CDs properly... but SCSI hard drives and ZIP drives should be handled ok from now on 981 - with a little coaxing, Mondo will backup Windows-only PCs (as well as Lin/Win and Linux-only PCs) 1207 982 1208 983 v0.962 (2000-05-25) … … 1232 1007 - mondo-vfat-1.0 package released, to provide kludging for VFAT bootables 1233 1008 - logfile now saved at /var/log/mondo-archive.log (not `pwd`/mondo-archive.log) 1234 - pid registered/checked _after_ command line processed... so you can do --help 1235 without being shouted at ;) 1009 - pid registered/checked _after_ command line processed... so you can do --help without being shouted at ;) 1236 1010 - restore-me broken into 2 scripts: untar-me and biggify-me 1237 1011 - restore-subroutine-me now renamed untar-subroutine-me 1238 - bzip2 decompression should work again ;) ... a missing '-Z' was added to 1239 the afio call, and the usr/lib/libbz* libraries are now included on CD ISOs 1012 - bzip2 decompression should work again ;) ... a missing '-Z' was added to the afio call, and the usr/lib/libbz* libraries are now included on CD ISOs 1240 1013 - fixed hack-lilo to ignore blank lines 1241 - really ugly boot kludge has been implemented, using embleer files 1242 to make newly-formatted VFAT partitions bootable 1014 - really ugly boot kludge has been implemented, using embleer files to make newly-formatted VFAT partitions bootable -
trunk/mondo/mondo/common/libmondo-filelist.c
r539 r672 1271 1271 /*@ int **************************************************** */ 1272 1272 int res = 0; 1273 int *p_res = &res;1274 1275 1273 /*@ buffers ************************************************ */ 1276 1274 … … 1303 1301 if (res) { 1304 1302 log_OS_error("Call to mondo-makefilelist failed"); 1305 *p_res++;1306 1303 mvaddstr_and_log_it(g_currentY++, 74, _("Failed.")); 1307 1304 } else { -
trunk/mondo/mondo/common/libmondo-files.c
r649 r672 1155 1155 fprintf(fout, "ipgateway=%s\n", nfs_client_defgw); 1156 1156 fprintf(fout, "ipconf=\n"); 1157 fprintf(fout, "nfsmount=%s\n", bkpinfo->nfs_mount); 1157 1158 fprintf(fout, "for i in `cat /proc/cmdline` ; do\n"); 1158 1159 fprintf(fout, " echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2`\n"); 1160 fprintf(fout, " echo $i | grep -qi nfsmount= && nfsmount=`echo $i | cut -d= -f2`\n"); 1159 1161 fprintf(fout, "done\n"); 1162 fprintf(fout, "nfs_server_ipaddr=`echo $nfsmount | cut -d: -f1`\n"); 1160 1163 fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n"); 1161 fprintf(fout, "if [ $? =0 ]; then\n");1164 fprintf(fout, "if [ $? -eq 0 ]; then\n"); 1162 1165 fprintf(fout, " ipdev=`echo $ipconf | cut -d: -f1`\n"); 1166 fprintf(fout, " echo \"Making DHCP request on $ipdev\"\n"); 1163 1167 fprintf(fout, " udhcpc -i $ipdev\n"); 1164 1168 fprintf(fout, "else\n"); … … 1173 1177 fprintf(fout, " route add default gw $ipgateway\n"); 1174 1178 fprintf(fout, "fi\n"); 1175 fprintf(fout, "ping -c $ipcount %s # ping server\n", nfs_server_ipaddr); 1176 fprintf(fout, "mount -t nfs -o nolock %s /tmp/isodir\n", 1177 bkpinfo->nfs_mount); 1179 fprintf(fout, "ping -c $ipcount $nfs_server_ipaddr # ping server\n"); 1180 fprintf(fout, "mount -t nfs -o nolock $nfsmount /tmp/isodir\n"); 1178 1181 paranoid_fclose(fout); 1179 1182 chmod(outfile, 0777); -
trunk/mondo/mondo/common/libmondo-raid.c
r588 r672 967 967 // trim leading spaces 968 968 pos = string; 969 while (*pos == ' ') *pos++; 970 asprintf(&string, pos); 971 // 969 while (*pos == ' ') pos += 1; 970 asprintf(&strtmp, pos); 971 strcpy(string, strtmp); 972 paranoid_free(strtmp); 972 973 // if we have newline after only spaces, this is a blank line, update 973 974 // counters, otherwise do normal parsing … … 1124 1125 } else { 1125 1126 while (*pos != ' ') { 1126 *pos--;1127 pos -= 1; 1127 1128 if (pos < string) { 1128 1129 log_it("String underflow!\n"); … … 1149 1150 } else { 1150 1151 while (*pos != ' ') { 1151 *pos--;1152 pos -= 1; 1152 1153 if (pos < string) { 1153 1154 printf("ERROR: String underflow!\n"); -
trunk/mondo/mondo/common/libmondo-string.c
r561 r672 1160 1160 token = malloc(sizeof(*token)*(pos1+1)); 1161 1161 strncpy(token, strptr, pos1); 1162 token[pos1] = '\0'; 1162 1163 *lastpos = *lastpos + pos1 + pos2 + 1; 1163 1164 -
trunk/mondo/mondo/common/libmondo-tools.c
r561 r672 506 506 } 507 507 if (bkpinfo->nonbootable_backup) { 508 asprintf(&mondo_mkisofs_sz, MONDO_MKISOFS_NONBOOT);508 asprintf(&mondo_mkisofs_sz, "%s -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_", mrconf->mondo_iso_creation_cmd); 509 509 } else if 510 510 #ifdef __FreeBSD__ -
trunk/mondo/mondo/common/my-stuff.h
r561 r672 210 210 */ 211 211 #define MONDO_MKISOFS_REGULAR_SYSLINUX "mkisofs -J -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_" 212 #define MONDO_MKISOFS_REGULAR_LILO "mkisofs -J -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_" 213 #define MONDO_MKISOFS_REGULAR_ELILO "mkisofs -no-emul-boot -b images/mindi-bootroot.8192.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_" 212 214 213 215 /** … … 215 217 */ 216 218 // -b images/mindi-boot.2880.img 217 #define MONDO_MKISOFS_REGULAR_LILO "mkisofs -boot-info-table -no-emul-boot -b isolinux.bin -c boot.cat -boot-load-size 4 -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_"218 219 219 220 /** … … 222 223 // -b images/mindi-boot.2880.img 223 224 // Should replace 8192 by IA64_BOOT_SIZE 224 #define MONDO_MKISOFS_REGULAR_ELILO "mkisofs -no-emul-boot -b images/mindi-bootroot.8192.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_"225 225 226 226 /** -
trunk/tools/build2pkg
r600 r672 67 67 pkg="$pkg $pkg1" 68 68 69 log= /tmp/$p-rpm.log69 log=$TMP/$p-rpm.log 70 70 71 71 if [ "$dfam" = "mandriva" ]; then … … 90 90 cd .. 91 91 elif [ _"$dtype" = _"ebuild" ]; then 92 log= /tmp/$p-gentoo.log92 log=$TMP/$p-gentoo.log 93 93 ln -sf $src . 94 94 tar xfz $src $pv/distributions/${ddir}-$dver/$p-${VER}-r$TAG.ebuild … … 124 124 fi 125 125 elif [ _"$dtype" = _"deb" ]; then 126 log= /tmp/$p-deb.log126 log=$TMP/$p-deb.log 127 127 cd $TOPBUILDDIR 128 128 tar xfz $src 129 129 cd ${pv}* 130 ln -s distributions/debian debian131 # update debian/changelog132 pkg-buildpackage -us -uc -rfakeroot130 # point to the right debian conf 131 ln -s distributions/${ddir}-$dver debian 132 dpkg-buildpackage -us -uc -rfakeroot 133 133 # Et voila ! 134 134 else … … 138 138 echo "Packages handled : $pkg" 139 139 140 rm -rf $TMP 141 140 142 if [ $status = 0 ]; then 141 143 if [ _"$dtype" = _"rpm" ]; then -
trunk/tools/distro-env
r600 r672 124 124 fi 125 125 mkdir -p ${TOPBUILDDIR}/{RPMS,SRPMS,SPECS,SOURCES,BUILD} 126 elif [ _"$dtype" = _"deb" ]; then 127 export TOPBUILDDIR=${BASE}/build 128 mkdir -p ${TOPBUILDDIR} 126 129 elif [ _"$dtype" = _"ebuild" ]; then 127 130 export TOPBUILDDIR=${BASE}/build -
trunk/tools/livwww
r588 r672 92 92 ln -sf /var/www/html/admin . 93 93 94 # Compute News 95 $TOOLHOME/mknewshtml.pl $LOCALDIR 96 94 97 if [ _"$1" == _"" ]; then 95 98 exit 0 -
trunk/tools/mkannounce
r652 r672 64 64 rm -f $TMP/mindi.ann $TMP/mondo.ann 65 65 66 vi $TMP/announce.tmp 66 67 # Store it in DB for Web pages generation 67 68 $TOOLHOME/mkannounce.pl $TMP/announce.tmp 68 69 # Then deliver it on the Web 69 #$TOOLHOME/livwww www 70 $TOOLHOME/livwww www 71 cat > $TMP/announce.hdr << EOF 72 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd"> 73 74 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en"> 75 <head> 76 </head> 77 <body> 78 <p> 79 EOF 80 cat > $TMP/announce.ftr << EOF 81 </body> 82 </html> 83 EOF 84 # Mail it to mr ML 85 cat $TMP/announce.hdr $TMP/announce.tmp $TMP/announce.ftr | w3m -dump -T text/html > $TMP/mondo.ann.txt 86 export EMAIL="bruno@mondorescue.org" 87 export TMPDIR=$TMP 88 cat $TMP/mondo.ann.txt | mutt -s "`head -1 $TMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de 89 rm -rf $TMP -
trunk/tools/mkannounce.pl
r652 r672 28 28 } 29 29 30 my $db="$TOOLHOME/../website/announces .sql";30 my $db="$TOOLHOME/../website/announces3.sql"; 31 31 32 32 my $dbh = DBI->connect("dbi:SQLite:dbname=$db","","", … … 40 40 open(ANNOUNCE,$ARGV[0]) || die "Unable to open $ARGV[0] (read)"; 41 41 my $announce = <ANNOUNCE>; 42 $announce =~ s/\"/\"\"/g; 42 #$announce =~ s/\"/\"\"/g; 43 #$announce =~ s/!//g; 43 44 close(ANNOUNCE); 44 45 45 46 print "INSERT INTO announces VALUES (NULL, $date, $announce)\n"; 46 #$dbh->do("INSERT INTO announces VALUES (NULL, $date, $announce)") 47 my $sth = $dbh->prepare(qq{INSERT INTO announces VALUES (NULL,?,?)}) 48 || die "Unable to insert into $db"; 49 $sth->execute($date, $announce); 50 #$dbh->do(qq(INSERT INTO announces VALUES (NULL, '$date', '$announce'))) 47 51 #|| die "Unable to insert into $db"; 52 48 53 $dbh->disconnect; -
trunk/tools/mkchangelog.pl
r652 r672 20 20 my $chglog = ""; 21 21 my $ndate = ""; 22 my $n2date = ""; 22 23 my $tmp = ""; 23 24 my $ver = ""; … … 79 80 #print "**$date**\n"; 80 81 $ndate = UnixDate($date,"%a", "%b", "%d", "%Y"); 82 $n2date = &UnixDate($date,"%a, %d %b %Y %H:%M:%S %z"); 81 83 #print "**$ndate**\n"; 82 84 if ($dtype eq "rpm") { … … 84 86 print OUTPUT "- Updated to $ver\n"; 85 87 } 88 if ($dtype eq "deb") { 89 print OUTPUT "$pkg ($ver) unstable; urgency=low\n"; 90 print OUTPUT "\n"; 91 } 86 92 87 93 $tmp = <INPUT>; 88 94 while ($tmp !~ /^$/) { 89 print OUTPUT $tmp; 95 if ($dtype eq "deb") { 96 print OUTPUT " * $tmp"; 97 } 98 else { 99 print OUTPUT "$tmp"; 100 } 90 101 last if (eof(INPUT)); 91 102 $tmp = <INPUT>; 92 103 } 93 104 print OUTPUT "\n"; 105 106 if ($dtype eq "deb") { 107 print OUTPUT " -- Bruno Cornec <bruno\@mondorescue.org> $n2date\n\n"; 108 print OUTPUT "\n"; 109 } 110 94 111 last if (eof(INPUT)); 95 112 last if ($dtype eq "announce"); -
trunk/tools/svn2build
r652 r672 85 85 elif [ "$dtype" = "deb" ]; then 86 86 # To be developped 87 m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null 87 #m4 $TMP/mondorescue.mc $dest/distributions/$dfam/$p > /dev/null 88 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver 89 $TOOLHOME/mkchangelog.pl $dtype $p $dest/distributions/${ddir}-$dver/changelog 90 if [ $? -ne 0 ]; then 91 echo "Unable to create changelog for ${ddir}-$dver/changelog" 92 exit -1 93 fi 88 94 else 89 95 echo "Unknown Build" … … 134 140 done 135 141 136 rm - f $TMP/mondorescue.mc142 rm -rf $TMP 137 143 138 144 echo "Version delivered :"
Note:
See TracChangeset
for help on using the changeset viewer.