1
1
Fork
You've already forked tritech-utils
0
Tritech Service System utility programs and scripts
  • Shell 88.6%
  • C 8.6%
  • Roff 1.6%
  • Makefile 1.2%
Find a file
2025年10月03日 11:17:17 -04:00
scripts tt_backup_cust_data: use tss_client server settings for RSM 2025年10月03日 11:17:17 -04:00
sounds tt_parallel_diags: sound behavior modification 2013年12月06日 17:09:44 -05:00
test Add APFS support; expand tt_fsinfo to support probed filesystems 2023年07月15日 15:24:11 -04:00
win_svc_templates driverdrop: Win8.1 support, OS flag fixes, SUBSYS order bug fix 2014年07月25日 19:58:49 -04:00
.gitignore Make tt_beacon build on Windows 2023年10月23日 14:57:30 -04:00
ac_monitor.1 Add .gitignore, add ac_monitor, update Makefile 2014年04月23日 17:01:16 -04:00
ac_monitor.c ac_monitor: fix missing header 2023年05月10日 00:09:06 -04:00
build_beacon_win32.sh Make tt_beacon build on Windows 2023年10月23日 14:57:30 -04:00
chroot_build.sh Declare inline/static functions, use macro for check_if_ntfs 2014年04月23日 17:56:25 -04:00
format_device_entry.c Clean remaining trailing whitespace 2017年05月30日 11:30:45 -04:00
LICENSE Update copyright years in license 2021年03月24日 11:47:20 -04:00
Makefile Makefile: better install for scripts 2025年08月23日 02:42:09 -04:00
raid0merge.c raid0merge: more memory allocation fixes; fix test suite 2021年09月22日 20:30:09 -04:00
read_inf_section.1 Clean remaining trailing whitespace 2017年05月30日 11:30:45 -04:00
read_inf_section.c Change to version.h 2017年04月30日 20:27:44 -04:00
README Update README for public release 2021年03月24日 11:43:25 -04:00
suggest_decompressor.1 Clean remaining trailing whitespace 2017年05月30日 11:30:45 -04:00
suggest_decompressor.c Change to version.h 2017年04月30日 20:27:44 -04:00
test.sh Add APFS support; expand tt_fsinfo to support probed filesystems 2023年07月15日 15:24:11 -04:00
tss_file_tool.1 Rework tss_file_tool and callers to use more efficient methods 2023年02月03日 12:45:08 -05:00
tss_file_tool.c Add APFS support; expand tt_fsinfo to support probed filesystems 2023年07月15日 15:24:11 -04:00
tt_beacon.1 Clean remaining trailing whitespace 2017年05月30日 11:30:45 -04:00
tt_beacon.c Make tt_beacon build on Windows 2023年10月23日 14:57:30 -04:00
version.h v1.19 release 2025年08月21日 16:08:41 -04:00

This is the Tritech Service System utilities package.
These programs and scripts are what make the Tritech Service System far more
than just another minimal Linux environment. Most of the software is composed
of shell scripts, though some of the tools are partially or completely written
in C for performance or because a shell script isn't as practical; the simple
things done by the tss_file_tool program are a good example, because while a
shell script can slice up a sector on disk with 'dd' and match against a
pattern, it's a thousand times less messy to read into a C file buffer and
match it in memory.
These programs were written for my own personal use and needs, so you will
find many quirks if you try to throw them into use without the infrastructure
that I use them within. In particular, there is the concept of a TSS server
embedded throughout the scripts, though over the years I have worked on making
the system usable without a core server to support it. It is possible with
many scripts to pass environment variables which modify their behavior. For
example, tt_imagedrop looks for images in /mnt/cifs/source/hd_images by
default and IMGDIR overrides this: IMGDIR=/mnt/sdc2/diskimg tt_imagedrop
You'll want the following programs to make full use of these tools:
socat
pv
ntfs-3g (and some ntfsprogs: ntfsresize, ntfsfix)
hdparm
rsync
smartctl (smartmontools)
fdisk (BusyBox fdisk is ideal; util-linux fdisk may or may not work)
sfdisk (from util-linux)
gdisk (gptfdisk)
lspci (pciutils)
dmidecode
beep (if you have a PC speaker)
If you're interested in setting up a disk or CIFS server in such a way that it
can act as a TSS server, here's the expected layout of a TSS server root share
or portable TSS disk (with override variables in "QUOTES"):
/ (root of disk or share, "$BASE")
|
+-- customer_backups/
| Backup location for any customer data, used by tt_backup_cust_data
|
+-- mbr/
| | MBR signature collection
| |
| +-- signatures/
| MBR signature files for tt_scan_mbr
|
+-- source/ "$SOURCE"
| | programs, disk images, stuff that won't change much (can be read-only)
| |
| +-- hal/ "$HALPATH"
| | HALs for Windows XP images, optional
| |
| +-- hd_images/ "$IMGDIR"
| | flat disk images for tt_imagedrop
| |
| +-- drivers/
| | | Windows driver collection, laid out for driver drop
| | |
| | +-- devicedb.txt
| | | Driver database text file, built by tt_build_dev_db
| | |
| | +-- [category_directory]/
| | | Windows driver categories (video, network, system, etc.)
| | |
| | +-- [driver_directory]/
| | An individual driver directory that can be copied by driver drop
| |
| +-- swdrop_sources.txt
| A list of tt_software_drop categories, names, and locations
|
+-- packages/
 Tritech Service System software packages (if root of disk/share; optional)
The commit history starts in 2013, but several of these tools existed well
before 2013. There are several bad shell scripting/programming practices to be
found within. Patches to fix these are welcome; please be nice! :-)
Note that tt_takeimage doesn't do the NTFS and partition resize work for you.
ntfsresize -i doesn't return a size guaranteed to work and I didn't feel like
working around it. Images are just flat disk images; there's no special format.
This documentation is not complete and probably never will be.
For more information, email jody@jodybruchon.com