#83 Remove the documentation of the `|` feature from the `part` command
Merged 2 years ago by pbokoc. Opened 3 years ago by vponcova.
fedora-docs/ vponcova/install-guide master-remove_part_onpart_feature  into  master

@@ -959,16 +959,6 @@ 

  

  Never specify multipath devices by device names like `mpatha`. Device names such as this are not specific to a particular disk. The disk named `/dev/mpatha` during installation might not be the one that you expect it to be. Therefore, the [command]#clearpart# command could target the wrong disk.

  

- ====

- +

- Starting with Fedora 25, you can combine multiple ways of specifying storage targets in one command, using the pipe ("pass:attributes[{blank}]`|`pass:attributes[{blank}]") as a delimiter. For example:

- +

- ----

- part --onpart=sd*|hd*|vda,/dev/vdc

- ----

- +

- The above will match either of `sd*`, `hd*`, *or* `vda` *and* `/dev/vdc`. Variants are processed from left to right, and at least one of them must match for the command to succeed.

- 

  [option]#--asprimary#::  Forces the partition to be allocated as a *primary* partition. If the partition cannot be allocated as primary (usually due to too many primary partitions being already allocated), the partitioning process will fail. This option only makes sense when the disk uses a Master Boot Record (MBR); for GUID Partition Table (GPT)-labeled disks this option has no meaning. For information about primary (and extended) partitions, see xref:install/Installing_Using_Anaconda.adoc#sect-installation-gui-manual-partitioning-recommended[Recommended Partitioning Scheme].

  

  [option]#--fsprofile=#::  Specifies a _usage type_ to be passed to the program that makes a filesystem on this partition. A usage type defines a variety of tuning parameters to be used when making a filesystem. For this option to work, the filesystem must support the concept of usage types and there must be a configuration file that lists valid types. For `ext2`, `ext3`, `ext4`, this configuration file is `/etc/mke2fs.conf`.

This feature is supported only by the ignoredisk and clearpart kickstart
commands. It was never supported by the part command.

This would be probably good to remove from all branches. Should I create a pull request for every one?

Thanks Vendy for this PR!

It's shouldn't be part of this PR but I would like to ask if you don't want to instead just point to the upstream documentation instead of having list of the kickstart commands. It's harder to keep them up to date and I don't think there is much a benefit.

rebased onto d9b4de2

2 years ago

@vponcova Thanks for the PR! No need to create multiple ones, I'll cherry-pick your changes to f34 and f33. (I don't really want to update the older versions since we only keep the latest two accessible from the front page anyway.)

@jkonecny Yeah, I'll replace the section with a link to readthedocs eventually :)

Pull-Request has been merged by pbokoc

2 years ago