Changeset 58 in MondoRescue for trunk/mondo/mondo/common/libmondo-tools.c
- Timestamp:
- Oct 10, 2005, 11:22:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-tools.c
r49 r58 1 /* libmondo-tools.c misc tools 2 $Id$ 3 . 4 5 6 06/28 7 - abort if RAID partitions found but /etc/raidtab not found 8 9 06/25 10 - don't insist on ms-sys; recommend it 11 - don't fatal_error if can't open log file 12 13 06/14 14 - call mindi -V before calling mindi --makemountlist 15 16 04/09 17 - lots of malloc'd char*'s instead of char[]'s in post_param_config'n 18 19 04/02 20 - better sanity-checking, re: /etc/modules.conf 21 22 02/15 23 - abort if Windows dir but no ms-sys or parted 24 25 02/08 26 - missing ramdisk/initrd support is nonfatal now (but stupid) 27 28 01/16 29 - added g_kernel_version and get_kernel_version() 30 31 01/08/2004 32 - fixed /boot mounter thingy 33 34 11/14/2003 35 - if <50MB free in /root, softlink /root/images/mindi to 36 /home/root/images/mindi as a workaround 37 38 10/23 39 - streaming backups now generate 4MB sets; CDs, 8MB sets 40 41 10/21 42 - better at finding your /boot in order to mount it, if nec. 43 - link /etc/modules.conf to /etc/conf.modules if former 44 is missing but latter is not 45 - changed "/mnt/cdrom" to MNT_CDROM 46 - changed "/mnt/floppy" to MNT_FLOPPY 47 48 10/13 49 - added stop_magicdev_if_necessary() 50 - added restart_magicdev_if_necessary() 51 52 10/02 53 - don't eject if bkpinfo->please_dont_eject is TRUE 54 55 09/28 56 - fixed segfault in mount_..._necessary 57 58 09/26 59 - ask for cmp (or create workaround if possible) 60 61 09/25 62 - add DVD support 63 64 09/24 65 - don't overwrite existing media-dev value in bkpinfo IF it's 66 a tape device AND it's already populated by /dev/{something} 67 ...This helps w/ weird tape drives 68 69 09/23 70 - malloc/free global strings in new subroutines - malloc_libmondo_global_strings() 71 and free_libmondo_global_strings() - which are in libmondo-tools.c 72 73 09/18 74 - added stop_autofs_if_necessary() and restart_autofs_if_necessary() 75 76 09/13 77 - added log_debug_msg() 78 - turned log_it() into a macro 79 80 09/10 81 - reduced PPCFG_RAMDISK to 150m (was 200m) 82 - max set size is now 8MB (was 6) 83 - added 'buffer' to requisite tools 84 85 08/29 86 - typical set size is now 5MB 87 88 07/22 89 - increased PPCFG* to 200m 90 91 05/07 92 - changed grep -m1 to grep | head -n1 for Debian users 93 - pre_param_...() also mkdir -p /mnt/cdrom, just in case 94 95 05/05 96 - cleaner logging of call to dd if=<tape> of=/dev/null 97 - added Joshua Oreman's FreeBSD patches 98 99 05/04 100 - added Herman Kuster's multi-level bkp patch 101 102 05/02 103 - log_it() --- "Message repeated N times" (if it was) 104 105 04/24 106 - added lots of assert()'s and log_OS_error()'s 107 - reset_bkpinfop() --- reset all media_size[] array 108 - increased tmpfs ramdisk to size=100m 109 110 04/22 111 - post_param_configuration() --- store iso-dev and isodir 112 113 04/05 114 - re-enable tmpfs ramdisk/mountpt _but_ make sure size=80m 115 - in post_param_configuration(), use cdrecord in preference 116 to dvdrecord now 117 118 03/27 119 - disabled tmpfs ramdisk/mountpt 120 121 01/02/2003 122 - bkpinfo->makefilelist = TRUE 123 124 12/10/2002 125 - added g_loglevel 126 - fixed minor bug in clean_up_KDE_desktop_if_necessary() 127 - log versions of newt, slang, ncurses 128 - isodir defaults to / if disaster recovery 129 130 11/28 131 - unmount all CD devices at start 132 - added clean_up_KDE_desktop_if_necessary() 133 134 11/20 135 - don't use lilo.conf.anaconda; abort instead 136 - mount/unmount /boot partition for Gentoo 1.2 users 137 138 11/13 139 - call mindi --makemountlist as part of testing sanity of distro 140 141 11/08 142 - added a couple of chmod 700's (one for scratchdir, one for tmpdir) 143 to post_param_configuration() 144 145 10/01 - 10/31 146 - added checking of / and /root's free space to some_basic_sanity_checks() 147 - moved some subroutines here from common/libmondo-archive 148 149 09/01 - 09/30 150 - don't write log_it()'s string to stdout, even if text mode 151 - tell user the kernel is bad if it has no ramdisk support but allow 152 it if they want to use the failsafe kernel for booting 153 - run_program_and_log_output() now takes boolean operator to specify 154 whether it will log its activities in the event of _success_ 155 - if mkfs.vfat not found but mkfs.msdos found then create a softlink 156 from the former to the latter 157 158 08/01 - 08/31 159 - if /etc/lilo.conf not found not /etc/lilo.conf.anaconda found 160 then create a softlink from the former to the latter, to work 161 around RH7.3's b0rken LILO support 162 - handle unknown media size 163 164 07/27 165 - created 1 /* $Id$ 2 misc tools 166 3 */ 167 168 4 169 5 /**
Note:
See TracChangeset
for help on using the changeset viewer.