FreeBSD内存文件系统

Posted by 4Aiur on 04/06/2010 in BSD |

FreeBSD内存文件系统

[4aiur@FreeBSD ~/memeory_fs]$ sudo mount -t tmpfs -o size=1m tmpfs tmpfs/
[4aiur@FreeBSD ~/memeory_fs]$ sudo mdmfs -s 1m md mfs
[4aiur@FreeBSD ~/memeory_fs]$ df -h tmpfs/ mfs/
Filesystem     Size    Used   Avail Capacity  Mounted on
tmpfs          648M    4.0K    648M     0%    /usr/home/4aiur/memeory_fs/tmpfs
/dev/md5       846K    4.0K    776K     1%    /usr/home/4aiur/memeory_fs/mfs

Tags:

Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.