Re: [PATCH] Use /dev/.oldtmp instead of /oldtmp when moving around initrd /tmp

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

 



Hi Will,

On 02/21/2011 08:58 PM, Will Woods wrote:
      /* we want our /tmp to be tmpfs, but we also want to let people hack
       * their initrds to add things like a ks.cfg, so this has to be a little
       * tricky */
-    rename("/tmp", "/oldtmp");
+    copyDirectory("/tmp", "/dev/.oldtmp", copyErrorFn, copyErrorFn);
      mkdir("/tmp", 0755);

Shouldn't there be step that recursively removes /tmp after you've copied it, because this way the files that were in /tmp originally will stay there and the mkdir below fails (or is it what you intended)?

Or we can drop this altogether and tell people who want to tweak the initrds they need to put their stuff in /cantbelieveitsnottmp.

Al_

_______________________________________________
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