Just guessing, but I would say it is mkswap itself that has a 32-bit
limitation in it somewhere.  (This _is_ beta code after all.)  Maybe try
downloading a more current version of the source and building it will help
(if you're not a C programmer).


Mark Post

-----Original Message-----
From: Sergey Korzhevsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 6:13 AM
To: [EMAIL PROTECTED]
Subject: swapfile over 2G on 64bit


Hi.

Is it possible to create swapfile over 2G on 64bit system?. I think yes,
but i've got the following "answer":

ls -la
-rw-r--r--    1 root     root     4294967296 Sep 17 12:51 swap3

 mkswap /share/share/swap3
mkswap: error: swap area needs to be at least 40kB
Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]


It is on SLES7(64b, beta). 'Mkswap' from util-linux-2.11b-52


ps:
 uname -a
Linux zlinux 2.4.21-4 #2 SMP Tue Sep 2 11:42:25 EEST 2003 s390x unknown

 ldd /sbin/mkswap
        libc.so.6 => /lib64/libc.so.6 (0x0000010000033000)
        /lib/ld64.so.1 => /lib/ld64.so.1 (0x0000010000000000)

So, what's wrong?

        WBR, Sergey

Reply via email to