Skip to content

Instantly share code, notes, and snippets.

joe@joes-Mac openzfs % for i in {1..5}; do echo "$i..."; sudo zpool create foo disk0 && sudo chown joe /Volumes/foo && sleep 5 && touch /Volumes/foo/{a1.txt,a2.txt,a3.txt,a4.txt,a5.txt,a6.txt,a7.txt,a8.txt,a9.txt} && sudo zfs unmount foo && sudo zfs set com.apple.mimic=hfs foo && sudo zfs mount foo && sleep 15 && mdfind a1.txt && mdfind a2.txt && mdfind a3.txt && mdfind a4.txt && mdfind a5.txt && mdfind a6.txt && mdfind a7.txt && mdfind a8.txt && mdfind a9.txt && ls -i /Volumes/foo && sudo zpool destroy foo; done
1...
Volume foo on disk7s1 unmounted
224 a1.txt 226 a3.txt 228 a5.txt 230 a7.txt 232 a9.txt
225 a2.txt 227 a4.txt 229 a6.txt 231 a8.txt
Volume foo on disk7s1 unmounted
2...
Volume foo on disk7s1 unmounted
25 a1.txt 27 a3.txt 29 a5.txt 31 a7.txt 38 a9.txt
26 a2.txt 28 a4.txt 30 a6.txt 37 a8.txt
joe@joes-Mac openzfs % for i in {1..5}; do echo "$i..."; sudo zpool create foo disk0 && sudo chown joe /Volumes/foo && touch /Volumes/foo/{a1.txt,a2.txt,a3.txt,a4.txt,a5.txt,a6.txt,a7.txt,a8.txt,a9.txt} && sudo zfs unmount foo && sudo zfs set com.apple.mimic=hfs foo && sudo zfs mount foo && sleep 15 && mdfind a1.txt && mdfind a2.txt && mdfind a3.txt && mdfind a4.txt && mdfind a5.txt && mdfind a6.txt && mdfind a7.txt && mdfind a8.txt && mdfind a9.txt && ls -i /Volumes/foo && sudo zpool destroy foo; done
1...
Volume foo on disk7s1 unmounted
18446744073709551606 a1.txt 18446744073709551609 a4.txt 18446744073709551612 a7.txt
18446744073709551607 a2.txt 18446744073709551610 a5.txt 18446744073709551613 a8.txt
18446744073709551608 a3.txt 18446744073709551611 a6.txt 18446744073709551614 a9.txt
Volume foo on disk7s1 unmounted
2...
Volume foo on disk7s1 unmounted
/Volumes/foo/a1.txt
#!/bin/bash -x
sw_vers
zpool version
NUMSECTORS=1280000
mydev=`hdiutil attach -nomount ram://$NUMSECTORS`
sudo zpool create foo $mydev
sudo zfs snapshot foo@s1
sudo zfs create foo/bar
sudo zfs rollback foo@s1
Josephs-MacBook-Pro:~ joe$ next
Tue Aug 7 09:51:15 PDT 2018
Updated Homebrew from 9f370a3 to 15c62df.
Updated 1 tap (homebrew/core).
==> Updated Formulae
composer goenv kubectx phpunit sbt
Already up-to-date.
a2ps (guessed) : 4.14 ==> 4.14
Error: Unable to get versions for a52dec
Error: Unable to get versions for aacgain
a2ps
a52dec
aacgain
aalib
aamath
aap
aardvark_shell_utils
abcde
abcl
abcm2ps
aap
abook
advancemame
advancemenu
agedu
akka
allegro
amap
ampl-mp
angband
a2ps (guessed) : 4.14 ==> 4.14
Error: Unable to get versions for a52dec
Error: Unable to get versions for aacgain
Error: undefined method `[]' for nil:NilClass
Error: Unable to get versions for aamath
aap (guessed) : 1.094 ==> files
Error: Unable to get versions for aardvark_shell_utils
abcde (guessed) : 2.9.2 ==> 2.9.2
abcl : 1.5.0 ==> 1.5.0
abcm2ps (guessed) : 8.13.24 ==> 8.13.24
iMac-TMP:~ joe$ brew install -dvs cpprestsdk
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cpprestsdk.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/b
Started by upstream project "Homebrew Core Pull Requests" build number 28174
originally caused by:
GitHub pull request #30653 of commit e389bca219bd25ebc7552f42985c8667a8b908d5, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on el_capitan_stadium_1 (el_capitan macos) in workspace /Users/brew/Jenkins/workspace/Homebrew Core Pull Requests/version/el_capitan
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Homebrew/homebrew-core/ # timeout=10
Fetching upstream changes from https://github.com/Homebrew/homebrew-core/
> git --version # timeout=10
Process: httpd [90976]
Path: /usr/local/Cellar/httpd/2.4.34/bin/httpd
Identifier: httpd
Version: 0
Code Type: X86-64 (Native)
Parent Process: ruby [90962]
Responsible: httpd [90976]
User ID: 502
Date/Time: 2018-07-31 15:45:27.530 +0100