swapon

SWAPON(8)                  Linux Programmer's Manual                 SWAPON(8)



åå
       swapon, swapoff - ããã¤ã¹ããã¡ã¤ã«ã¸ã®ãã¼ã¸ã³ã°ãã¹ã¯ããã³ã°ãæå¹ / ç¡å¹ã«ãã

æ¸å¼
       /sbin/swapon [-h -V]
       /sbin/swapon -a [-v]
       /sbin/swapon [-v] [-p priority]  specialfile ...
       /sbin/swapon [-s]
       /sbin/swapoff [-h -V]
       /sbin/swapoff -a
       /sbin/swapoff specialfile ...

説æ
       swapon ã¯ããã¼ã¸ã³ã° (paging) ãã¹ã¯ããã³ã° (swapping) ãè¡ãããã¤ã¹ãæå®
       ããããã«ç¨ããããã swapon ã®å¼ã³åºãã¯ãé常ã·ã¹ãã ããã«ãã¦ã¼ã¶ç¨ã«åæåãããã¡ã¤ã«
       /etc/rc ã§è¡ããããæ®éã¯ããã§ãã¹ã¦ã®ã¹ã¯ããããã¤ã¹ãæå¹ã«ãããã¼ã¸ã³ã°
       ãã¹ã¯ããã³ã°ããè¤æ°ã®ããã¤ã¹ããã¡ã¤ã«ã«ã¾ããã£ã¦ã¤ã³ã¿ã¼ãªã¼ã (interleave)
       åä½ã§ããããã«ããã

       é常ã¯æåã®æ¸å¼ãç¨ããããã

       -h     ãã«ãã¡ãã»ã¼ã¸ãå¼ã³åºãã

       -V     ãã¼ã¸ã§ã³ã表示ããã

       -s     ã¹ã¯ããã®ä½¿ç¨ç¶æ³ãããã¤ã¹æ¯ã«è¡¨ç¤ºããã

       -a     /etc/fstab ä¸ã§ ``sw'' ãã¼ã¯ãä»ãã¦ããã¹ã¯ããããã¤ã¹ãå¨ã¦æå¹ã«ããã

       -p priority
              swapon ã®åªå度 (priority) ãæå®ããã ãã®ãªãã·ã§ã³ã¯ swapon ã 1.3.2
              以éã®ã«ã¼ãã«ã§ã³ã³ãã¤ã«ã使ç¨ãããå ´åã«ã®ã¿æå¹ã§ããã priority ã¯
              0 ãã 32767 ã®éã®æ°å¤ã§ãããã¹ã¯ããåªå度ã®è©³ç´°ãªèª¬æã«é¢ãã¦ã¯
              swapon(2) ãè¦ãã /etc/fstab ã®ãªãã·ã§ã³ãã£ã¼ã«ãã« pri=value
              ãè¨è¿°ããã°ã swapon -a ã®éã«ãã®å¤ãç¨ããããã

       swapoff ã¯æå®ããããã¤ã¹ããã¡ã¤ã«ã®ã¹ã¯ããã³ã°ãç¡å¹ã«ããã -a
       ãã©ã°ãæå®ãããå ´åã«ã¯ã /etc/fstab ä¸‐
       ã®ãã¹ã¦ã®ã¹ã¯ããããã¤ã¹ã®ã¨ã³ããªãç¡å¹ã«ããã

é¢é£æå ±
       swapon(2), swapoff(2), fstab(5), init(8), mkswap(8), rc(8), mount(8)

ãã¡ã¤ã«
       /dev/hd??  æ¨æºã®ãã¼ã¸ã³ã°ããã¤ã¹
       /dev/sd??  æ¨æºã®ãã¼ã¸ã³ã°ããã¤ã¹ (SCSI)
       /etc/fstab ãã¡ã¤ã«ã·ã¹ãã ã ascii ã§è¨è¿°ãã表ã

å±¥æ´
       swapon ã³ãã³ã㯠4.0BSD ããå°å¥ãããã

èè
       èèå¨å¡ã®ãªã¹ã㯠Linux ã® mount(8) ããã¥ã¢ã«ãã¼ã¸ãåç§ã®ãã¨ã主ãªè²¢ç®èã¯
       Doug Qualeã H. J. Luã Rick Sladkey ããã³ Stephen Tweedie ã§ããã




Linux 1.x                      25 September 1995                     SWAPON(8)