Blank and Burn ISO Freebsd
-
Locate the drive:
camcontrol devlist
Output:
<ST3500418AS CC35> at scbus3 target 0 lun 0 (pass0,ada0) <ATAPI iHAS324 A BL1A> at scbus4 target 0 lun 0 (pass3,cd0) <ST500DM002-1BD142 KC45> at scbus5 target 0 lun 0 (pass1,ada1) <AHCI SGPIO Enclosure 1.00 0001> at scbus9 target 0 lun 0 (ses0,pass2)
Where “<ATAPI iHAS324 A BL1A> at scbus4 target 0 lun 0 (pass3,cd0)” = our DVD drive
Blank the DVD+RW medium:
growisofs -Z /dev/cd0=/dev/zero
Output: Notice this disk contains a previously written .ISO
WARNING: /dev/cd0 already carries isofs! About to execute 'builtin_dd if=/dev/zero of=/dev/pass3 obs=32k seek=0' /dev/pass3: restarting DVD+RW format... /dev/pass3: "Current Write Speed" is 4.1x1352KBps. 3964928/4700372992 ( 0.1%) @0.9x, remaining 59:13 RBU 99.9% UBU 3.8% 22544384/4700372992 ( 0.5%) @4.0x, remaining 24:12 RBU 100.0% UBU 99.8% [................] 3048865792/4700372992 (64.9%) @4.0x, remaining 5:04 RBU 99.9% UBU 99.8% 3067445248/4700372992 (65.3%) @4.0x, remaining 5:01 RBU 100.0% UBU 99.8% [................] 3784048640/4700372992 (80.5%) @4.0x, remaining 2:48 RBU 99.9% UBU 99.8% 3802726400/4700372992 (80.9%) @4.0x, remaining 2:45 RBU 100.0% UBU 99.8% [................] 4370333696/4700372992 (93.0%) @4.0x, remaining 1:00 RBU 99.9% UBU 99.8% 4388945920/4700372992 (93.4%) @4.0x, remaining 0:57 RBU 99.9% UBU 99.8% [................]
Write the ISO:
growisofs -Z /dev/cd0 -J -R /home/rick/Downloads/ISO/FreeBSD/FreeBSD-11.1-RELEASE-amd64-dvd1.iso
Output
Executing 'mkisofs -J -R /home/rick/Downloads/ISO/FreeBSD/FreeBSD-11.1-RELEASE-amd64-dvd1.iso | builtin_dd of=/dev/pass3 obs=32k seek=0' 0.31% done, estimate finish Sun Feb 18 10:46:09 2018 0.61% done, estimate finish Sun Feb 18 10:46:09 2018 /dev/pass3: "Current Write Speed" is 4.1x1352KBps. 1.23% done, estimate finish Sun Feb 18 10:48:52 2018 1.53% done, estimate finish Sun Feb 18 10:50:30 2018 [.............] 37.92% done, estimate finish Sun Feb 18 10:56:15 2018 38.22% done, estimate finish Sun Feb 18 10:56:15 2018 [.............] 53.51% done, estimate finish Sun Feb 18 10:56:16 2018 53.82% done, estimate finish Sun Feb 18 10:56:16 2018 [.............] 74.61% done, estimate finish Sun Feb 18 10:56:17 2018 74.92% done, estimate finish Sun Feb 18 10:56:17 2018 [.............] 89.59% done, estimate finish Sun Feb 18 10:56:18 2018 89.90% done, estimate finish Sun Feb 18 10:56:18 2018 [.............] 99.99% done, estimate finish Sun Feb 18 10:56:19 2018 Total translation table size: 0 Total rockridge attributes bytes: 300 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 0 1635174 extents written (3193 MB) builtin_dd: 1635184*2KB out @ average 3.9x1352KBps /dev/pass3: flushing cache /dev/pass3: stopping de-icing /dev/pass3: writing lead-out
Fin!

screen and tmux
A comparison of the features (or more-so just a table of notes for accessing some of those features) for GNU screen and BSD-licensed tmux.
The formatting here is simple enough to understand (I would hope). ^ means ctrl+, so ^x is ctrl+x. M- means meta (generally left-alt or escape)+, so M-x is left-alt+x It should be noted that this is no where near a full feature-set of either group. This - being a cheat-sheet - is just to point out the most very basic features to get you on the road. Trust the developers and manpage writers more than me. This document is originally from 2009 when tmux was still new - since then both of these programs have had many updates and features added (not all of which have been dutifully noted here). |
||
Action | tmux | screen |
start a new session | tmux OR tmux new OR tmux new-session |
screen |
re-attach a detached session | tmux attach OR tmux attach-session |
screen-r |
re-attach an attached session (detaching it from elsewhere) | tmux attach -d OR tmux attach-session -d |
screen -dr |
re-attach an attached session (keeping it attached elsewhere) | tmux attach OR tmux attach-session |
screen -x |
detach from currently attached session | ^b d OR ^b :detach |
^a ^d OR ^a :detach |
rename-window to newname | ^b , <newname> OR ^b :rename-window <newn> |
^a A <newname> |
list windows | ^b w | ^a w |
list windows in chooseable menu | ^a " | |
go to window # | ^b # | ^a # |
go to last-active window | ^b l | ^a ^a |
go to next window | ^b n | ^a n |
go to previous window | ^b p | ^a p |
see keybindings | ^b ? | ^a ? |
list sessions | ^b s OR tmux ls OR tmux list-sessions |
screen -ls |
toggle visual bell | ^a ^g | |
create another window | ^b c | ^a c |
exit current shell/window | ^d | ^d |
split window/pane horizontally | ^b " | ^a S |
split window/pane vertically | ^b % | ^a | |
switch to other pane | ^b o | ^a <tab> |
kill the current pane | ^b x OR (logout/^D) | |
collapse the current pane/split (but leave processes running) | ^a X | |
cycle location of panes | ^b ^o | |
swap current pane with previous | ^b { | |
swap current pane with next | ^b } | |
show time | ^b t | |
show numeric values of panes | ^b q | |
toggle zoom-state of current pane (maximize/return current pane) | ^b z | |
break the current pane out of its window (to form new window) | ^b ! | |
re-arrange current panels within same window (different layouts) | ^b [space] | |
Kill the current window (and all panes within) | ^b killw [target-window] |