Last active
April 28, 2025 09:55
-
-
Save kuangyujing/658e59c31c150d1869252adc598dabcd to your computer and use it in GitHub Desktop.
macOS SIP work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mount root partition | |
sudo /sbin/mount -o nobrowse -t apfs /dev/disk3s1 ~/mnt | |
# list all snapshot for disk | |
sudo /usr/sbin/diskutil ap listsnapshots disk3s1 | |
# remove old snapshot | |
sudo /usr/sbin/diskutil ap deletesnapshot disk3s1 -xid 21888539 | |
# create a new snapshot | |
sudo /usr/sbin/bless --folder . --bootefi --create-snapshot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment