Hi Robert ,
First off all , thank you very much for your step by steb info. The below command creates a 1 GB file. there you have mentioned bs=1G count=1. What is count 1 there?
# Create the file: [root@beauregard ~]# dd if=/dev/zero of=/root/swapfile bs=1G count=1 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB) copied, 119.248 s, 9.0 MB/s #Make the swap fs on the file:
If I want to create a file with 2 GB , then , What should I mention? count 2 or 1?
What is the correct one out of below 2 commands
dd if=/dev/zero of=/root/swapfile bs=2G count=2
or
dd if=/dev/zero of=/root/swapfile bs=2G count=1
Hope to hear form you.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos