1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

bless: add more info link and fix examples (#5277)

This commit is contained in:
Axel Navarro 2021-03-08 16:08:37 -03:00 committed by GitHub
parent 71f68b3fc4
commit fbe706f00b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,20 @@
# bless # bless
> Set volume bootability and startup disk options. > Set volume bootability and startup disk options.
> More information: <https://ss64.com/osx/bless.html>.
- FOLDER MODE: bless a volume with only Mac OS X or Darwin, and create the BootX and boot.efi files as needed: - Bless a volume with only Mac OS X or Darwin, and create the BootX and `boot.efi` files as needed:
`bless --folder {{/Volumes/Mac OS X/System/Library/CoreServices}} --bootinfo --bootefi` `bless --folder "{{/Volumes/Mac OS X/System/Library/CoreServices}}" --bootinfo --bootefi`
- MOUNT MODE: set a volume containing either Mac OS 9 and Mac OS X to be the active volume: - Set a volume containing either Mac OS 9 and Mac OS X to be the active volume:
`bless --mount {{/Volumes/Mac OS}} --setBoot` `bless --mount "{{/Volumes/Mac OS}}" --setBoot`
- NETBOOT MODE: set the system to NetBoot and broadcast for an available server: - Set the system to NetBoot and broadcast for an available server:
`bless --netboot --server {{bsdp://255.255.255.255}}` `bless --netboot --server {{bsdp://255.255.255.255}}`
- INFO MODE: gather information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists: - Gather information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists:
`bless --info --plist` `bless --info --plist`