Tiny Core Base > Release Candidate Testing

tinycore_1.0rc9

<< < (2/3) > >>

Juanito:
that solved part of the issue - it looks like the other part was my own dumb fault..

I was loading an extension from a folder with a dep file, but without the extensions quoted in the dep file - i.e.
--- Code: ---$  tce-load /mnt/sda1/source/buildtc/08_10_25/wireless_tools.tcel
/mnt/sda1/source/buildtc/08_10_25/wireless_tools.tcel
tar: can't open '/mnt/sda1/source/buildtc/08_10_25/wireless-2.6.26.tcem': No such file or directory
--- End code ---

Note that it seems that once there has been an error like the above, then "tce-load /path-to-file/wireless-2.6.26.tcem" does not work. On moving wireless_tools.tcel to a folder without the dep file and after re-boot, things again work fine.

On a different subject, it's difficult to be sure, but it looks like "tc checkfs pause" or "tc checkfs" or "tc base norestore checkfs" do not run the fs check - the re-boot part does however run.

Edit: would it be better to use e2fsck maybe?

Edit2: I just ran fsck manually - since the fs had been mounted a bunch of times, fsck ran for some considerable time so it definately did not run on boot with "tc checkfs"

curaga:
Fsck is not forced currently, so it is only run if the filesystem is marked dirty (for instance after an unclean shutdown). Should it be forced?

Juanito:
That was my point in edit2 above - the fs had been marked "dirty" as the mount count had gone over the limit. That aside, it would probably make sense to force fsck as the user presumeably wants it to run when using "checkfs"

roberts:
I agree. Since it is be requested. I will force it.
Tested and working.

curaga:
Happy new year :D

Around the new year's hacking I discovered we were using a statically compiled e2fsck. Why? It's 500kb of libc-overhead we have no need for (libc is always available when e2fsck is). Grab the dynamic version @ ibiblio. A new year's task for everyone: let's push TC to under 10mb :)

About tce-load: I think you meant
--- Quote ---       for F in `cat "$APP".dep`; do
          DEPFILE="$FROMWHERE"/"$F"
-         if [ ! -f /usr/local/tce.installed/"$DEPFILE" ]; then
+         if [ ! -f /usr/local/tce.installed/"${F%.*}" ]; then
             install "$DEPFILE"
          fi   
       done

--- End quote ---
because with $DEPFILE it would have been /usr/local/tce.installed/ /path/to/ext/ .tcel, but now it's as it should /usr/local/tce.installed/ basename.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version