WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline freyone

  • Newbie
  • *
  • Posts: 24
does tiny core support hugetlbfs
« on: March 08, 2017, 12: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: 662
Re: does tiny core support hugetlbfs
« Reply #1 on: March 08, 2017, 12:41:20 AM »
Just see your self.

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: does tiny core support hugetlbfs
« Reply #2 on: March 08, 2017, 01: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 08, 2017, 09:45:40 PM »
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: 14516
Re: does tiny core support hugetlbfs
« Reply #4 on: March 08, 2017, 10:41:59 PM »
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"