[1] | 1 | /*
|
---|
[128] | 2 | * $Id: libmondo-devices-EXT.h 3874 2024-03-07 18:23:09Z bruno $
|
---|
[1] | 3 | */
|
---|
| 4 |
|
---|
[128] | 5 | extern bool am_I_in_disaster_recovery_mode(void);
|
---|
| 6 | extern bool does_device_exist(char *device);
|
---|
| 7 | extern int does_partition_exist(const char *drive, int partno);
|
---|
| 8 | extern bool does_string_exist_in_boot_block(char *dev, char *str);
|
---|
[1647] | 9 | extern int find_and_mount_actual_cd(
|
---|
[128] | 10 | char *mountpoint);
|
---|
| 11 | extern int find_cdrom_device(char *output, bool try_to_mount);
|
---|
[3872] | 12 | extern char *find_dvd_device(void);
|
---|
[128] | 13 | extern long get_phys_size_of_drive(char *drive);
|
---|
| 14 | extern bool is_this_a_valid_disk_format(char *format);
|
---|
| 15 | extern bool is_this_device_mounted(char *device_raw);
|
---|
| 16 | extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
---|
| 17 | char *device);
|
---|
[3191] | 18 | extern int mount_CDROM_here(char *device, const char *mountpoint);
|
---|
[128] | 19 | extern long long size_of_specific_device_in_mountlist(struct
|
---|
| 20 | mountlist_itself
|
---|
| 21 | *mountlist,
|
---|
| 22 | char *device);
|
---|
| 23 | extern char *where_is_root_mounted(void);
|
---|
| 24 | extern char *make_vn(char *file);
|
---|
| 25 | extern int kick_vn(char *vn);
|
---|
| 26 | extern char which_boot_loader(char *which_device);
|
---|
[1] | 27 |
|
---|
[1647] | 28 | extern int interactively_obtain_media_parameters_from_user(bool);
|
---|
[1] | 29 |
|
---|
| 30 |
|
---|
[128] | 31 | extern void make_fifo(char *store_name_here, char *stub);
|
---|
[1] | 32 |
|
---|
| 33 |
|
---|
[1647] | 34 | extern void insist_on_this_cd_number(
|
---|
[128] | 35 | int cd_number_i_want);
|
---|
[1] | 36 |
|
---|
| 37 |
|
---|
[1647] | 38 | extern int what_number_cd_is_this();
|
---|
[1] | 39 |
|
---|
| 40 |
|
---|
[128] | 41 | extern int eject_device(char *);
|
---|
[1] | 42 |
|
---|
[2380] | 43 | extern char *list_of_NETFS_mounts_only(void);
|
---|
[1] | 44 |
|
---|
[128] | 45 | extern bool set_dev_to_this_if_rx_OK(char *, char *);
|
---|
[1] | 46 |
|
---|
| 47 | extern void retract_CD_tray_and_defeat_autorun(void);
|
---|
| 48 |
|
---|
[128] | 49 | extern bool does_string_exist_in_first_N_blocks(char *dev, char *str,
|
---|
| 50 | int n);
|
---|
[1] | 51 |
|
---|
[128] | 52 | extern int inject_device(char *dev);
|
---|
[1] | 53 | extern bool does_nonMS_partition_exist(void);
|
---|
[3191] | 54 | extern char *resolve_softlinks_to_get_to_actual_device_file(char *incoming);
|
---|
[1] | 55 |
|
---|
[1647] | 56 | extern void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
|
---|
[1] | 57 |
|
---|
| 58 | extern bool is_dev_an_NTFS_dev(char *bigfile_fname);
|
---|
| 59 |
|
---|
| 60 | extern char *which_partition_format(const char *drive);
|
---|