Re: [PATCH] swapon: add swap detection

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

 



Hi,

Peter Breitenlohner <peb@xxxxxxxxxxxx> writes:

> On Wed, 5 Nov 2008, Matthias Koenig wrote:
>
>> Karel Zak <kzak@xxxxxxxxxx> writes:
>>
>>>  Hi Matthias,
>>>
>>> On Fri, Oct 24, 2008 at 06:56:26PM +0200, Matthias Koenig wrote:
>>>> As swap format depends on the pagesize being used, it may happen
>>>> that the pagesize of the swap space and the current pagesize differ,
>>>
>>>  when? Kernel update, move a disk between machines?
>>
>> Update, e.g. ppc to ppc64.
>
> We have plenty of AMD64's that can be booted with a 32-bit or 64-bit kernel
> (same filesystem, almost all binaries are 32-bit).  Would they also be
> affected?

I don't think so, AFAIK there is only 4KB pagesize support for x86_64
architecture.
You can check for the pagesize for the two running systems
(e.g. getconf PAGESIZE), if they match there should not be any problems.

Matthias
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux