[BusyBox] Fsync mkswap

Stas Noskov snoskov at mail.ru
Fri Feb 8 11:19:03 UTC 2002


Hello,

I'm trying specifying: 'swapon /dev/ram1' - but this also do not
working. About orthodox practice using RAM for swap space - maybe 8-)
But I using Busybox on diskless computer, only one floppy. I want to know
how me treat.

Thanks for your time,
Stas.

TC> Hello,
TC>         One thing you'll want to check is if swapon/swapoff looks in
TC> fstab for the mountpoints for swap space.  I believe it does, but I
TC> might be wrong.  Try specifying _where_ the swap space is by executing
TC> `swapon /dev/ram1`.  Keep in mind, however, that using RAM for swap
TC> space isn't the most orthodox practice.  You may be better off just
TC> running without swap space, unless you have an application the
TC> specifically requires it.  Good luck!

TC> -Thomas Cameron


TC> -----Original Message-----
TC> From: snoskov at mail.ru [mailto:snoskov at mail.ru] 
TC> Sent: Friday, February 08, 2002 1:03 AM
TC> To: busybox at busybox.net
TC> Subject: [BusyBox] Fsync mkswap


TC> I'm have trouble with my rc.sysinit.
TC> I attempt create swap disk in ramdisk. This my script:
TC> ...
TC> mkswap -v1 /dev/ram1
TC> swapon -a
TC> ...

TC> But after executing swapon, output message about what
TC> no signature swap not found (or familiar this).

TC> I'm using kernel 2.2.14 compiled on Red Hat 6.2 (Zoot).

TC> Please, help me to solve this trouble.

TC> With best regards,
TC> Stas Noskov.
TC> (Sorry for my bad english)




More information about the busybox mailing list