Skip to content

Commit 8ec4d5b

Browse files
committed
fix when hugepage dir does not exist
1 parent 94c06b7 commit 8ec4d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/o2-roc-setup-hugetlbfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else
4949
mountpoint -q $MPDIR
5050
if [ "$?" -ne 0 ]; then
5151
echo "Mounting $MPDIR"
52-
mount -t hugetlbfs -o pagesize=${sz} none $MPDIR
52+
mount -t hugetlbfs -o pagesize=${sz},X-mount.mkdir none $MPDIR
5353
chown root:root $MPDIR
5454
chmod 1777 $MPDIR
5555
else

0 commit comments

Comments
 (0)