#905793 Why does the Installer formats given swap

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
John Landmesser
Date:
2023-09-28 08:51:05 UTC
Severity:
normal
#905793#5
Date:
2018-08-09 17:37:15 UTC
From:
To:
is there a reason why the installer defaults to format given swap partition?

I now know that you can opt out to format swap, but i don't understand
that formatting swap is default!

I had several Linux on same PC and after installing aditional debian,
the other Linux didn't find their swap anymore because UUID has changed.

I fixed it but i thought: "Debian, that should be a no go, formatting
given swap"

So i'm curious for the reason for this behaviour!

Regards

John Landmesser

#905793#10
Date:
2018-08-09 18:12:36 UTC
From:
To:
Sharing swap leads to data loss if any kind of hibernate (incl. hybrid
suspend) is involved.  Thus, it really don't want to allow that by default.

If you know the danger, you can do so manually.


Meow!

#905793#15
Date:
2018-08-09 18:14:15 UTC
From:
To:
Well 99.9% of installs don't have another linux on the system, so any
swap partition would be a new one that you just created, so you want
it formatted, or it wouldn't be used.

Maybe it would be possible to make it default to not format a swap
partition if that partition already exists and isn't being created
from scratch.

The installer at least has the option to not format it for the extremely
unusual case of wanting to reuse an existing swap partition.

#905793#20
Date:
2018-08-09 18:14:15 UTC
From:
To:
Well 99.9% of installs don't have another linux on the system, so any
swap partition would be a new one that you just created, so you want
it formatted, or it wouldn't be used.

Maybe it would be possible to make it default to not format a swap
partition if that partition already exists and isn't being created
from scratch.

The installer at least has the option to not format it for the extremely
unusual case of wanting to reuse an existing swap partition.

#905793#25
Date:
2018-08-10 08:08:52 UTC
From:
To:
Am Thu, 9 Aug 2018 14:14:15 -0400
schrieb lsorense@csclub.uwaterloo.ca (Lennart Sorensen):
       ^^^^^
Interesting. How did you get that figure?

Regards,
  Herbert

#905793#30
Date:
2018-08-10 11:35:35 UTC
From:
To:
It's most certainly a hyperbole, but I think it's not too far fetched
to assume that the number of users who are installing multiple Linux
distributions in parallel on the same machine is rather negligible.

So, I'm not sure whether that's a usecase worth supporting given
the fact that there are also potential issues you can run into
when sharing a swap partition among multiple Linux distributions
on the same disk.

Adrian

#905793#35
Date:
2018-08-10 13:30:23 UTC
From:
To:
... did i forget some action?

... spam is also empty!

... its weekend, so the Mailer is on holiday?!

#905793#40
Date:
2018-08-10 15:00:31 UTC
From:
To:
Totally made it up. :)

I suspect I guessed low in fact.

#905793#45
Date:
2021-08-10 20:58:35 UTC
From:
To:
Please check your email and reply to my previous email thanks.
#905793#50
Date:
2023-06-26 11:32:01 UTC
From:
To:
Hello,
My name is Sarah Steve, I sent a message to your email but I have not
received any response from you. So, I want to know if you received my
previous message.
Greetings.
Sarah Steve

#905793#55
Date:
2023-09-28 08:48:44 UTC
From:
To:
Hi ,Permit me to contact you through this medium.I am Dr. Thomsom
Jack. .i saw your profile and got interest to write to you, Pls get
back to me on my email(jackthomsom7@gmail.com) ,so that i can tell you
more about me and also send my photo for us to know each other well
and start from there,
Thanks.
Miss Maria Warlord
(jackthomsom7@gmail.com)