WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: does tiny core support hugetlbfs  (Read 2387 times)

Offline freyone

  • Newbie
  • *
  • Posts: 24
does tiny core support hugetlbfs
« 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

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 724
Re: does tiny core support hugetlbfs
« Reply #1 on: March 08, 2017, 03:41:20 AM »
Just see your self.

Code: (bash) [Select]
more /proc/filesystems

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: does tiny core support hugetlbfs
« Reply #2 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.
The only barriers that can stop you are the ones you create yourself.

Offline freyone

  • Newbie
  • *
  • Posts: 24
Re: does tiny core support hugetlbfs
« Reply #3 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: does tiny core support hugetlbfs
« Reply #4 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"