swap

10 Jan

File di swap per Linux creato al volo

in linux, swap

Sono un ignorante lo so...ho scoperto da poco che è possibile creare un file di swap al volo...
Sarà leggermente meno performante di una partizione...ma quanto sarà influente?...io penso poco...

CREAZIONE
mkdir ~/swap
dd if=/dev/zero of=~/swap/swapfile bs=1M count=512
mkswap ~/swap/swapfile

ATTIVAZIONE
swapon ~/swap/swapfile

DISATTIVAZIONE
swapoff ~/swap/swapfile

RIMOZIONE
rm -rf ~/swap

fonte: forum.ubuntu-it.org

Login
View Damiano Gregori's profile on LinkedIn
drupal
Creative Commons
Web Page Rank Icon
Technology Blogs - Blog Catalog Blog Directory
SiteUptime Web Site Monitoring Service

Recent comments

  • brao
    28 weeks 14 hours ago

User login

Connect
Sign in using Facebook

Home | About Us | Site Map | Copyright © 2010 Intu.it . All Rights Reserved.