Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The macOS User Administration Guide

You're reading from   The macOS User Administration Guide A practical guide to implementing, managing, and optimizing macOS Big Sur features and tools

Arrow left icon
Product type Paperback
Published in Apr 2021
Publisher Packt
ISBN-13 9781838643652
Length 804 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Herta Nava Herta Nava
Author Profile Icon Herta Nava
Herta Nava
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Overview of the macOS System, Architecture, and Features 2. Installing and Configuring macOS FREE CHAPTER 3. The Start Up Process 4. User Accounts Management 5. Managing User Security and Privacy 6. The macOS File System: Disks, Volumes, and Partitions 7. Understanding Ownership and Permissions 8. System Resources and Shortcuts 9. Understanding Metadata and Searching 10. Managing Apps and Documents 11. Backups and Archiving 12. Networking in macOS 13. Using macOS Network Services 14. Using macOS Sharing Services 15. Managing Security in macOS 16. Using the Command Line 17. Troubleshooting Tips 18. About Packt

Monitoring and diagnosing the system

There are useful commands you can use in Terminal to verify and repair the startup volume. fsck is a common UNIX command that's used for system checks and repairs. It is the equivalent of First Aid in the Disk Utility tool. For APFS volumes, you could also use the fsck_apfs command.

To use this command, you need to restart your computer in single-user mode so that the system disk is unmounted. You can review how to enter single-user mode by rereading Chapter 3, The Startup Process.

Through the use of flags, you can perform extra actions. For example, the -f flag forces journaled filesystems to be verified, such as HFS, while the -y flag answers with "Yes" to any prompts fsck might encounter, so use it with caution. In the case of APFS volumes, you can use the -n flag to verify without performing any repairs.

For example, once you are in single-user mode or you are sure your system disk is unmounted, you could run the following command...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime