내일은 대한입니다.
sun's longitude:298 49 38.64 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/delete.php:소스보기  
FreeBSD
FreeBSD study ....
[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
 ★ 글 지우기 항목입니다. 한번 더 생각하시고 결정하십시오.!!!
제목 33 : [mfs] FreeBSD local memory-based UNIX ..
 이름  산이 [홈]http://linuxchannel.net/
local memory-based UNIX filesystem

MAX MFS SIZE => 512MB
http://www.mimedefang.com/kwiki/index.cgi?action=diff&page_name=RamBasedSpoolDirectory&revision_id=-1


`man mfs'

mount_mfs -s 131072 -o nosuid,nodev,nosymfollow /dev/da0s1b /tmp

size * 512 Bytes = MB
1MB -> 2048
64MB -> 131072

-s size
The size of the file system in sectors. This value defaults to
the size of the raw partition specified in special (in other
words, newfs will use the entire partition for the file system).


ex) 스왑파티션에 사용하는 예제

# Device Mountpoint FStype Options Dump Pass#
/dev/wd0s1b none swap sw 0 0
/dev/wd0s1b /mnt/mfs mfs rw,-s131072 0 0


FreeBSD 5.x moconfig(8)

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html#AEN25412


This will create a 512 MB memory filesystem (the -s size is in 512 byte blocks). Incidentally, 512 MB is the maximum allowed on a stock !FreeBSD system (compile a new kernel to change this). For some reason, !FreeBSD mounts this with asynchronous updates. To force synchronous, ammend the command to This will create a 512 MB memory filesystem (the -s size is in 512 byte blocks). Incidentally, 512 MB is the maximum allowed on a stock !FreeBSD system (compile a new kernel to change this). For some reason, !FreeBSD mounts this with asynchronous updates. To force synchronous, ammend the command to

mount -t mfs -o -s1048576,noasync /dev/sd0s1b /var/spool/MIMEDefang mount -t mfs -o -s1048576,noasync /dev/sd0s1b /var/spool/MIMEDefang

The line to add to [=/etc/fstab] is this: The line to add to [=/etc/fstab] is this:

/dev/sd0s1b /var/spool/MIMEDefang mfs rw,-s1048576,noasync 0 0
2006년 11월 08일 12:51:23 수(오후)  from 211.221.59.245
0
암호: 공용 보안 SSL 서버가 준비되기 전까지는 off 합니다

apache lighttpd linuxchannel.net 
Copyright 1997-2025. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds