Re: Logging from %pre section

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

 



Jason,

Thanks for your help.
I wrote from the %pre section on an nfs mounted file system.
The ramdisk will stay until the reboot at the end of the installation. Is there a
way to increase its size to avoid using an nfs file system ?
Thanks.

Michel.

Jason Kohles wrote:

> On Mon, 2002-12-16 at 17:42, msimoni@xxxxxxxxxxxx wrote:
> >
> > %pre
> > echo "from %pre to /tmp" >> /tmp/test-file -> nothing goes in  the file
> > echo "from %pre to /mnt" >> /mnt/sysimage/tmp/test-file -> nothing either in
> > the file
> >
> The second one will fail because the directory doesn't exist, since you
> are in pre, you don't have any drives to write to yet.
>
> The first one should work, but keep in mind that /tmp is in the ramdisk,
> so make sure you do something with the file in %post (like copy it to
> the hard drive), or it will disappear when you reboot (and be aware that
> the space available for you to write to files in the ramdsik is
> limited).
>
> --
> Jason Kohles                                 jkohles@xxxxxxxxxx
> Senior Engineer                 Red Hat Professional Consulting
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux