Apple’s man pages are useful because a popup menu near the top of the page lets you choose an OS X version, so if you need to see the man page for an older version of OS X, you can do so.
- Fix missing man pages for self-installed utilities, By creating your own alternative to man pages, you can avoid lots of unnecessary, comprehensive Linuxbrew – A Common Package Manager For Linux And Mac OS X. Once Linuxbrew installed, run the following command to install Um utility.
- The options specific to NFS filesystems are described in the mountnfs(8) manual page. The mount command calls the mount(2) system call to prepare and graft a special device or the remote node (rhost:path) on to the file system tree at the point node.
Set volume bootability and set the active boot volume.
bless has 5 modes of execution: Folder Mode, Mount Mode, Device Mode, NetBoot Mode, and Info Mode.
Bless predates SIP, APFS, and T2 Secure Boot. On modern Macs, bless should be used with great caution as it may render the Mac unbootable.
In macOS 10.11 and above, bless should not be used to try to set the startup disk as System Integrity Protection (SIP) is in place.
Instead use systemsetup -setstartupdisk
For a full description of all the bless options see man bless the options available for bless will vary according to the version of macOS you are running.
Examples
INFO MODE
Gather information about the currently selected volume (as determined by the firmware):
sudo bless --info
Gather plist information about the currently selected volume (as determined by the firmware), suitable for piping to a program capable of parsing Property Lists:
Macos Install Man Pages
sudo bless --info --plist
FOLDER MODE
To bless a volume with only Mac OS 9:
bless --folder9 '/Volumes/Mac OS 9/System Folder' --bootBlockFile '/usr/share/misc/bootblockdata'
Mac Os X Man Pages File
To bless a volume with only macOS or Darwin, and create the BootX and boot.efi files as needed:
bless --folder '/Volumes/Mac OS X/System/Library/CoreServices' --bootinfo --bootefi
MOUNT MODE
To set a volume containing either Mac OS 9 and macOS to be the active volume:
bless --mount '/Volumes/Mac OS' --setBoot
NETBOOT MODE
To set the system to NetBoot and broadcast for an available server:
bless --netboot --server bsdp://255.255.255.255
“If everything seems under control, then you're not going fast enough” - Mario Andretti
Related macOS commands:
asr - Apple Software Restore.
diskutil - Disk utilities - Format, Verify, Repair.
mount - Mount a file system.
newfs(8)
nvram(8)
systemsetup -setstartupdisk
HT204455 - How to set a firmware password on your Mac
Some rights reserved