1 --- etc/rc.d/zfs 2010-01-25 06:27:11.000000000 +0000
2 +++ etc/rc.d/zfs 2009-04-12 16:59:35.000000000 +0000
7 + # If root is read-only, mount a tmpfs on /zfs to provide
8 + # a writable mountpoint, if not already
9 + if [ -d /zfs ] && mount | grep ' on / ' | grep -q 'read-only' && \
10 + ! mount | grep -q ' on /zfs (tmpfs'
12 + mount -t tmpfs -o size=65536 tmpfs /zfs
17 if [ ! -r /etc/zfs/exports ]; then
23 + # If /zfs is a tmpfs, unmount it
24 + if mount | grep -q ' on /zfs (tmpfs'