Is the sudo bless –mount command in macOS deprecated. If so, what is in use now

bootcommand linemountterminalunix

After installing some other operating system like Linux, I would use some version of the sudo bless --mount command like

$ sudo bless --mount /Volumes/EFI --setboot --file /System/Library/CoreServices/boot.efi

to make macOS the default boot system again.

While the command still works, I was wondering if the sudo bless --mount command has been deprecated like some articles say it has.

If it has, then what should I be using as a replacement command for making macOS the default boot method again?

Best Answer

No. There is nothing (that I could find) from Apple indicating that bless has been deprecated.

The two articles you posted:

are a blogger's opinion about what to use instead of bless and a thread in an Apple Discussion forum in which a random person is asking the same question; the articles are from July 15th, 2015 and November 8th 2016 respectively. Needless to say, they are woefully out of date.

This does serve as a opportunity, however to highlight an important factor: Apple won't deprecate something (especially as critical as bless) without notifying the public about it (i.e. in the release notes, updated man pages, etc.)

Why? Well, how would devs and sys admins be aware of the changes and begin planning their transitions?

Deprecation notifications will come from Apple, not random people opining on the Internet.