Page MenuHomeFreeBSD

bsdinstall.8 tar command order of argument breakage

Authored by debdrup on Mar 23 2022, 8:22 PM.
Referenced Files
Unknown Object (File)
Sun, Jun 2, 8:13 AM
Unknown Object (File)
May 16 2024, 5:08 AM
Unknown Object (File)
May 13 2024, 8:11 AM
Unknown Object (File)
May 7 2024, 1:12 PM
Unknown Object (File)
May 6 2024, 5:41 AM
Unknown Object (File)
May 2 2024, 8:35 AM
Unknown Object (File)
Apr 27 2024, 1:45 AM
Unknown Object (File)
Apr 26 2024, 9:08 AM



The previous command was:

tar xvf -C release-media FreeBSD.iso

This order of arguments does not work because tar thinks the file is named -C, which does not exist and reports: tar: Error opening archive: Failed to open '-C'
Changing the command to:

tar -C release-media -xvf FreeBSD.iso
Test Plan

Test out both commands, notice that the first command fails.

Diff Detail

rG FreeBSD src repository
Lint Skipped
Tests Skipped

Event Timeline

Mistakenly tagged dteske@ after misreading MAINTAINERS.

debdrup added a subscriber: debdrup.

mdoc syntax hasn't really changed and .Dd has been bumped, so this can be commited and pushed.

This revision is now accepted and ready to land.Mar 23 2022, 8:48 PM
debdrup edited reviewers, added:; removed: debdrup.

Commandeering this now that @rpokala has approved it on IRC.