Skip to content

Instantly share code, notes, and snippets.

@churnd
churnd / upsource.conf
Created July 22, 2016 13:25
upsource upstart script
# upsource startup
description "upsource"
start on filesystem
stop on runlevel [06]
expect fork
respawn
$ sudo kextstat|grep lund
118 1 0xffffff7f80a7b000 0x3f8 0x3f8 net.lundman.kernel.dependencies.25 (12.5.0) 677C6A8F-599C-40AD-BBA1-EFEB6599D32B
119 0 0xffffff7f80a7c000 0x51000 0x51000 net.lundman.spl (1.5.2) 270A6F0A-C32A-3592-B58E-0905804250A9 <118 7 5 4 3 1>
$ sudo launchctl list | grep open
49 0 org.openzfsonosx.zconfigd
51 0 org.openzfsonosx.InvariantDisks
- 0 org.openzfsonosx.zpool-import-all
- 0 com.openssh.sshd
77 0 com.apple.opendirectoryd
ls -l /Library/LaunchDaemons/ | grep open
-rw-r--r-- 1 root wheel 415B Apr 29 03:34 org.openzfsonosx.InvariantDisks.plist
-rw-r--r-- 1 root wheel 591B Apr 29 03:34 org.openzfsonosx.zconfigd.plist
-rw-r--r-- 1 root wheel 595B Apr 29 03:34 org.openzfsonosx.zed.plist
-rw-r--r-- 1 root wheel 613B Apr 29 03:34 org.openzfsonosx.zpool-import-all.plist
$ ls -l /Library/Extensions|grep z
drwxr-xr-x 3 root wheel 102B Apr 29 03:34 zfs.kext
$ ls -l /System/Library/Extensions|grep z
drwxr-xr-x@ 3 root wheel 102B Nov 19 2015 AMDMTLBronzeDriver.bundle
drwxr-xr-x@ 3 root wheel 102B Nov 19 2015 AppleIntelFramebufferAzul.kext
$ ls -l /dev/| grep z
crw-rw-rw- 1 root wheel 3, 3 Jul 16 11:34 zero
crw-rw-rw- 1 root wheel 19, 37 Jul 16 11:34 zfs
# vmadm halt <uuid>
# zonecfg -z <uuid>
zonecfg:uuid> add dataset
zonecfg:uuid:dataset> set name=tank
zonecfg:uuid:dataset> end
zonecfg:uuid> commit
zonecfg:uuid> exit
# zfs set mountpoint=legacy tank
# vmadm boot <uuid>
@churnd
churnd / afpd.conf
Created May 10, 2014 20:30
afpd.conf
;
; Netatalk 3.x configuration file
;
[Global]
; Global server settings
log file = /var/log/netatalk.log
uam list = uams_dhx.so,uams_dhx2.so
save password = no
aclinherit = passthrough
@churnd
churnd / .vimrc
Created April 18, 2014 15:32
.vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
filetype plugin on
filetype indent on