source: branches/2.04_berlios/mondo/mondo/common/libmondo-devices-EXT.h @ 2708

Last change on this file since 2708 was 2708, checked in by bruno, 8 years ago

r4184@localhost: bruno | 2011-01-27 15:52:51 +0100

  • Adds support for hpsa driver (new HP Smart Array driver)
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1/*
2 * $Id: libmondo-devices-EXT.h 2708 2011-01-27 18:31:44Z 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 (struct s_bkpinfo *bkpinfo, char *mountpoint);
10extern int find_cdrom_device (char *output, bool try_to_mount);
11extern int find_dvd_device (char *output, bool try_to_mount);
12extern long get_phys_size_of_drive (char *drive);
13extern bool is_this_a_valid_disk_format (char *format);
14extern bool is_this_device_mounted (char *device_raw);
15extern int find_device_in_mountlist (struct mountlist_itself *mountlist, char *device);
16extern int mount_CDROM_here (char *device, char *mountpoint);
17extern long long size_of_specific_device_in_mountlist (struct mountlist_itself *mountlist, char *device);
18extern char *where_is_root_mounted (void);
19extern char *make_vn (char *file);
20extern int kick_vn (char *vn);
21extern char which_boot_loader (char *which_device);
22
23
24
25extern int find_cdrw_device (char *cdrw_device);
26
27
28extern int interactively_obtain_media_parameters_from_user(struct s_bkpinfo *, bool);
29
30
31extern void make_fifo(char*store_name_here, char*stub);
32
33
34extern void insist_on_this_cd_number (struct s_bkpinfo* bkpinfo, int cd_number_i_want);
35
36
37extern int what_number_cd_is_this(struct s_bkpinfo *bkpinfo);
38
39
40extern int eject_device(char*);
41
42extern char *list_of_NFS_devices_and_mounts();
43extern char *list_of_NFS_mounts_only(void);
44
45extern void sensibly_set_tmpdir_and_scratchdir(struct s_bkpinfo *bkpinfo);
46
47
48extern bool set_dev_to_this_if_rx_OK(char*,char*);
49
50extern void retract_CD_tray_and_defeat_autorun(void);
51
52extern bool does_string_exist_in_first_N_blocks (char *dev, char *str, int n);
53
54extern int inject_device(char*dev);
55extern bool does_nonMS_partition_exist(void);
56extern char *resolve_softlinks_to_get_to_actual_device_file(char*incoming);
57
58extern void set_g_cdrom_and_g_dvd_to_bkpinfo_value(struct s_bkpinfo*bkpinfo);
59
60extern bool is_dev_an_NTFS_dev(char *bigfile_fname);
61
62extern char *which_partition_format(const char *drive);
63
Note: See TracBrowser for help on using the repository browser.