RDEV

Section: Linux Programmer's Manual (8)
Updated: 20 November 1993
Index
Return to Main Contents
 

NAME

rdev - root ÀåÄ¡, ½º¿Ò ÀåÄ¡, RAM µð½ºÅ© Å©±â, ºñµð¿À ¸ðµå Á¶»ç/¼³Á¤  

»ç¿ë¹ý

rdev [ -rsvh ] [ -o offset ] [ image [ value [ offset ] ] ]
rdev [ -o offset ] [ image [ root_device [ offset ] ] ]
swapdev [ -o offset ] [ image [ swap_device [ offset ] ] ]
ramsize [ -o offset ] [ image [ size [ offset ] ] ]
vidmode [ -o offset ] [ image [ mode [ offset ] ] ]
rootflags [ -o offset ] [ image [ flags [ offset ] ] ]
 

¼³¸í

´Üµ¶À¸·Î rdev ¸í·ÉÀ» ³»¸®¸é /etc/mtab ÆÄÀÏ¿¡¼­ root ÆÄÀÏ ½Ã½ºÅÛ ºÎºÐÀ» ã¾Æ ±× Á¤º¸¸¦ º¸¿©ÁØ´Ù. ´Üµ¶À¸·Î swapdev, ramsize, vidmode, rootflags ¸í·ÉÀ» ³»¸®¸é ±× »ç¿ë¹ýÀ» º¸¿©ÁÖ°í ¸¶Ä£´Ù.

¸®´ª½º Ä¿³ÎÀ» À§ÇÑ ºÎÆ® À̹ÌÁö ¾È¿¡´Â, root ÀåÄ¡, ºñµð¿À ¸ðµå, RAM µð½ºÅ© Å©±â, ½º¿Ò ÀåÄ¡¸¦ ÁöÁ¤ÇÏ´Â ¿©·¯°³ÀÇ 2 ¹ÙÀÌÆ®°¡ ÀÖ´Ù. ÃʱⰪÀ¸·Î ÀÌ ¹ÙÀÌÆ®µéÀº ¾Æ·¡¿Í °°ÀÌ Ä¿³Î À̹ÌÁö ¾ÈÀÇ 504(½ÊÁø¼ö) ¿É¼Â¿¡¼­ ½ÃÀÛÇÑ´Ù.

498 Root flags (500 and 502 Reserved) 504 RAM µð½ºÅ© Å©±â 506 VGA ¸ðµå 508 Root ÀåÄ¡ (510 Boot Signature)

rdev ¸í·ÉÀ¸·Î ÀÌµé °ªÀ» ¹Ù²Ü ¼ö°¡ ÀÖ´Ù.

image ÀÎÀÚ´Â ¸®´ª½º Ä¿³Î À̹ÌÁö¸¦ ¸»Çϴµ¥, ÀÌ°ÍÀº ÀϹÝÀûÀ¸·Î ´ÙÀ½Áß Çϳª´Ù.

/vmlinux /vmlinux.test /vmunix /vmunix.test /dev/fd0 /dev/fd1

rdev, ³ª swapdev ¸í·ÉÀ» »ç¿ëÇÒ ¶§, root_device ³ª swap_device ÀÎÀÚ °ªÀ¸·Î »ç¿ëµÉ ¼ö ÀÖ´Â ÀåÄ¡´Â ÀϹÝÀûÀ¸·Î ´ÙÀ½°ú °°´Ù:

/dev/hda[1-8] /dev/hdb[1-8] /dev/sda[1-8] /dev/sdb[1-8]

ramsize ¸í·É¿¡¼­ »ç¿ëµÇ´Â size ÀÎÀÚ °ªÀº RAM µð½ºÅ©ÀÇ KB ´ÜÀ§ÀÇ Å©±âÀÌ´Ù.

rootflags ¸í·É¿¡¼­ »ç¿ëµÇ´Â flags ÀÎÀÚ °ªÀº root ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¶¿îÆ® ÇÒ ¶§ Ãß°¡ÀûÀÎ Á¤º¸¸¦ ´ã°íÀÖ´Â °ªÀÌ´Ù. ÀϹÝÀûÀ¸·Î flags °ªÀÌ 0ÀÌ ¾Æ´Ï¶ó¸é ÀÌ °ªÀº Ä¿³ÎÀÌ root ÆÄÀÏ ½Ã½ºÅÛÀ» ÀбâÀü¿ëÀ¸·Î ¸¶¿îÆ®Çϵµ·Ï ÇÑ´Ù.

vidmode ¸í·É¿¡¼­ »ç¿ëµÇ´Â mode ÀÎÀÚ °ªÀº ´ÙÀ½°ú °°Àº ºñµð¿À ¸ðµå¸¦ ÁöÁ¤ÇÑ´Ù:

-3 = Prompt -2 = Extended VGA -1 = Normal VGA 0 = as if "0" was pressed at the prompt 1 = as if "1" was pressed at the prompt 2 = as if "2" was pressed at the prompt n = as if "n" was pressed at the prompt

value ÀÎÀÚ °ªÀÌ ÁöÁ¤µÇÁö ¾ÊÀ¸¸é, image ÀÎÀÚ °ªÀº ´ÜÁö ÇöÀç ¼³Á¤À» ¾Ë±âÀ§Çؼ­ ¾²ÀδÙ.  

¿É¼Ç

-s
rdev ¸í·ÉÀ» swapdev ¸í·ÉÀ¸·Î »ç¿ëÇÑ´Ù.
-r
rdev ¸í·ÉÀ» ramsize ¸í·ÉÀ¸·Î »ç¿ëÇÑ´Ù.
-R
rdev ¸í·ÉÀ» rootflags ¸í·ÉÀ¸·Î »ç¿ëÇÑ´Ù.
-v
rdev ¸í·ÉÀ» vidmode ¸í·ÉÀ¸·Î »ç¿ëÇÑ´Ù.
-h
µµ¿ò¸»À» º¸¿©ÁÖ°í ¸¶Ä£´Ù.
 

¹ú·¹

¸®´ª½º ȯ°æÀÌ ¸¹ÀÌ ¹Ù²î¾ú±â¿¡, ÀÌµé °ªÀ» ÁöÁ¤ÇÏ´Â ¹æ¹ý¿¡´Â µÎ°¡Áö°¡ ÀÖ´Ù.

»ç¿ëÀÚ ÀÎÅÍÆäÀ̽º°¡ Á÷°üÀûÀÎ ÇüÅ·Π¹Ù²î¾î°¡°í ÀÖ´Â »óȲ¿¡¼­ ÇÑÁÙÀÇ ¸í·ÉÇàÀ¸·Î Ä¿³Î À̹ÌÁöÀÇ ¼³Á¤°ªµéÀ» ¹Ù²Ù´Â °Íµµ ¹Ù²î¾î°¡¾ß ÇÒ °ÍÀÌ´Ù.

LILO¸¦ »ç¿ëÇÑ´Ù¸é, VGA ¸ðµå¿Í root ÀåÄ¡ ¼³Á¤À» Çϴµ¥¿¡ ´õÀÌ»ó rdev°¡ ÇÊ¿ä ¾øÀ» °ÍÀÌ´Ù. ÇÏÁö¸¸, RAM µð½ºÅ© Å©±â¸¦ ÁöÁ¤Çϴµ¥´Â ¾ÆÁ÷µµ ÀÌ ¸í·ÉÀÌ ÇÊ¿äÇÏ´Ù. LILO¿¡ ´ëÇÑ ¼³¸íÀº ±× °ü·Ã ¹®¼­¸¦ ÀÐ¾î º¸±â ¹Ù¶õ´Ù.  

¸¸µçÀÌ

Werner Almesberger (almesber@nessie.cs.id.ethz.ch)°¡ óÀ½ ¸¸µé¾úÀ¸¸ç,
Peter MacDonald (pmacdona@sanjuan.UVic.CA)°¡ ¼öÁ¤Çß°í,
Stephen Tweedie (sct@dcs.ed.ac.uk) rootflag ºÎºÐÀ» Ãß°¡Çß´Ù.


 

Index

NAME
»ç¿ë¹ý
¼³¸í
¿É¼Ç
¹ú·¹
¸¸µçÀÌ

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