o s/xfs/nnpfs/g
o attach orphan files dont nuke during salvage o bump pkgname
This commit is contained in:
parent
687f4b1fba
commit
130af088ca
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2009/06/25 01:09:15 jolan Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2009/09/07 04:34:54 todd Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= OpenAFS distributed filesystem
|
||||
|
||||
VERSION= 1.4.7
|
||||
DISTNAME= openafs-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p9
|
||||
PKGNAME= ${DISTNAME}p10
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
|
@ -45,6 +45,7 @@ Add the below to /etc/rc.local:
|
||||
vos listvol localhost -noauth 2> /dev/null| \
|
||||
awk '
|
||||
/ partition / { sub(":","",$9); part=$9; next; }
|
||||
/\?\?.* K Not attached/ { printf "%s %s\n",part,$2; }
|
||||
/R[OW].* K .*-line/ { printf "%s %s\n",part,$2; }'
|
||||
)
|
||||
|
||||
@ -61,7 +62,7 @@ Add the below to /etc/rc.local:
|
||||
let i=i+1
|
||||
vid=${volumes[$i]}
|
||||
let i=i+1
|
||||
bos salvage localhost $part $vid -localauth > /var/tmp/$vid.log 2>&1
|
||||
bos salvage localhost $part $vid -orphans attach -localauth > /var/tmp/$vid.log 2>&1
|
||||
done
|
||||
|
||||
echo -n ")"
|
||||
|
@ -633,7 +633,7 @@ retry bos restart localhost -all -cell $c -localauth
|
||||
|
||||
log starting afs client
|
||||
retry mkdir -p /afs
|
||||
[ "$(mount | egrep "^/afs")" ] || mount -t xfs /dev/xfs0 /afs
|
||||
[ "$(mount | egrep "^/afs")" ] || mount -t nnpfs /dev/nnpfs0 /afs
|
||||
retry /usr/libexec/afsd -z --log=/var/log/afsd.log
|
||||
|
||||
log authenticating $A
|
||||
|
Loading…
x
Reference in New Issue
Block a user