Browse Source

start-u9fs.sh: enable protocol debug with `export U9FS_LOGGING=enable`

master
Giacomo Tesio 9 months ago
parent
commit
cb38e778ee
  1. 7
      bin/start-u9fs.sh

7
bin/start-u9fs.sh

@ -1,3 +1,8 @@
#!/bin/sh
# U9FS_LOG="-l $JEHANNE/hacking/lib/u9fs.log -z -D"
if [ "$U9FS_LOGGING" = "enable" ]; then
LOGFILE=$JEHANNE/hacking/lib/u9fs.log
date > $LOGFILE
echo Starting U9FS >> $LOGFILE
U9FS_LOG="-l $LOGFILE -z -D"
fi
$JEHANNE/hacking/bin/u9fs $U9FS_LOG -a none -u $USER $JEHANNE
Loading…
Cancel
Save