source: branches/3.0/mondo/src/common/libmondo-devices-EXT.h @ 3154

Last change on this file since 3154 was 3154, checked in by bruno, 6 years ago
  • Remove the introduction of LogProgress? in ListKernelModulePaths? which should stay quiet
  • Remove a remaining support of max-noof-media in confidure.in now gone.
  • Fix #640 by cleaning up fully the managemnt of tmpdir and scratchdir (one function for the creation, one point of removal at end, intermediate removal if needed, clean naming conventions, unify mkdtemp usage, remove sensibly_set_tmpdir_and_scratchdir function). Consequence is that default dir for scratchdir if nothing else specified is /tmp using CLI and the largest partition using the GUI.
  • Fix a bug introduced in process_the_s_switch with intermediate variables which weren't initialized correctly.
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1/*
2 * $Id: libmondo-devices-EXT.h 3154 2013-06-22 22:34:33Z 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 int find_cdrom_device(char *output, bool try_to_mount);
12extern int find_dvd_device(char *output, bool try_to_mount);
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, 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 int find_cdrw_device(char *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 bool set_dev_to_this_if_rx_OK(char *, char *);
51
52extern void retract_CD_tray_and_defeat_autorun(void);
53
54extern bool does_string_exist_in_first_N_blocks(char *dev, char *str,
55                                                int n);
56
57extern int inject_device(char *dev);
58extern bool does_nonMS_partition_exist(void);
59extern char *resolve_softlinks_to_get_to_actual_device_file(char
60                                                            *incoming);
61
62extern void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
63
64extern bool is_dev_an_NTFS_dev(char *bigfile_fname);
65
66extern char *which_partition_format(const char *drive);
Note: See TracBrowser for help on using the repository browser.