`

Linux 学习笔记

 
阅读更多

1 硬盘只能分4个区,因为硬盘分区表只能记录4条记录。硬盘有主分区和扩展分区,扩展分区里面又可以分逻辑分区

2 在Linux看来,任何设备都是文件,文件分两种,一种是字符形式,一种是二进制形式。文件的命名是固定的,取决于文件的位置。分区名的前两个字母表示分区所在的设备类型,通常是hd(IDE磁盘)或sd(SCSI磁盘)。后面的一位字母表示分区所在的设备。例如,/dev/hda(第一个IDE磁盘)或/dev/sdb(第二个SCSI磁盘)。最后的数字代表分区。前四个分区(主分区或扩展分区)是用数字从1到4记录。逻辑分区从5开始。

3 mount 挂载设备到文件目录。 mount 设备名 目录。unmount 设备名 卸载设备

4 Linux启动过程:

   1) load bios (hardware information)

   2) read MBR's config to find out the OS

   3) load the kernel of the OS

   4) init process starts

   5) execute /etc/rc.d/sysinit

   6) start other modules (etc/modules.conf)

   7) execute the run level scripts

   8) execute /etc/rc.d/rc.local

   9) execute /bin/login

   10) shell started

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics