[PATCH v2 1/6] Add AFS support

David Howells dhowells at redhat.com
Wed Apr 26 13:32:40 PDT 2023


Zorro Lang <zlang at redhat.com> wrote:

> > The in-kernel afs fs takes a string in afs mountpoint format as its source.
> 
> So do we need to change the below line:
> 
>   echo $SCRATCH_DEV | grep -q "^%" > /dev/null 2>&1
> 
> to
> 
>   echo "$SCRATCH_DEV" | grep -q ^[%#] 
> 
> ?

I think we want to require '%' to force a RW volume.  xfstests probably won't
work on a RO or backup volume.

David




More information about the linux-afs mailing list