FWIW, here's an excerpt from my /cfg/sysname/termrc which i use to
start an extra fossil. The disk is a large (10TB from memory) WD Elements
connected to one of the USB2 ports. I don't yet start the venti
automatically because i keep remaking it to try different
configurations, but it runs fine.


# If the big WD Elements is attached, make it available.
# Not sure this is the best thing to grep for.
if (grep -s 25A3 /dev/sdU0.0/ctl) {
        disk/partfs /dev/sdU0.0/data
        disk/fdisk -p /dev/sdXX/data > /dev/sdXX/ctl
        disk/prep -p /dev/sdXX/plan9 > /dev/sdXX/ctl
        fossil/fossil -f /dev/sdXX/fossil
        # pending: venti/venti -c /dev/sdXX/arenas
} &

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tc5dcd85d69518168-M056ecea764cfb32c59c223ea
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to