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

Last change on this file since 2816 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.9 KB
Line 
1/*
2 * $Id: libmondo-devices-EXT.h 2715 2011-02-02 12:18:23Z bruno $
3 */
4
5extern bool am_I_in_disaster_recovery_mode(void);
6extern bool does_device_exist(char *device);
7extern int does_partition_exist(const char *drive, int partno);
8extern bool does_string_exist_in_boot_block(char *dev, char *str);
9extern int find_and_mount_actual_cd(
10 char *mountpoint);
11extern char *find_cdrom_device(bool try_to_mount);
12extern char *find_dvd_device();
13extern long get_phys_size_of_drive(char *drive);
14extern bool is_this_a_valid_disk_format(char *format);
15extern bool is_this_device_mounted(char *device_raw);
16extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
17 char *device);
18extern int mount_CDROM_here(char *device, const char *mountpoint);
19extern long long size_of_specific_device_in_mountlist(struct
20 mountlist_itself
21 *mountlist,
22 char *device);
23extern char *where_is_root_mounted(void);
24extern char *make_vn(char *file);
25extern int kick_vn(char *vn);
26extern char which_boot_loader(char *which_device);
27
28
29
30extern char *find_cdrw_device();
31
32
33extern int interactively_obtain_media_parameters_from_user(bool);
34
35
36extern void make_fifo(char *store_name_here, char *stub);
37
38
39extern void insist_on_this_cd_number(
40 int cd_number_i_want);
41
42
43extern int what_number_cd_is_this();
44
45
46extern int eject_device(char *);
47
48extern char *list_of_NETFS_mounts_only(void);
49
50extern void sensibly_set_scratchdir();
51
52
53extern char *set_dev_to_this_if_rx_OK(char *);
54
55extern void retract_CD_tray_and_defeat_autorun(void);
56
57extern bool does_string_exist_in_first_N_blocks(char *dev, char *str,
58 int n);
59
60extern int inject_device(char *dev);
61extern bool does_nonMS_partition_exist(void);
62extern char *resolve_softlinks_to_get_to_actual_device_file(char *incoming);
63
64extern void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
65
66extern bool is_dev_an_NTFS_dev(char *bigfile_fname);
67
68extern char *which_partition_format(const char *drive);
Note: See TracBrowser for help on using the repository browser.