- 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
32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
# 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
|