DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Missing Swap Option in DietPi Drive Manager

Open miloit opened this issue 1 month ago • 5 comments

Required Information

DietPi version | G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=17 G_DIETPI_VERSION_RC=2 G_GITBRANCH='master' G_GITOWNER='MichaIng' G_LIVE_PATCH_STATUS[0]='not applicable' Distro version | trixie 0 Kernel version | Linux smarthome 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux Architecture | arm64 SBC model | RPi 4 Model B (aarch64) Power supply used | 5V 4A SD card used |

Bug Report: Missing Swap Option in DietPi Drive Manager

Description: Even though swap is configured and active via dietpi-configAdvanced Options, the DietPi Drive Manager does not show any swap-related option.


System Information

  • DietPi version: [please insert output of cat /DietPi/dietpi/.version]
  • Device/Hardware: [e.g. Raspberry Pi 4, Odroid N2, VM, etc.]
  • Kernel version: [e.g. output of uname -a]

Expected Behavior

The Drive Manager should display an option to create, move, or disable swap (as in previous DietPi versions or as documented).

Actual Behavior

No swap-related option appears in the Drive Manager menu.


Steps to Reproduce

  1. Open dietpi-config
  2. Enable swap under Advanced Options
  3. Open dietpi-drive_manager
  4. Observe that no swap option is listed

Question

Has the swap management feature been removed or relocated from the Drive Manager in recent DietPi versions? If yes, where is swap now managed?


Additional Notes

  • Swap file is located at /var/swap
  • System is fully updated

miloit avatar Oct 20 '25 06:10 miloit

Did you already select the mount point/drive you like to transfer the swap file to?

Image

Joulinar avatar Oct 20 '25 07:10 Joulinar

Yes it's active....I guess I miss interpreted the prompt I thought there is an extra point available

miloit avatar Oct 20 '25 08:10 miloit

and what option you are missing?

Joulinar avatar Oct 20 '25 08:10 Joulinar

I'll add a sentence to the prompt like "Select the drive you want to create or move the swap file to, then select 'Swap file'" or something like that.

MichaIng avatar Oct 20 '25 11:10 MichaIng

I'll add a sentence to the prompt like "Select the drive you want to create or move the swap file to, then select 'Swap file'" or something like that.

This hint was missing....

miloit avatar Oct 20 '25 15:10 miloit