Re: RHEL5 Ejecting CD Before %post

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

 



Shabazian, Chip wrote:
It's not elegant, but if the stuff you need to copy across is small
enough, you can create a ramdisk in %pre, copy stuff to it, then mount
it in %post.  This is the only way I've ever found to get info from %pre
to %post.

remember to umount the ram disk at the end of %pre, or it won't be
available to mount in %post.

You can also use real disk, maybe partitioning here yourself if needed.

--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-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