source: branches/3.0/mondo/src/common/libmondo-devices.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.5 KB
Line 
1/*
2 * $Id: libmondo-devices.h 3154 2013-06-22 22:34:33Z bruno $
3 */
4
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);
9int find_and_mount_actual_cd(char *mountpoint);
10int find_cdrom_device(char *output, bool try_to_mount);
11int find_dvd_device(char *output, bool try_to_mount);
12long get_phys_size_of_drive(char *drive);
13bool is_this_a_valid_disk_format(char *format);
14int mount_CDROM_here(char *device, char *mountpoint);
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);
22
23
24
25int find_cdrw_device(char *cdrw_device);
26
27int interactively_obtain_media_parameters_from_user(bool);
28
29
30
31void make_fifo(char *store_name_here, char *stub);
32
33void insist_on_this_cd_number(
34                              int cd_number_i_want);
35
36int what_number_cd_is_this();
37
38int eject_device(char *);
39
40char *list_of_NETFS_mounts_only();
41
42bool set_dev_to_this_if_rx_OK(char *output, char *dev);
43
44
45void retract_CD_tray_and_defeat_autorun(void);
46bool does_string_exist_in_first_N_blocks(char *dev, char *str, int n);
47
48int inject_device(char *dev);
49
50bool does_nonMS_partition_exist(void);
51char *resolve_softlinks_to_get_to_actual_device_file(char *incoming);
52void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
53
54bool is_dev_an_NTFS_dev(char *bigfile_fname);
55
56char *which_partition_format(const char *drive);
Note: See TracBrowser for help on using the repository browser.