Re: [PATCH] stage1 (init): Make /tmp tmpfs large enough to hold install.img (#540146)

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

 



> diff --git a/loader/init.c b/loader/init.c
> index e3bb9b0..67c9d62 100644
> --- a/loader/init.c
> +++ b/loader/init.c
> @@ -779,7 +779,7 @@ int main(int argc, char **argv) {
>          mkdir("/tmp", 0755);
>  
>          printf("mounting /tmp as tmpfs... ");
> -        if (mount("none", "/tmp", "tmpfs", 0, NULL))
> +        if (mount("none", "/tmp", "tmpfs", 0, "size=250m"))
>              fatal_error(1);
>          printf("done\n");

What happens if the system has <= 250 MB of memory?  For that matter,
what happens if the system has 256 MB of memory?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux