shithub: gefs

ref: 121accd306fec1870a6e06a04916bc938fa61118
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