middleware icon indicating copy to clipboard operation
middleware copied to clipboard

NAS-128891 / 24.10 / Remove the logic for creating swap partitions

Open yocalebo opened this issue 9 months ago • 3 comments

The remnants of this legacy behavior lurks in eldritch obscurity. Those who dare to comprehend its incomprehensible logic fall into a deep state of despair. As I delved into the tangled syntax where logic intertwines with madness, trying to remove this forbidden code seemed to resist, as if it were a living, breathing entity, guarding its existence through screens flickering with cryptic errors and warnings that chill the spine. Alas, the victor of this battle goes to sanity. The war, however, is not over. For this code is a labyrinthine whose tentacles stretch deep into the very fabric of TrueNAS. More changes will be needed but one must start somewhere.

yocalebo avatar May 09 '24 18:05 yocalebo

Jira URL: https://ixsystems.atlassian.net/browse/NAS-128891

bugclerk avatar May 09 '24 19:05 bugclerk

The remnants of this legacy behavior lurks in eldritch obscurity. Those who dare to comprehend its incomprehensible logic fall into a deep state of despair. As I delved into the tangled syntax where logic intertwines with madness, trying to remove this forbidden code seemed to resist, as if it were a living, breathing entity, guarding its existence through screens flickering with cryptic errors and warnings that chill the spine. Alas, the victor of this battle goes to sanity. The war, however, is not over. For this code is a labyrinthine whose tentacles stretch deep into the very fabric of TrueNAS. More changes will be needed but one must start somewhere.

Really nice text :D

sonicaj avatar May 09 '24 19:05 sonicaj

Tests are passing and extra care has been given to ensure nothing has changed wrt to writing partitions in optimal alignment. (We depend on libparted to do this for us btw, no reason to have extra logic on our side)

yocalebo avatar May 14 '24 00:05 yocalebo

This PR has been merged and conversations have been locked. If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

bugclerk avatar May 14 '24 17:05 bugclerk