You are not logged in.
Pages: 1
Hello,
I used
mount -t hugetlbfs hugetlbfs /dev/hugepages -o mode=1770,gid=992 to mount hugetblfs.
But the mounted mode was not 1770 but 1352.
hugetlbfs on /hugepages type hugetlbfs (rw,relatime,gid=992,mode=1352,pagesize=2M)Can anybody help me? thanks
Last edited by eproly (2019-05-20 06:01:34)
Offline
Please edit your thread title and remove the redundant plea for help: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline
same problem here, try to mount with mode 1770 in fstab but got 1352
Offline
Nope, that's not right.
Last edited by Zod (2019-05-20 19:44:18)
Offline
Same problem here.
trying to mount /dev/hugepages with mode set to 1770
Something seems to override it and turns it back to 1352 when mounted.
What is the solution for this?
Offline
Yep, getting this too. At the moment I'm just setting the permissions on the /dev/hugepages directory manually as part of my qemu script as that's the only place I use it.
In lieu of hunting down the bug you could try something like this hack.
Last edited by OhneHerren (2019-09-30 11:19:51)
Offline
Pages: 1