sun's longitude:258 22 57.30 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  
FreeBSD
FreeBSD study ....
[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
33 번 글: [mfs] FreeBSD local memory-based UNIX ..
글쓴이: 산이 [홈페이지] 글쓴날: 2006년 11월 08일 12:51:23 수(오후) 조회: 4680
local memory-based UNIX filesystem

MAX MFS SIZE => 512MB
http://www.mimedefang.com/kwiki/index.cgi?action=diff&page_name=RamB
asedSpoolDirectory&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-virt
ual.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

 
이전글 : [/etc/syslog.conf] 콘솔에러 파일 기록
다음글 : [mysql-linuxthreads] 1000+ connection  
 from 211.221.59.245
JS(Redhands)Board 0.4 +@

|글쓰기| |답장쓰기| |수정| |삭제|
|이전글| |다음글| |목록보기|
인쇄용 

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

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