Mounting hfs volume under MacOS Catalina

I’m running MacOS X Catalina. To be able to connect to an HFS volume created by QEMU I tried sudo mount -t hfs qemuhdd.raw /tmp/os9vm I got the following error: GetMasterBlock: Error 25 getting block size GetMasterBlock: Error 25 getting block size mount_hfs: error on mount(): error = -1. mount_hfs: Block device required mount: /private/tmp/os9vm … Read more

Strange crontab behavior in OS X, why won’t mdfind work correctly?

osx 10.15.7 The short of it is that i have a shell script which invokes the mdfind command. When attempting to execute from cron, the script runs but no results are returned, despite the command and script working from terminal. Example of command in question: mdfind -onlyin ~/Desktop -literal ‘kMDItemFSLabel > 0’ EDIT: After more … Read more

Is there a way to check the difference (what did change) between two MacOS (Catalina) TimeMachine snapshots?

As per subject, suppose I have two consecutive TimeMachine local snapshots on my Mac: is there a way to e.g. mount both them and compare ? I.e. to know what files have been changed from the between the former and the latter snapshot ? Answer The tmutil command-line tool has a compare option that does … Read more

About bug in `ps -o sess=`?

On macOS why “ps” always shows session id as “0” I see that ps -o sess= -p “$$” can not show the session ID correctly. I have tested on Catalina. Where is the source code of ps on MacOSX? Does anybody know why this bug is not fixed after several years? Answer AttributionSource : Link … Read more

Catalina 10.15 removing Spotlight icon from menu bar went wrong

I’ve done csrutil disable and went into Terminal and put cd /System/Library/CoreServices sudo mv Search.bundle/ Search2.bundle/ I rebooted and it removed the Spotlight icon from the menu bar but I could no longer use command-R to open Spotlight. I tried undoing via sudo mv Search2.bundle/ Search.bundle/ but it returns mv: rename Search2.bundle/ to Search.bundle/: Read-only … Read more

MacOS Catalina Finder sidebar is hidden in restored tabs on system restart

When the Finder is restored with multiple tabs open – say after a system restart with reopen windows option, the sidebar is hidden. With ⌥⌘S or View > Show Sidebar, only the first tab shows the sidebar. On all the other restored tabs, it is hidden. The option to Show Sidebar is disabled on the … Read more

Issue with xQuartz on macOS Catalina 10.15.7

I’m getting following error when try to open application ‘gmsh’ remotely through SSH terminal. How can i fix it ? libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast XRequest.149: BadValue (integer parameter out of range for operation) 0x0 XRequest.149: GLXBadContext 0x0 XRequest.149: GLXBadContext 0x0 XRequest.149: BadMatch (invalid parameter … Read more

Eclipse 2019-06 IDE not running code in macOS Catalina 10.15 beta

So, I am currently learning Java and I use Eclipse as my IDE. Since upgrading to macOS Catalina 10.15, I’m unable to run any of my code. It simply shows this error in the console. 2019-07-20 11:33:49.298 java[2843:200186] NSSoftLinking – The function ‘SLSIsSuppressedByScreenTime’ can’t be found in the (null) framework. When I installed Catalina my … Read more