Changeset 1522 for branches/2.2.4


Ignore:
Timestamp:
Jun 29, 2007, 12:37:50 PM (12 years ago)
Author:
bruno
Message:

Size of DVD is 4482 (or more surely 4480 to avoid problems). Fixed everywhere.

Location:
branches/2.2.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mondo-doc/distributions/conf/mondorescue.conf

    r541 r1522  
    4040# Default size of media
    4141#
    42 # Use 4380 for DVDs, 650 or 700 for CDs
     42# Use 4480 for DVDs, 650 or 700 for CDs
    4343#
    44 media_size=4380
     44media_size=4480
    4545
    4646#
  • branches/2.2.4/mondo/distributions/conf/mondorescue.conf

    r541 r1522  
    4040# Default size of media
    4141#
    42 # Use 4380 for DVDs, 650 or 700 for CDs
     42# Use 4480 for DVDs, 650 or 700 for CDs
    4343#
    44 media_size=4380
     44media_size=4480
    4545
    4646#
  • branches/2.2.4/mondo/src/common/libmondo-devices.c

    r1512 r1522  
    18831883                find_dvd_device(bkpinfo->media_device, FALSE);
    18841884                strcpy(tmp, "1");
    1885                 sprintf(sz_size, "%d", DEFAULT_DVD_DISK_SIZE);  // 4.7 salesman's GB = 4.482 real GB = 4582 MB
     1885                sprintf(sz_size, "%d", DEFAULT_DVD_DISK_SIZE);  // 4.7 salesman's GB = 4.482 real GB = 4482 MB
    18861886                log_msg(1, "Setting to DVD defaults");
    18871887            } else {
  • branches/2.2.4/mondo/src/common/my-stuff.h

    r1497 r1522  
    515515#define log_msg(level, format, args...) log_debug_msg(level, __FILE__, __FUNCTION__, __LINE__, format, ## args)
    516516
    517 #define DEFAULT_DVD_DISK_SIZE 4380  ///< The default size (in MB) of a DVD disk, unless the user says otherwise.
     517#define DEFAULT_DVD_DISK_SIZE 4480  ///< The default size (in MB) of a DVD disk, unless the user says otherwise.
    518518
    519519#define DEFAULT_DEBUG_LEVEL 4   ///< By default, don't log messages with a loglevel higher than this.
Note: See TracChangeset for help on using the changeset viewer.