tipso: do not use the /lib/init/rw tmpfs - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 08d52f6c8fbe6fde72f234e5cb15ae84b68bf2a8
(DIR) parent 995e570976b02ba08f2fc1093a7127ea2acbaff2
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Thu, 30 Apr 2009 07:27:52 -0700
ipso: do not use the /lib/init/rw tmpfs
Diffstat:
M bin/ipso | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/ipso b/bin/ipso
t@@ -78,7 +78,7 @@ if(~ $get aesget && ~ $#* 0){
user=`{whoami}
cd /tmp || exit $status
-tmp=`{df | awk '$1=="tmpfs" {print $NF}'}
+tmp=`{df | grep -v /lib/init | awk '$1=="tmpfs" {print $NF}'}
if(! ~ $#tmp 0)
cd $tmp(1) || exit $status
mkdir -p ipso.$user