MEM

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (4)
Updated: 1992³â 11¿ù 21ÀÏ
Index
Return to Main Contents
 

À̸§

mem, kmem, port - ½Ã½ºÅÛ¸Þ¸ð¸®, Ä¿³Î¸Þ¸ð¸®¿Í ½Ã½ºÅÛÆ÷Æ®.  

¼³¸í

MemÀº ÄÄÇ»ÅÍ ¸ÞÀθ޸ð¸®ÀÇ À̹ÌÁöÀÎ ¹®ÀÚÀåÄ¡ ÆÄÀÏÀ̸ç, ½Ã½ºÅ۰˻翡 ¾²ÀδÙ.

memÀÇ ¹ÙÀÌÆ®ÁÖ¼Ò´Â ¹°¸®ÀûÀÎ ¸Þ¸ð¸®ÁÖ¼Ò·Î Çؼ®µÈ´Ù.

°Ë»ç¿Í ÆÐĪÀº read-only³ª write-onlyºñÆ®°¡ ÁÖ¾îÁ³À»¶§, ¿¹±âÄ¡ ¸øÇÑ °á°ú¸¦ ³ºÀ» ¼ö ÀÖ´Ù.

MemÀº ´ÙÀ½¿¡ ÀÇÇØ »ý¼ºµÈ´Ù:

mknod -m 660 /dev/mem c 1 1
chown root:mem /dev/mem

kmemÆÄÀÏÀº ¹°¸®Àû ¸Þ¸ð¸®º¸´Ù´Â Ä¿³Î °¡»ó¸Þ¸ð¸®°¡ ¾×¼¼½ºµÇ´Â °ÍÀ» Á¦¿ÜÇÏ°í´Â memÆÄÀÏ°ú °°´Ù.

kmemÀº ´ÙÀ½¿¡ ÀÇÇØ »ý¼ºµÈ´Ù:

mknod -m 640 /dev/kmem c 1 2
chown root:mem /dev/kmem

Port´Â IOÆ÷Æ®°¡ ¾×¼¼½ºµÇ´Â °É Á¦¿ÜÇÏ°í´Â mem°ú °°´Ù.

PortÀº ´ÙÀ½¿¡ ÀÇÇØ »ý¼ºµÈ´Ù:

mknod -m 660 /dev/port c 1 4
chown root:mem /dev/port

 

ÆÄÀÏ

/dev/mem
/dev/kmem
/dev/port  

°ü·Ã Ç׸ñ

mknod(1), chown(1), ioperm(2)


 

Index

À̸§
¼³¸í
ÆÄÀÏ
°ü·Ã Ç׸ñ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004