* Kay Sievers ([email protected]) [110628 12:45]: > On Tue, Jun 28, 2011 at 09:43, Michael Olbrich <[email protected]> > wrote: > > At first /dev/hugepages exists. If I run "ls /dev/hugepages", > > "mount[494]: mount: unknown filesystem type 'hugetlbfs'" is logged and > > ls says "ls: /dev/hugepages: No such device". > > Afterwards /dev/hugepages is gone. > > That doesn't sound too bad. :) It doesn't hang the process that tries > to access the mountpoint? That's what others have seen.
Besides that, the following is just ugly: root@heatball:~# ls -aln /dev/| grep huge ls: cannot access /dev/hugepages: No such device d????????? ? ? ? ? ? hugepages > You should probably just not install > /lib/systemd/system/dev-hugepages.mount to avoid the issue. While this is probably the best solution for the deeply embedded case, it would probably not be apropriate for e.g. Debian. I solved the issue with ConditionPathExists=/sys/kernel/mm/hugepages for now. However: It breaks, if the kernel module isn't loaded. Bjørn -- Pengutronix e.K. | Bjørn Bürger | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5002 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
