Changeset 1594 in MondoRescue for branches/stable/mondo/src/include/my-stuff.h


Ignore:
Timestamp:
Aug 26, 2007, 12:26:06 PM (17 years ago)
Author:
Bruno Cornec
Message:

Use of conf file entries (iso_burning_*, media_device, media_size)
and adapatation of the rest of the code to that (including bkpinfo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/my-stuff.h

    r1592 r1594  
    238238#define MNT_RESTORING "/mnt/RESTORING"
    239239
    240 /** @def VANILLA_SCSI_CDROM The first SCSI CD-ROM in the system (most likely to be the one to write to). */
    241240/** @def VANILLA_SCSI_TAPE  The SCSI tape radical on the system (most likely to be the one towrite to. */
    242241/** @def DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE A string whose presence in a device name indicates the
     
    248247/** @def CP_BIN The GNU @c cp binary to use. */
    249248#ifdef __FreeBSD__
    250 #define VANILLA_SCSI_CDROM  "/dev/cd0"
    251249#define VANILLA_SCSI_TAPE   "/dev/sa"
    252 #define VANILLA_USB_DEVICE  "/dev/tobegivenbyfreebsdguru"
    253250#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/vinum/"
    254251#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
     
    258255#define CP_BIN      "gcp"
    259256#else
    260 #define VANILLA_SCSI_CDROM  "/dev/scd0"
    261257#define VANILLA_SCSI_TAPE   "/dev/st0"
    262 #define VANILLA_USB_DEVICE  "/dev/sda"
    263258#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/md"
    264259#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
     
    299294#define log_it(format, args...) mr_msg(2, format, ## args)
    300295
    301 #define DEFAULT_DVD_DISK_SIZE 4480  ///< The default size (in MB) of a DVD disk, unless the user says otherwise.
    302 
    303296#define DEFAULT_DEBUG_LEVEL 4   ///< By default, don't log messages with a loglevel higher than this.
     297#define DEFAULT_MR_LOGLEVEL 4
    304298
    305299#define SZ_NTFSPROG_VOLSIZE "1048576"   // was 4096
     
    309303#define MNT_FLOPPY "/mnt/floppy"
    310304
    311 #define DEFAULT_MR_LOGLEVEL 4
    312 
    313305#endif                          /* _MY_STUFF_H_ */
Note: See TracChangeset for help on using the changeset viewer.