shithub: gefs

ref: 9e59da5b58cd2a31589ca738cb301ef7fad89937
dir: /test/mkgefs.rc/

View raw version
#!/bin/rc

@{cd .. && mk all}
../6.out -r -f $1
../6.out -n gefs.test -A -m 1024 -f $1

echo perm off >> /srv/gefs.test.cmd
mount -c /srv/gefs.test /n/gefs.adm adm
echo '-1:adm::glenda,'$user'
0:none::
1:tor:tor:
2:glenda:glenda:
3:'$user':'$user':
10000:sys::' > /n/gefs.adm/users
echo perm on >> /srv/gefs.test.cmd
echo sync >> /srv/gefs.test.cmd
sleep 1
echo users >> /srv/gefs.test.cmd

mount -c /srv/gefs.test /n/gefs