Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: freyone on March 08, 2017, 03:19:06 AM

Title: does tiny core support hugetlbfs
Post by: freyone on March 08, 2017, 03:19:06 AM
root@box:/mnt/sda1/smb/lingzhp# mount -t hugetlbfs nodev /mnt/huge                                     
mount: mounting nodev on /mnt/huge failed: No such device
root@box:/mnt/sda1/smb/lingzhp#
root@box:/mnt/sda1/smb/lingzhp# grep -i huge /proc/meminfo
AnonHugePages:      4096 kB
Title: Re: does tiny core support hugetlbfs
Post by: patrikg on March 08, 2017, 03:41:20 AM
Just see your self.

Code: (bash) [Select]
more /proc/filesystems
Title: Re: does tiny core support hugetlbfs
Post by: curaga on March 08, 2017, 04:51:29 AM
No, it is not enabled in the kernel config - you'd need to build your own kernel.
Title: Re: does tiny core support hugetlbfs
Post by: freyone on March 09, 2017, 12:45:40 AM
No, it is not enabled in the kernel config - you'd need to build your own kernel.
how to build it ,is there any  .config file  for my current kernel? tailor the kernel to me is  difficult.
Title: Re: does tiny core support hugetlbfs
Post by: Juanito on March 09, 2017, 01:41:59 AM
The kernel config is here:

http://tinycorelinux.net/7.x/x86/release/src/kernel/

You will need to change:
Code: [Select]
# CONFIG_HUGETLBFS is not set
..but it is probably better to do this with "make menuconfig"