Can FreeBSD and Slackware share a freebsd-swap partition?

Linux only swaps to block devices that have a signature on them (made by mkswap). Swapping onto the same block device from FreeBSD would wipe out that signature.

So you need something like this for Linux in the startup scripts:
mkswap /dev/partition && swapon /dev/partition

Make extremely sure you get the partition id correctly.
 
Linux only swaps to block devices that have a signature on them (made by mkswap). Swapping onto the same block device from FreeBSD would wipe out that signature.

So you need something like this for Linux in the startup scripts:
mkswap /dev/partition && swapon /dev/partition

Make extremely sure you get the partition id correctly.
Interesting. I once used a Windows 10 swapfile in FreeBSD using FUSE NTFS and then load the file as md device. Kind of a bs solution but whatever. No problem at the next Windows boot. It doesn't care about what's currently in the file. What does linux do with this? We have a linear file, no need to add some kind of disk format structure...
 
What does linux do with this? We have a linear file, no need to add some kind of disk format structure...

The reason behind the marking is that so that you don't unaccidentally swap to an unmarked partition.
 
Back
Top