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
    
  
  
    
  | =============== | |
| Expand swapfile | |
| =============== | |
| # swapoff -a | |
| # dd if=/dev/zero of=/swapfile bs=1M count=<NEW-SZ-IN-MB> | |
| # chmod 0600 /swapfile | |
| # mkswap /swapfile | |
| # sudo swapon -a | 
  
    
      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
    
  
  
    
  | =============================== | |
| List modified files in a commit | |
| =============================== | |
| % git diff-tree --no-commit-id --name-only -r <REV> | |
| ====================================== | |
| Generate a patch for a specific commit | |
| ====================================== | |
| % git format-patch <REV> -1 | 
  
    
      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
    
  
  
    
  | rejohnst@robj-linux-ws:~/ws/mantav2/node-manta$ export MANTA_USER=muskie_test_user | |
| rejohnst@robj-linux-ws:~/ws/mantav2/node-manta$ make test | |
| test/integration/buckets-client-basic.test.js ....... 35/35 | |
| test/integration/buckets-client-condreq.test.js ..... 12/12 3s | |
| test/integration/buckets-client-validation.test.js .. 78/78 | |
| test/integration/client-mpu.test.js ................. 43/43 | |
| test/integration/client.test.js ..................... 75/79 | |
| Skipped: 4 | |
| ln this Manta does not support SnapLinks (mantav2) | |
| info (link) this Manta does not support SnapLinks (mantav2) | 
  
    
      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
    
  
  
    
  | rejohnst@robj-linux-ws:~/ws/mantav2/node-manta/bin$ git branch | |
| * buckets | |
| master | |
| $ LOG_LEVEL=trace ./mmpu commit 69407942-51b0-4593-8d4c-b4fcf55206d3 | |
| {"name":"mmpu","hostname":"robj-linux-ws","pid":27991,"component":"MantaClient","path":"/rejohnst/uploads/69407942-51b0-4593-8d4c-b4fcf55206d3","req_id":"42edb90f-9271-4614-923a-c1b9a1a4aed7","level":20,"msg":"_uploadURL: entered","time":"2020-04-03T20:49:10.373Z","v":0} | |
| {"name":"mmpu","hostname":"robj-linux-ws","pid":27991,"component":"MantaClient","level":10,"client_req":{"method":"HEAD","url":"/rejohnst/uploads/69407942-51b0-4593-8d4c-b4fcf55206d3","address":"172.26.20.164","port":null,"headers":{"accept":"*/*","x-request-id":"42edb90f-9271-4614-923a-c1b9a1a4aed7","date":"Fri, 03 Apr 2020 20:49:10 GMT","authorization":"Signature keyId=\"/rejohnst/keys/53:6d:34:e0:20:c7:b8:21:1b:58:f2:f5:69:52:9c:5a\",algorithm=\"rsa-sha256\",headers=\"date\",signature=\"En/7MdjkYBpURcIfUdVBh5/R43rdQLXSvYYMxBAgyR+oZMFkEuTMcwWMkUaErHFFdoJHs59ujEr25lDamC/ME1Vs3C8tULsXIs3Zkr8gR | 
  
    
      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
    
  
  
    
  | ======= | |
| Commits | |
| ======= | |
| commit 5b83194605bd809a032ea5cade033b2e2df80c5a (HEAD -> master) | |
| Author: Kody Kantor <kody.kantor@joyent.com> | |
| Date: Tue Feb 25 17:47:58 2020 -0800 | |
| 12331 Add SAS topology enumeration to libtopo | |
| Portions contributed by: Rob Johnston <rob.johnston@joyent.com> | 
  
    
      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
    
  
  
    
  | TRITON | |
| ------ | |
| Attempting to provision an instance via SAPI that uses an image who's minimum required | |
| platform version is greater than all of the available CNs results in the | |
| following less-than-helpful error message. | |
| { | |
| "code": "NoAllocatableServersError", | |
| "message": "No compute resources available" | |
| } | 
  
    
      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
    
  
  
    
  | Short Term To Do | |
| ---------------- | |
| Replace README template with manta-picker content [DONE] | |
| API polishing | |
| - Implement pagination for /poll response | |
| - MANTA-4644 | |
| - Version the API | |
| - will use header-based versioning | 
  
    
      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
    
  
  
    
  | ===================== | |
| Illumos fwflash notes | |
| ===================== | |
| main | |
| ---- | |
| - parse command line arguments | |
| - flash_load_plugin() | |
| - open each plugin in /usr/lib/fwflash/identity | 
  
    
      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
    
  
  
    
  | === | |
| FFI | |
| === | |
| cbindgen | |
| - automatically builds C header file from rust crate | |
| bindgen | |
| - automatically build rust bindings from C headers | |
| - requires libclang | |
| - can install clang pkg from pkgsrc | 
  
    
      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
    
  
  
    
  | =================== | |
| Illumos ioctl notes | |
| =================== | |
| ioctl | |
| ===== | |
| ioctl() | |
| | | |
| --> VOP_IOCTL() | |
| | | 
NewerOlder