-static void
-read_mount_table ()
-{
- int isnative, issystem;
- root_dir = find_root_location (&issystem, &isnative);
- if (root_dir)
- {
- if (isnative)
- install_type = IDC_INSTALL_NATIVE;
- else
- install_type = IDC_INSTALL_CYGWIN;
-
- if (issystem)
- root_scope = IDC_ROOT_SYSTEM;
- else
- root_scope = IDC_ROOT_USER;
- root_dir_default = 0;
- }
- else
- {
- change_default_root (IDC_INSTALL_NATIVE);
- root_scope = (is_admin()) ? IDC_ROOT_SYSTEM : IDC_ROOT_USER;
- root_dir_default = 1;
- }
-}
-