Fran�ois Pons wrote:

>I see nothing wrong from here except of a problem deleting directory
>/mnt/tmp/headers which should be here (maybe with bad flags ?) and cannot be
>removed (fs error ?).
>  
>
I've figured the cause out, yippeee :)))

The installer uses the /mnt/tmp dir, which is the /tmp dir of the 
working system.

On the working system, /tmp was not an ordinary dir, but a symlink to 
/home/temp/tmp  - because some long time ago I had run out of space on 
the / filesystem where /tmp was located. I've symlinked a tmp dir 
prepared on the /home partition, where I had plenty of space. The system 
worked fine.
However, in an environment where the original /home filesystem is now 
/mnt/home, the symlink points at void space. There's no /home/temp/tmp 
when Mdk 9.0 installer is running, there's /mnt/home/temp/tmp.

When in the busybox I execute "chroot /mnt", I can use /tmp dir since 
the symlink starts pointing at th proper location (or to say better, the 
target location is in the proper place).

If installer wants to use the files and directories from the working 
system's fs's, it either has to:
* chroot to /mnt, or
* check all involved, pre-existing files and directories if they are 
symlinks, then resolve them by appending "/mnt/" at their beginning and 
accessing target files/dirs.






Reply via email to