Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.90 KB | None | 0 0
  1. root@gizmo:~ # cbsd bstart lindesk
  2. ...
  3. /usr/bin/lockf -s -t0 /tmp/bhyveload.lindesk.lock /usr/sbin/bhyve -c 1 -m 536870912 -H -A -s 0:0,hostbridge -s 6,virtio-9p,sharename=/tmp/share -s 1:0,ahci-cd,/usr/local/cbsd/upgrade/patch/efirefd.fd -s 2:0,virtio-blk,/usr/jails/jails-data/lindesk-data/dsk1.vhd,sectorsize=512 -s 3:0,ahci-cd,/usr/jails/src/iso/cbsd-iso-ubuntu-17.04-server-amd64.iso -s 4:0,virtio-net,tap2,mac=00:a0:98:6f:fc:be -s 5:0,virtio-rnd -s 7,fbuf,tcp=127.0.0.1:5900,w=1024,h=768,password=cbsd -s 30,xhci,tablet -s 31,lpc -l com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd lindesk
  4. ...
  5.  
  6. root@lindesk:~# mount |grep ^sharename
  7. sharename on /mnt type 9p (rw,relatime,sync,dirsync,trans=virtio)
  8.  
  9. root@lindesk:~# df -h |grep sharename
  10. sharename       2.0T   27M  2.0T   1% /mnt
  11.  
  12. root@lindesk:~# date > /mnt/date.txt
  13.  
  14. root@gizmo:~ # cat /tmp/share/date.txt
  15. Wed Sep 27 00:51:38 MSK 2017
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement