ramdisk using hugetlb page ram

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to use hugetlb to make a faster ramdisk .. but ...

I do,
#mount -t hugetlbfs none /media/ramdisk -o size=256M,mode=0777
#df
none 262144 0 262144 0% /media/ramdisk

all seem ok ...
going to the ram disk , and
#touch a.txt
-rw-r--r-- 1 root root 0 Aug 22 22:22 a.txt

ok, but

# ls > a.txt
ls: write error: Invalid argument

i cannot write any file inside .. why can i create?

why can i not use hugetlb for working with ramdisk?

anonymous pages and theses stuffs?

tx
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs


[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux