WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
TCB Bugs / Re: CorePure64 v17 networking issues
« Last post by Juanito on March 04, 2026, 04:25:30 PM »
It would help if you could show the steps you took and the errors you got
62
TCB Bugs / Re: CorePure64 v17 networking issues
« Last post by tzx17077 on March 04, 2026, 03:21:22 PM »
I keep getting errors when following the steps mentioned inside the wiki. Can someone build a custom kernel with all Hyper-V configuration settings enabled (or at least set to m).
63
General TC Talk / Re: Could be [tiny]core improved?
« Last post by Rich on March 04, 2026, 11:33:01 AM »
Hi neonix
No, it can't. The purpose of the ISOs is to allow you to get
the system up and running. They provide a way to get an
Internet connection, edit config files, install extensions, and
possibly a GUI.

You don't need a web browser for that.
Once the system is up, use apps to install what you want.


64
TCB Talk / Re: xfbdev (xlibre)?
« Last post by neonix on March 04, 2026, 10:31:44 AM »
I think they want to resurrect Xfbdev for raspberry pi. And we can say that almost all raspberry pi models have 2d and 3d acceleration. They want to have Xfbdev with accelerated driver.
65
General TC Talk / Re: Could be [tiny]core improved?
« Last post by neonix on March 04, 2026, 10:23:17 AM »
Does dillo-plus can be default web browser in tiny core plus?
66
Programming & Scripting - Unofficial / Re: Finding which process is overwriting a file
« Last post by Rich on March 04, 2026, 08:20:41 AM »
Hi gadget42
... also wondering which version was fetched? given: ...
Code: [Select]
tc@box:~/BuildTCZs/FAtrace/fatrace$ git describe --tags --long | cut -d '-' -f 1,2 | tr - .
0.19.1.5
tc@box:~/BuildTCZs/FAtrace/fatrace$
67
kicking the weeds at github and this was interesting:

https://github.com/martinpitt/fatrace/pull/66

also wondering which version was fetched? given:

https://tracker.debian.org/pkg/fatrace

(in devuan daedalus)
Code: [Select]
someone@somewhere:~$ apt info fatrace
Package: fatrace
Version: 0.17.0-1
Priority: optional
Section: utils
Maintainer: Martin Pitt <mpitt@debian.org>
Installed-Size: 44.0 kB
Depends: libc6 (>= 2.34)
Recommends: python3, powertop
Homepage: https://github.com/martinpitt/fatrace
Download-Size: 12.5 kB
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: report system wide file access events
 fatrace reports file access events from all running processes.
 Its  main  purpose  is to find processes which keep waking up the disk
 unnecessarily and thus prevent some power saving.
 .
 This package also contains a "power-usage-report" tool, which uses
 fatrace and powertop to build a textual report from one minute of
 measuring power usage and file accesses. This does not take any
 arguments or requires any interactivity, so is very simple to use and
 serves as a starting point for bug reports or optimizing a particular
 installation.

just _thinking_out_loud_ mostly...
68
TCE Talk / ntfs 3g etc extensions
« Last post by vinceASPECT on March 04, 2026, 05:15:48 AM »
Hello forum,

If i load the NTFS 3g and associated extensions..........

Does this then allow me to .......Read and Write........ to any NTFS formatted partition or drive right?

Should i first create a TCE or TCL empty directory on the mentioned NTFS partition?

i know it's likely not widely used...........but the ntfs idea seemed to work fine in the past for putting extensions there and then loading them from the ntfs location


thx
C

69
Hi _matthew_
This writeup in finding which process is overwriting a file may be of interest:
https://forum.tinycorelinux.net/index.php/topic,28053.0.html
70
Programming & Scripting - Unofficial / Finding which process is overwriting a file
« Last post by Rich on March 04, 2026, 12:27:43 AM »
Recently a forum member ask about tracking down which program was overwriting some files:
https://forum.tinycorelinux.net/index.php/topic,28044.0.html

Searching the TC14 x86_64 repo turn up a couple of possible tools.
audit.tcz A tool for auditing system calls.
Unfortunately, the kernel config is not set up to support it.

trace-cmd.tcz A tool to interact with ftrace linux kernel internal tracer.
Unfortunately, the kernel config for ftrace is not enabled.

A little searching on the Internet turned up fatrace. The program is a
little quirky, but seems usable. Here's a quick tutorial of how I made it work.

Fetch and build the program:
Code: [Select]
# Install toolchain and a couple of support packages.
tce-load -wi compiletc git sstrip

# Create a build directory.
mkdir FAtrace
cd FAtrace

# Fetch the source package.
git clone https://github.com/martinpitt/fatrace.git

# Build and strip fatrace.
cd fatrace
make
sstrip fatrace

Dealing with one of the quirks:
Code: [Select]
# From the man page:
# "It does not report file access by fatrace itself, to avoid logging events
# caused by writing the output into a file. It also ignores events on virtual
# and kernel file systems such as sysfs, proc, and devtmpfs."
#
# It also seems to ignore the RAM based rootfs, including /etc. It seems to
# want "real mount points", so we create one:
mkdir etc
sudo mount --bind /etc etc

Options and a sample command:
Code: [Select]
cd etc
# Useful options:
# -c means "Only record events on partition/mount of current directory".
# That's why we cd into etc.
# -f W Means "We only want to capture file writes".
# -p means "Ignore events for this process ID. Can be specified multiple times."
# That's useful for filtering out noisy processes.
# -o ../file.txt means "Write events to given file instead of standard output."
# No point in writing a file to etc.
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ sudo .././fatrace -c -f W -o ../file.txt

A sample run.
Delete the previous output file (quirk). fatrace will not start if the output file exists:
Code: [Select]
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ rm -f ../file.txt
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ sudo .././fatrace -c -f W -p 397 -o ../file.txt

In another terminal, turn eth0 off and on, causing writes to /etc/resolv.conf:
Code: [Select]
tc@box:~$ sudo ifconfig eth0 down
tc@box:~$ sudo /opt/eth0.sh

Then Ctrl-C and check the results:
Code: [Select]
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ cat ../file.txt
eth0.sh(8208): W   /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
eth0.sh(8208): CWO /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$

Filtering for resolv.conf and hosts files:
Code: [Select]
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ sudo .././fatrace -c -f W 2>&1 grep -E "resolv|hosts"
eth0.sh(13001): W   /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
eth0.sh(13001): W   /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
eth0.sh(13001): CW  /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
eth0.sh(13001): W   /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
eth0.sh(13001): CW  /home/tc/BuildTCZs/FAtrace/fatrace/etc/resolv.conf
Even though eth0.sh performs 2 echo commands into /etc/resolv.conf, we get 5 results (quirk?).

For some reason, this way creates an empty file:
Code: [Select]
tc@box:~/BuildTCZs/FAtrace/fatrace/etc$ sudo .././fatrace -c -f W 2>&1 grep -E "resolv|hosts" > ../file.txtAnother quirk, or is something wrong with my redirection?
Pages: 1 ... 5 6 [7] 8 9 10