Mailinglist Archive: opensuse-autoinstall (124 mails)
| < Previous | Next > |
"searching /etc/fstab" functionality from ay1 lost?
- From: Frank Steiner <fst@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Jan 2004 15:48:11 +0000 (UTC)
- Message-id: <400BFBB5.28D6B512@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi,
studying section 4.4 of the ay2-docu from SuSE 9.0, it seems that one
great functionality from autoyast1 is los in autoyast2:
In ay1 you could specify this:
AUTO_FDISK_DISK /dev/hda
FSTAB_SEARCH /dev/hda1 /dev/hda2 /dev/hda3
FSTAB_FORMAT / /boot
Behaviour would be: On a unpartitioned disk /dev/hda, partition it according
to the specification in some file (was in the descr directory).
If the disk is already partitioned, search for /etc/fstab in partition
1, 2 and 3. If no fstab was found, partition the whole drive according
to the specification. If fstab was found, just format the partitions that
were mounted as /boot and / according to this fstab.
Thus, for a partitioned drive, you could just let autoyast format some
partitions, without any knowledge about number, id, size etc. of this
partition, while a fresh hard disk would be partitionied automatically.
In autoyast2, it seems that I have to know the partition numbers of /boot
and /. This would make things very complicated for a large set of different
hosts, because you would need a different partitions instruction for
a lot of hosts.
Also I don't see how I can perform a "if partitions exist, only format some,
if partitions do not exist, create them" scenario in general, even if I
would specify the partition numbers etc. Would a combination of "<use>free</use>"
and "<create>no</create>" create any partitions on an empty hard disk..?
I will try some things like that...
Are there any known solutions to these problems?
cu,
Frank
--
Dipl.-Inform. Frank Steiner Mail: fst_at_bio.informatik.uni-muenchen.de
Lehrstuhl f. Bioinformatik Mail: frank_at_familiesteiner.de
LMU, Amalienstr. 17 Phone: +49 89 2180-4049, Fax: -4054
80333 Muenchen, Germany http://www.informatik.uni-kiel.de/~fst/
studying section 4.4 of the ay2-docu from SuSE 9.0, it seems that one
great functionality from autoyast1 is los in autoyast2:
In ay1 you could specify this:
AUTO_FDISK_DISK /dev/hda
FSTAB_SEARCH /dev/hda1 /dev/hda2 /dev/hda3
FSTAB_FORMAT / /boot
Behaviour would be: On a unpartitioned disk /dev/hda, partition it according
to the specification in some file (was in the descr directory).
If the disk is already partitioned, search for /etc/fstab in partition
1, 2 and 3. If no fstab was found, partition the whole drive according
to the specification. If fstab was found, just format the partitions that
were mounted as /boot and / according to this fstab.
Thus, for a partitioned drive, you could just let autoyast format some
partitions, without any knowledge about number, id, size etc. of this
partition, while a fresh hard disk would be partitionied automatically.
In autoyast2, it seems that I have to know the partition numbers of /boot
and /. This would make things very complicated for a large set of different
hosts, because you would need a different partitions instruction for
a lot of hosts.
Also I don't see how I can perform a "if partitions exist, only format some,
if partitions do not exist, create them" scenario in general, even if I
would specify the partition numbers etc. Would a combination of "<use>free</use>"
and "<create>no</create>" create any partitions on an empty hard disk..?
I will try some things like that...
Are there any known solutions to these problems?
cu,
Frank
--
Dipl.-Inform. Frank Steiner Mail: fst_at_bio.informatik.uni-muenchen.de
Lehrstuhl f. Bioinformatik Mail: frank_at_familiesteiner.de
LMU, Amalienstr. 17 Phone: +49 89 2180-4049, Fax: -4054
80333 Muenchen, Germany http://www.informatik.uni-kiel.de/~fst/
| < Previous | Next > |