From 21499786291db824f9745f4c0875eded9d44370d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 25 Nov 2004 12:07:44 +0000 Subject: - 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} --- perl-install/diskdrake/interactive.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/diskdrake/interactive.pm') 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' ... -- cgit v1.2.1