RDEV
Section: Linux Programmer's Manual (8)
Updated: 1993³â 11¿ù 20ÀÏ
Index
Return to Main Contents
À̸§
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(½ÊÁø¼ö) ¿É¼Â(offset)¿¡¼ ½ÃÀÛÇÑ´Ù.
- 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 ºÎºÐÀ» Ãß°¡Çß´Ù.
¹ø¿ª
ÇÑ±Û Manpage ÇÁ·ÎÁ§Æ® (http://man.kldp.org) 2004³â 3¿ù 30ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¿É¼Ç
-
- ¹ö±×
-
- ÀúÀÚ
-
- ¹ø¿ª
-
This document was created by
man2html,
using the manual pages.
Time: 00:44:54 GMT, April 01, 2004