slitaz-boot-scripts rev 407
init: fix rootfsinodes default value
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 02 11:03:52 2015 +0200 (2015-08-02) |
parents | d6c818f35639 |
children | 1542a6f14fae |
files | init |
line diff
1.1 --- a/init Sat Aug 01 15:08:42 2015 +0200 1.2 +++ b/init Sun Aug 02 11:03:52 2015 +0200 1.3 @@ -12,6 +12,8 @@ 1.4 # a lower value may work, such as 50 1.5 # rootfssize= [RAMDISK] 1.6 # size of / regarding the RAM size, default 90% 1.7 +# rootfsinodes= [RAMDISK] 1.8 +# files count of / regarding the RAM size, 0 (unlimited) 1.9 # 1.10 ### Indirect mode ; an initramfs is used to mount root from the hard disk. 1.11 ### Any rootfs should fit, minimum required is slitaz-base. 1.12 @@ -224,7 +226,7 @@ 1.13 root=100 1.14 got tmpram 1.15 r=$root 1.16 -inodes=90% 1.17 +inodes=0 1.18 got rootfsinodes && inodes=$root 1.19 root=90% 1.20 got rootfssize