Embedded 版 (精华区)

发信人: snows (花自飘零水自流), 信区: Embedded
标  题: The mount_root() Function
发信站: 哈工大紫丁香 (2004年03月16日13:30:46 星期二), 站内信件

The mount_root() Function
Mount_root() is located in fs/super.c.

Mount_root() tries to mount the root filesystem. The identity of the root
filesystem is provided as a kernel option during boot, which in workstation
environments is typically the hard disk device and partition containing the
system's root directory. (The root partition isn't necessarily the same as
the location of the now almost-booted kernel image.)

Linux can mount root filesystems from hard disks, floppies, and over a
network NFS connection to another machine. Linux can also use a ramdisk as a
root filesystem. Mount_root() will try one or more of these sources before
giving up and causing a kernel panic.


--
-
 ╭────────────────────────────╮
 │   风萧传瑟声,叶落根深处,青阶入野无归途,他乡不知顾   │
 │   泣下问和谁,叹者行已暮,寒眉傲骨今尚在,奈何入凡土   │
 ╰────────────────────────────╯
                                                                             

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.229.154]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.881毫秒