On 9/22/16 11:25 PM, Eryu Guan wrote: >> @@ -210,16 +226,23 @@ _qmount_option() >> > -e 's/gquota/QUOTA/g' \ >> > -e 's/grpquota/QUOTA/g' \ >> > -e 's/pquota/QUOTA/g' \ >> > - -e 's/prjquota/QUOTA/g' \ >> > + -e 's/prjquota/QUOTA/g' \ >> > -e 's/quota/QUOTA/g' \ >> > -e 's/uqnoenforce/QUOTA/g' \ >> > -e 's/gqnoenforce/QUOTA/g' \ >> > -e 's/pqnoenforce/QUOTA/g' \ >> > -e 's/qnoenforce/QUOTA/g' \ >> > - -e "s/QUOTA/$1/g"` >> > + -e "s/QUOTA/$OPTS/g"` >> > >> > + # ext4 doesn't _do_ "-o pquota/prjquota" because reasons >> > + # Switch it to "quota" to enable mkfs-time pquota >> > + if [ "$FSTYP" == "ext4" ]; then >> > + OPTS=`echo $OPTS \ >> > + | sed -e 's/pquota/quota/g' \ >> > + -e 's/prjquota/quota/g'` >> > + fi > This replaces "grpquota" to "grquota" and mount failed because of > unknown mount option "grquota". The following change works for me: > > - | sed -e 's/pquota/quota/g' \ > + | sed -e 's/\bpquota/quota/g' \ > > If you can give me an ack (or another fix), I can fold it into the > original patch. Eek .. yes, feel free to change that (and the other, unless you want to make it a separate commit) - sorry, not sure how I missed that. Thanks, -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html