summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-25 12:07:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-25 12:07:44 +0000
commit21499786291db824f9745f4c0875eded9d44370d (patch)
treed05b38b64c55c268f78f7ee820f71fa8776f2447 /perl-install/diskdrake
parent07edf02d12388e941a375fe15769b706d18ff132 (diff)
downloaddrakx-backup-do-not-use-21499786291db824f9745f4c0875eded9d44370d.tar
drakx-backup-do-not-use-21499786291db824f9745f4c0875eded9d44370d.tar.gz
drakx-backup-do-not-use-21499786291db824f9745f4c0875eded9d44370d.tar.bz2
drakx-backup-do-not-use-21499786291db824f9745f4c0875eded9d44370d.tar.xz
drakx-backup-do-not-use-21499786291db824f9745f4c0875eded9d44370d.zip
- create analyze_wild_device_name() out of subpart_from_wild_device_name()
- rename part2device() into part2wild_device_name(), change its prototype and use analyze_wild_device_name() - new field {faked_device} - for LABEL=..., {device} is not empty anymore and {faked_device} is set, merge_fstabs() will take care of having the real {device} and {faked_device} unset - for devfs_device, {device} is set to the devfs device, merge_fstabs() will take care of having the non devfs device in {device}
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 2a440a4d4..9b28808e8 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -27,12 +27,15 @@ struct part {
int size # in sectors
int pt_type # 0x82, 0x83, 0x6 ...
string fs_type # 'ext2', 'nfs', ...
+
int part_number # 1 for hda1...
string device # 'hda5', 'sdc1' ...
string devfs_device # 'ide/host0/bus0/target0/lun0/part5', ...
string prefer_devfs_name # should the {devfs_device} or the {device} be used in fstab
string device_LABEL # volume label. LABEL=xxx can be used in fstab instead of
string prefer_device_LABEL # should the {device_LABEL} or the {device} be used in fstab
+ bool faked_device # false if {device} is a real device, true for nfs/smb/dav/none devices. If the field doesn't exist, we don't know
+
string rootDevice # 'sda', 'hdc' ... (can also be a VG_name)
string real_mntpoint # directly on real /, '/tmp/hdimage' ...
string mntpoint # '/', '/usr' ...