Changeset 1928


Ignore:
Timestamp:
Apr 18, 2008, 3:14:36 PM (12 years ago)
Author:
bruno
Message:
Location:
branches/2.2.6
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mindi/deplist.txt

    r1927 r1928  
    4242fdisk hdparm parted uname
    4343loadkeys
    44 # This line require absolute paths now !
     44# These lines require absolute paths now !
    4545/bin/mount
    4646/sbin/mount.nfs /sbin/mount.nfs4
     
    4949/sbin/mount.smb /sbin/mount.smb3
    5050/sbin/mount.smbfs /sbin/mount.smbfs3
    51 devfsd burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart
    5251# helps for debugging
    5352/usr/bin/ldd
    5453/usr/bin/strace
     54
     55#
     56devfsd burnBX burnK6 burnK7 burnMMX burnP5 burnP6 lucifer tiobench tiotest bonnie++ mprime ide-smart
    5557
    5658# For udev
  • branches/2.2.6/mindi/mindi

    r1927 r1928  
    293293        incoming=`ReadLine`
    294294    done
    295 }
    296 
    297 
    298 CopyImageToDisk() {
    299     local image dev procno res comment
    300     image=$1
    301     dev=$2
    302     comment=$3
    303     [ ! -f "$image" ] && [ ! -b "$image" ] && Die "Image $image does not exist. Did you run out of disk space?"
    304     Prompt "About to write $comment. Please press ENTER."
    305     echo -en "Formatting disk..."
    306     if which fdformat > /dev/null ; then
    307         fdformat -n $dev > /dev/null 2> /dev/null || Die "Cannot format $dev - is your Linux distro broken?"
    308     elif which superformat > /dev/null ; then
    309         superformat $dev > /dev/null 2> /dev/null || Die "Cannot format $dev - is your Linux distro broken?"
    310     else
    311         Die "Please install either fdformat or superformat."
    312     fi
    313     echo -en "\nWriting $comment"
    314     if echo $image | grep "mindi-[r|b]oot\.1440" &> /dev/null ; then
    315         cat $image > $dev &
    316     else
    317         dd if=$image of=$dev &> /dev/null &
    318     fi
    319     procno=$!
    320     ps $procno > /dev/null 2> /dev/null
    321     while [ "$?" -eq "0" ] ; do
    322         sleep 3
    323         echo -en "."
    324         ps $procno > /dev/null 2> /dev/null
    325     done
    326     echo -e "$DONE"
    327     LogIt "$comment has been written."
    328295}
    329296
  • branches/2.2.6/mondo/src/common/my-stuff.h

    r1913 r1928  
    11/* my-stuff.h
    22   $Id$
    3 .
    4 
    5 
    6 07/14
    7 - ARCH_THREADS is now 2; buffers, 4
    8 
    9 07/10
    10 - added acl, xattr stuff
    11 
    12 06/19
    13 - added AUX_VER
    14 
    15 06/14
    16 - added DO_MBR_PLEASE
    17 
    18 04/17
    19 - replaced INTERNAL_TAPE_BLK_SIZE with g_internal_tape_block_size
    20   and DEFAULT_INTERNAL_TAPE_BLOCK_SIZE
    21 
    22 04/13
    23 - log_msg is now calling standard_log_debug_msg, not the alias (log_debug_msg)
    24 
    25 04/03/2004
    26 - added star and SELINUX support
    27 
    28 11/20/2003
    29 - boot from isolinux.bin, not mindi-boot.2880.img
    30 
    31 11/15
    32 - reduced SLICE_SIZE from 8192 to 4096
    33 
    34 10/08
    35 - set p-i-h volsize to 1GB
    36 
    37 10/21
    38 - added MNT_CDROM and FREELOADER
    39 
    40 10/11
    41 - added DEFAULT_DVD_DISK_SIZE
    42 - added PARTIMAGE_DEBUG_LEVEL
    43 
    44 09/27
    45 - better logging
    46 
    47 09/24
    48 - added MR_LOGFILE="/tmp/mondo-restore.log"
    49 
    50 09/22
    51 - added bool, FALSE, TRUE
    52 
    53 09/20
    54 - increasd PPCFG_RAMDISK_SIZE to 150
    55 
    56 09/12
    57 - reduced MAX_STR_LEN from 512 to 460
    58 
    59 09/10
    60 - moved PPCFG_RAMDISK_SIZE here
    61 
    62 09/05
    63 - better config.h stuff
    64 
    65 06/05
    66 - changed fgrep to grep
    67 
    68 05/19
    69 - added CP_BIN
    70 
    71 05/05
    72 - added #include <sys/param.h> and sys/sem.h and ioctl.h
    73 
    74 05/03
    75 - added kill_anything_like_this()
    76 
    77 04/24/2003
    78 - added *STUB #define's
    79 
    80 11/22/2002
    81 - added INTERNAL_TAPE_BLK_SIZE
    82 
    83 10/10
    84 - use #define to create XMondo-friendly log file name if appropriate
    85 
    86 08/30
    87 - changed ARBITRARY_MAXIMUM to 512
    88 
    89 08/26
    90 - set MAX_STR_LEN at 512 but halved it within many _structures_
    91 - changed ARBITRARY_MAXIMUM to 128
    92 
    93 08/08
    94 - added '#include <signal.h>'
    95 - added WELCOME_STRING
    96 
    97 06/19
    98 - changed tape block size from 8192 to 65536
    99 
    100 04/08
    101 - added manual_cd_tray flag to bkpinfo
    102 
    103 03/31
    104 - added restore_path to struct s_bkpinfo
    105 
    106 03/21
    107 - updated version# to 1.42
    108 
    109 02/20
    110 - added bkpinfo->using_cdstream
    111 
    112 02/06
    113 - added MONDO_VERSION
    114 
    115 02/02
    116 - added MONDO_CFG_FILE
    117 - added SLICE_SIZE
    118 
    119 01/31
    120 - removed MINDI_HOME: it is unnecessary
    121 - replaced MONDO_HOME with variable g_mondo_home
    122 
    123 01/25
    124 - added MONDO_HOME, MINDI_HOME
    125 
    126 01/21
    127 - added s_node{} structure
    128 
    129 01/17
    130 - added sys/shm.h, types.h, ipc.h
    131 
    132 01/02/2002
    133 - added that groovy bkpinfo{} stuff
    134 
    135 11/29/2001
    136 - added raidlist{} struct
    137 
    138 08/27
    139 - stuff
    1403*/
    1414
     
    343206 * @c mkisofs command to generate a bootable CD using LILO, except for -o option and the directory to image.
    344207 */
    345 // -b images/mindi-boot.2880.img
    346208#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#_"
    347209
     
    349211 * @c mkisofs command to generate a bootable CD using ELILO, except for -o option and the directory to image.
    350212 */
    351 // -b images/mindi-boot.2880.img
    352213// Should replace 8192 by IA64_BOOT_SIZE
    353214#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#_"
     
    365226/**
    366227 * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image.
    367      */// -b images/mindi-boot.2880.img
     228     */
    368229#define MONDO_GROWISOFS_REGULAR_ELILO     "growisofs -use-the-force-luke -no-emul-boot -b images/mindi-boot.2880.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    369230
    370231/**
    371232 * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image.
    372      */// -b images/mindi-boot.2880.img
     233     */
    373234#define MONDO_GROWISOFS_REGULAR_LILO     "growisofs -no-emul-boot -b isolinux.bin -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"
    374235
  • branches/2.2.6/mondo/src/mondorestore/mondo-rstr-tools.c

    r1913 r1928  
    23962396            }
    23972397        } else {
    2398             /* That boot imae doesn't always exist where the following method always works
    2399             log_msg(2,
    2400                     "gcffa --- looking at mounted CD for mindi-boot.2880.img");
    2401             sprintf(command,
    2402                     "mount " MNT_CDROM
    2403                     "/images/mindi-boot.2880.img -o loop %s", mountpt);
    2404             sprintf(mounted_cfgf_path, "%s/%s", mountpt, cfg_file);
    2405             if (!does_file_exist(mounted_cfgf_path)) {
    2406             */
    24072398                log_msg(2,
    24082399                        "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz");
Note: See TracChangeset for help on using the changeset viewer.