Bug 23602 - part --asprimary
part --asprimary
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Depends On:
  Show dependency treegraph
Reported: 2001-01-08 12:40 EST by Jos Vos
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-06 15:39:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2001-01-08 12:40:55 EST
The --asprimary flag to the kickstart 'part' command does not accept a
parameter, unlike the --onprimary flag. But the Reference Guide mentions
the same syntax as --onprimary.
Comment 1 Anders Blomdell 2001-01-31 06:19:39 EST
In my opinion the documentation is right, but the implementation is wrong (I 

therfore suggest that this bug should be reassigned as an anaconda bug):

  Without the possibility to specifiy on what number a newly created partition  

  should have, this option is not very useful.

I'll try to find a good solution to what should be done, and post a followup.

Comment 2 Anders Blomdell 2001-01-31 07:34:04 EST
A workable fix seems to be:

--- O.kickstart.py      Wed Jan 31 12:06:14 2001

+++ kickstart.py        Wed Jan 31 12:06:57 2001

@@ -504,7 +504,7 @@

                                        'grow', 'onpart=', 'ondisk=',

                                         'bytes-per-inode=', 'usepart=',

                                         'onprimary=', 'active', 'type=',

-                                        'asprimary', 'noformat'])

+                                        'asprimary=', 'noformat'])


        for n in args:

            (str, arg) = n

@@ -528,6 +528,7 @@

                 active = 1

             elif str == "--asprimary":

                 primOnly = 1

+                partNum = int(arg)

             elif str == "--noformat":

                 format = 0


Comment 3 Tammy Fox 2001-02-02 17:54:59 EST
Reassigned to anaconda component and changed summary to exclude the word
Comment 4 Michael Fulbright 2001-02-06 15:39:26 EST
--asprimary does NOT take arguments. --onprimary does.

Note You need to log in before you can comment on or make changes to this bug.