ramdisk 만드는 법 및, swap 만드는 법
페이지 정보
작성자 조희승 댓글 0건 조회 6,285회 작성일 12-08-17 15:22본문
[root@caquad /]# mount -t tmpfs -o size=256M /dev/ramdisk /mnt
[root@caquad /]# dd if=/dev/zero of=/mnt/swapdom.swap bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.195382 s, 1.1 GB/s
[root@caquad /]# mkswap mnt/swapdom.swap
Setting up swapspace version 1, size = 209711 kB
no label, UUID=4b2fb21a-e8e7-47f5-9e41-4c1a1d09daee
[root@caquad /]# dd if=/dev/zero of=/mnt/swapdom.swap bs=1M count=200
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.195382 s, 1.1 GB/s
[root@caquad /]# mkswap mnt/swapdom.swap
Setting up swapspace version 1, size = 209711 kB
no label, UUID=4b2fb21a-e8e7-47f5-9e41-4c1a1d09daee
댓글목록
등록된 댓글이 없습니다.