Tiny Core Extensions > TCE Q&A Forum

[SOLVED] /etc/X11/xorg.conf not available on reboot.

<< < (2/2)

^thehatsrule^:
You probably made the mistake of placing the leading / in front, as the other entries should show I think.  Probably could be clearer on the getting started doc (if you were using that).

kagashe:

--- Quote from: ^thehatsrule^ on December 07, 2008, 05:30:37 AM ---You probably made the mistake of placing the leading / in front, as the other entries should show I think.  Probably could be clearer on the getting started doc (if you were using that).

--- End quote ---
I did it from GUI Tools/Add_to_filetool which places the leading / in front.

This time once again I used GUI to insert the line, then opened it on vi and removed the leading /.

Thank you.

kagashe

^thehatsrule^:
This seems to be misleading.  I tried to reproduce your steps, but found that either having the leading / in front or not doesn't matter because tar will automatically remove it.

The suggestion I gave was just something I remembered, probably from another/older version.  I have no idea why it worked for you(?).

To others: please ignore my previous post in this thread.

kagashe:

--- Quote from: ^thehatsrule^ on December 08, 2008, 12:47:01 AM ---This seems to be misleading.  I tried to reproduce your steps, but found that either having the leading / in front or not doesn't matter because tar will automatically remove it.

The suggestion I gave was just something I remembered, probably from another/older version.  I have no idea why it worked for you(?).

To others: please ignore my previous post in this thread.

--- End quote ---
Yes., having a leading / does not matter but there is a problem when you reboot/shutdown with a check mark in Back up. You get following message:

--- Quote ---Back up produced errors. Please see /tmp/backup_status. Shutdown aborted.

--- End quote ---
and the shutdown is actually aborted. File /tmp/backup_status reads:

--- Quote ---tar: removing leading '/' from member names.
--- End quote ---
If that is supposed to mean that leading '/' gets removed from the file listed in /opt/.filetool.lst it is not REMOVED.

Finally you have to shutdown unchecking the Back up option and it is fine since in spite of leading '/' in .filetool.lst the file gets loaded on reboot.

kagashe

^thehatsrule^:
Aha, I see what the problem is now.  Thanks for replying again.

I was backing up manually without shutting down, and overlooked different scenarios.  While keeping the idea that the fix is to remove the leading /, a quick interim fix would be to change the add2file program.  For example, if modifying the .cxx, you can change line 33 to
--- Code: ---fout << chooser.value()+1 << endl;
--- End code ---

This brings up some problems with some scripts related to this that will be looked at.

FYI, that error in backup_status is generally a "safe-to-ignore" warning from tar and it does not mean that it modifies your .filetool.lst at all.

Navigation

[0] Message Index

[*] Previous page

Go to full version