Re: how to copy file at post?

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

 



Chan, Dominic wrote:
Why when I am in chroot I want to use /root and not /mnt/sysimage/root?  I want to copy the file to the real /root


When you are in %post, you are in a chroot environment. chroot stands for 'change root', thus you have changed root to /mnt/sysimage, and that is your /. Your real /root will be in /root.

In the %post --nochroot environment, you see the directory structure just as you see it in VT2, thus your real /root will be in /mnt/sysimage/root.

Forrest





[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