#
# By Chih-Wei Huang <cwhuang@linux.org.tw>
-# Last updated 2017/01/10
+# Last updated 2017/04/23
#
# License: GNU Public License
# We explicitely grant the right to use the scripts
if [ -b "/dev/$blk" ]; then
[ ! -e /dev/block/$blk ] && ln /dev/$blk /dev/block
mount -o noatime /dev/block/$blk data
+ elif [ "$DATA" = "9p" ]; then
+ modprobe 9pnet_virtio
+ mount -t 9p -o trans=virtio data data -oversion=9p2000.L,posixacl,cache=loose
else
remount_rw
mkdir -p /mnt/$SRC/$DATA