[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap-partition

Klaus Jantzen wrote:

on my machine I have two HDDs with Windows, Debian and another Linux system.
Because of the two Linux systems I have two swap partitions.

As I want to remove the other Linux I want to get rid of one of the swap partitions. How can I find out which swap partition is used by Debian and by the other Linux, respectively?

With 'df' I only see the file systems mounted e.g. / (root) and /home of Debian but not the swap partition.

thank you all for your help.

'swapon -s'   seems to me the best and shortest command.
'fdisk -l' gives the same result as 'parted print list,all': it shows both swap partitions and
                  I cannot determine which belongs to what system.

I did not know that it would be possible to share a swap partition and I would not
have dared to try it.
K.D. J.

Reply to: