source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-devices.h@ 2715

Last change on this file since 2715 was 2715, checked in by Bruno Cornec, 13 years ago
  • Document in man page and HOWTO the previous syntax modifications for -E/-I options and '|' separator
  • Fix #444. mondoarchive now supports inclusion/exclusion of dirs with spaces in their name. this required a syntax change for the -E/-I options where the list of dirs needs to be separated by '|' now instead of ' '.
  • Fix issus with mindi when launched from a dir containing spaces
  • Fix a but when no -E option is give on CLI (null) string generated
  • Fix #459 by correcting an old README containing info on the edit-mountlist binary which doesn't exist.

svn merge -r 2709:2714 svn+ssh://bruno@svn.mondorescue.org/mondo/svn/mondorescue/branches/2.2.9 .

  • Property svn:keywords set to Id
File size: 1.5 KB
RevLine 
[1]1/*
[128]2 * $Id: libmondo-devices.h 2715 2011-02-02 12:18:23Z bruno $
[1]3 */
4
[128]5bool am_I_in_disaster_recovery_mode(void);
6bool does_device_exist(char *device);
7int does_partition_exist(const char *drive, int partno);
8bool does_string_exist_in_boot_block(char *dev, char *str);
[1647]9int find_and_mount_actual_cd(char *mountpoint);
[2325]10char *find_cdrom_device(bool try_to_mount);
11char *find_dvd_device();
[128]12long get_phys_size_of_drive(char *drive);
13bool is_this_a_valid_disk_format(char *format);
[2325]14int mount_CDROM_here(char *device, const char *mountpoint);
[128]15int find_device_in_mountlist(struct mountlist_itself *mountlist,
16 char *device);
17bool is_this_device_mounted(char *device_raw);
18char *where_is_root_mounted(void);
19char *make_vn(char *file);
20int kick_vn(char *vn);
21char which_boot_loader(char *which_device);
[1]22
23
24
[2325]25char *find_cdrw_device();
[1]26
[1647]27int interactively_obtain_media_parameters_from_user(bool);
[1]28
29
30
[128]31void make_fifo(char *store_name_here, char *stub);
[1]32
[1647]33void insist_on_this_cd_number(
[128]34 int cd_number_i_want);
[1]35
[1647]36int what_number_cd_is_this();
[1]37
[128]38int eject_device(char *);
[1]39
[2382]40char *list_of_NETFS_mounts_only();
[1]41
[2321]42void sensibly_set_scratchdir();
[1]43
44
[2325]45char *set_dev_to_this_if_rx_OK(char *dev);
[1]46
47
48void retract_CD_tray_and_defeat_autorun(void);
[128]49bool does_string_exist_in_first_N_blocks(char *dev, char *str, int n);
[1]50
[128]51int inject_device(char *dev);
[1]52
53bool does_nonMS_partition_exist(void);
[128]54char *resolve_softlinks_to_get_to_actual_device_file(char *incoming);
[1647]55void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
[1]56
57bool is_dev_an_NTFS_dev(char *bigfile_fname);
58
59char *which_partition_format(const char *drive);
Note: See TracBrowser for help on using the repository browser.