Questions tagged [darwin]

Darwin is the open source POSIX/UNIX operating system on which OSX is built

Filter by
Sorted by
Tagged with
3
votes
1answer
28 views

stat command not respecting time format options (High Sierra 10.13.6)

My goal is to retrieve the birth time of a file formatted to "2019-07-03" so I'm using the following which yields the following epoch time instead of the specific date format I requested: $ stat -f "%...
0
votes
1answer
61 views

Building webkit2-gtk with macports, errors sys/types not found

Trying to build webkit2 with macports, I get :info:build /usr/bin/cc -c -I/opt/local/include -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -pipe -Os -isysroot/Applications/Xcode.app/Contents/...
2
votes
2answers
2k views

Does macOS have a command to retrieve detailed CPU information like /proc/cpuinfo on Linux? [duplicate]

Linux has a command to retrieve detailed CPU information using cat /proc/cpuinfo. Using this command, users can get CPU and CPU's core information like below. processor : 0 vendor_id : ...
0
votes
0answers
130 views

Unable to login to older Mac with FileVault

This post concerns an Apple iBook G4 running Mac OS X 10.4.11 -- a PowerPC machine. The machine uses the original version of FileVault ("Legacy FileVault") to encrypt (parts of) the user's home ...
0
votes
1answer
89 views

What is the purpose of speculative memory?

Recently, I've found out that Darwin has speculative memory metric. But, I don't know what the purpose of speculative memory. The memory metric can be checked using vm_stat command on terminal. Mach ...
7
votes
0answers
349 views

Fake ethernet interfaces (feth / if_fake)? Anyone ever seen this?

I've been digging into Darwin source to try to find some way to create virtual Ethernet interfaces on Mac/Darwin without adding a kernel extension like tuntaposx. In doing so I've found something ...
2
votes
1answer
351 views

Can't get past login screen

I have a Mac that I bought from work during a hardware refresh, which was previously joined to a domain. Booted using cmd-R and reset the Admin password. Logged in, started deleting the old work ...
2
votes
1answer
64 views

extract by terminal the Darwin version

I want to know how extract by terminal the Darwin version. https://en.wikipedia.org/wiki/MacOS_Sierra#Releases For macOS Sierra 10.12.3 is 16.4.0 for 10.12.6 is 16.7.0. Now, I want to create: --...
1
vote
1answer
79 views

Is /usr/local a per user folder?

Is /usr/local a per user folder? homebrew says /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib/pkgconfig This can happen if you "sudo make install" software that isn't managed by ...
2
votes
1answer
651 views

What is the correct ownership for subdirectories in /usr/local

After a few reckless uses of chomod (and some history I don't recall, apparently) I currently have the following ownership in my /usr/local: drwxr-xr-x 13 Rax admin Caskroom/ drwxr-xr-x 87 ...
2
votes
0answers
361 views

Kernel Extension Not Loaded

I built a self-made kernel extension (named KAuthTest.kext) and would like to test it out. So in a VM running macOS 10.12.3, I did the followings: disable SIP by running csrutil disable in recovery ...
1
vote
1answer
742 views

df hide ifree, iused, 512 blocks (customize column format, don't show inode info)

My default df invocation prints way too much information for my needs. I can't find a way to hide this in the man page. It says use the -i flag to include it. But when I execute /usr/local/bin/df I ...
7
votes
1answer
3k views

How do I install sudo insults on Mac?

How do I install sudo insults† on Mac terminal? Apparently Apple has cleaned it up from Darwin, so adding Defaults insults through sudo visudo does not help. † The insulting things sudo command says ...
8
votes
1answer
5k views

Is there a `watch` command native to Darwin/OS X?

I have a script that I'm trying to port from Linux to Darwin/OS X. The Linux version currently depends on the watch command, which doesn't appear to be installed on Darwin/OS X by default. What's the ...
2
votes
2answers
250 views

What is the most OSX or Darwin-like command-line experience available (without buying an expensive Mac or hauling my production machines home)?

I want to emulate the command-line experience from OSX with a small netbook and practice my skills with the comfort of this small machine. Surely Apple offers actual Darwin Links for developers or ...
1
vote
1answer
94 views

DIY patching of OS X system binaries?

So since nobody on Apple.SE, Unix.SE or other sites was able to help me with my little WWAN problem, I've taken a look at the configd source and I was wondering... suppose I'd want to give patching ...
0
votes
1answer
130 views

System Integrity Protection — Is it implemented in Darwin? Or is it OS X only?

The question should be clear from the title. If System Integrity Protection, aka Rootless, is part of Darwin, then I might be interested in inspecting how it is implemented. I would be grateful if ...
1
vote
2answers
2k views

Where are g++ stl libraries in Darwin

I am trying to understand how some of the data structures are designed in stl. In ubuntu, I usually open the .h and .cpp files from /usr/local/include but in Darwin (kernel version 14.3.0) I am lost, ...
1
vote
0answers
402 views

updating two identical machines results in two different Darwin kernel versions reported

I have two identical Mac Minis and I updated each with all available updates. This caused both machines to go from OS X 10.9.2 to OS X 10.9.4. However, uname -a reports different kernel versions for ...
2
votes
1answer
18k views

How to download and install Darwin 13 OS in x86?

I've conducted a research on UNIX operating systems and found out that an experimental OS (Darwin) is used for development of the OSX; just like Fedora on Red Hat Enterprise Linux. Darwin OS has a ...
4
votes
4answers
3k views

Run GUI Applications from Terminal with root privilege

So it has been well documented that GUI applications (like gedit or textedit) should NOT be run with sudo. Ubuntu et al get gksu and gksudo (and the like) so question: what do WE (Mac users) get? ...
5
votes
1answer
4k views

Why is 'xattr' not working?

When I attempt to execute xattr in Terminal, I get Traceback (most recent call last): File "/usr/bin/xattr-2.7", line 33, in <module> import xattr ImportError: No module named xattr What'...
4
votes
1answer
1k views

How do I install Darwin 13 on OS X 10.9.1?

I've recently bought a MacBook with OS X 10.9 and I've just updated it to 10.9.1 (x86_64-apple-darwin10.8.0 64-bit). I'd like to install the version 13 of Darwin. I've done everything proposed by ...
2
votes
2answers
4k views

What are 'com.apple.access_ssh' and 'com.apple.access_screensharing'; can I delete them?

When I examine the list of users and groups on my machine (OSX 10.9) with id I get: uid=501(Rax) gid=20(staff) groups=20(staff) 103(Rax), 12(everyone), 61(localaccounts), ...
6
votes
2answers
24k views

How to install and use The open source Darwin OS

Is it possible to install and use the Darwin OS from Apples open source download area, and if so on what hardware would I need? I'm not even sure if the OS is complete, all I can tell is there are a ...