Complete Linux system optimization suite with tmpfs, zram, and German locale support
- Fixed missing setup_tmpfs() function that was causing silent failures - Added comprehensive system scanning for browsers, IDEs, gaming caches - Implemented detailed optimization information display for transparency - Added German locale compatibility for 'free' command (Speicher: vs Mem:) - Fixed division by zero errors in RAM calculations - Created tmpfs-info.sh helper script for detailed status reporting - Enhanced scanning to work on already-optimized systems - Added comprehensive optimization breakdowns with purpose explanations
This commit is contained in:
31
CHANGELOG.md
Normal file
31
CHANGELOG.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Changelog
|
||||
|
||||
## [2025-09-23] - tmpfs Setup Fix
|
||||
|
||||
### Fixed
|
||||
- **one-button-optimizer.sh**: Fixed critical issue where tmpfs setup was not working
|
||||
- Added missing `setup_tmpfs()` function that was referenced but not implemented
|
||||
- Enhanced tmpfs analysis to actually scan system for cache directories
|
||||
- Added intelligent profile recommendation based on RAM size and existing cache data
|
||||
- Fixed tmpfs persistence by generating proper fstab entries
|
||||
- Updated systemd service to restore tmpfs mounts after reboot
|
||||
|
||||
### Enhanced
|
||||
- **tmpfs Analysis**: Now scans for actual cacheable data:
|
||||
- Browser caches (Chrome, Firefox, Chromium)
|
||||
- Package caches (/var/cache/apt)
|
||||
- Temporary files
|
||||
- Shows actual cache sizes and provides intelligent recommendations
|
||||
|
||||
### Technical Details
|
||||
- **Issue**: When users selected "yes" for tmpfs setup, nothing happened because the `setup_tmpfs` function was missing
|
||||
- **Root Cause**: The function was called in main() but never defined
|
||||
- **Solution**: Implemented complete tmpfs setup with intelligent sizing and persistence
|
||||
|
||||
### Testing
|
||||
- Added test script (`test-tmpfs-fix.sh`) to verify functionality
|
||||
- Confirmed syntax validation passes
|
||||
- Verified tmpfs analysis logic works correctly
|
||||
|
||||
## Previous versions
|
||||
- Initial implementation with zram, kernel tuning, and basic tmpfs detection
|
||||
Reference in New Issue
Block a user