diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-30 12:58:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-30 12:58:11 +0000 |
commit | 5ed323fc9a6c7e36a81242fa4a104ba3ea514339 (patch) | |
tree | e6a50fe6deecc79642045ee3b602c29d86f019df /perl-install/fsedit.pm | |
parent | 3d79e422764401cf0d18a86bdf2679511119cdbc (diff) | |
download | drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.gz drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.bz2 drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.tar.xz drakx-backup-do-not-use-5ed323fc9a6c7e36a81242fa4a104ba3ea514339.zip |
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 5269ea25e..ad73e45c8 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -128,6 +128,10 @@ sub add($$$) { ($part->{mntpoint} = 'swap') : check_mntpoint($part->{mntpoint}, $hds); + $part->{mntpoint} eq '/boot' && + $part->{start} + $part->{size} >= 1024 * partition_table::cylinder_size($hd) and + die "/boot on cylinder > 1024"; + partition_table::add($hd, $part); } |