Matthias Feichtinger wrote:
> Hallo everybody!
> 
> Does one know, what's the difference between mkswap v0 and makswap v1
> (Book 6.1.1 just says in chapter 2.3 mkswap -v /dev/[xxx], man mkswap is
> different and swapon want's mkswap -v1 to be done) 
        
        -v0    Create an old style swap area.

       -v1    Create a new style swap area.

       If no -v option is given, mkswap will default to new style, but
use old
       style if the  current  kernel  is  older  than  2.1.117  (and
also  if
       PAGE_SIZE  is less than 2048).  The new style header does not
touch the
       first block, so may be preferable, in case you have a  boot
loader  or
       disk label there.  If you need to use both 2.0 and 2.2 kernels,
use the
       -v0 option when creating the swapspace.

This is what man page says.

Regards

-- 
Stefano Lampis
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to