freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

linux操作系統(tǒng)08-文件系統(tǒng)(完整版)

2024-10-28 19:17上一頁面

下一頁面
  

【正文】 9) /etc:該目錄用于存放許多配置文件和目錄 。 目錄 /usr/bin 中也包括了許多系統(tǒng)命令 。Acegene IT Co. Ltd. 1 Linux操作系統(tǒng) 文件系統(tǒng) 周炯 上海艾基信息技術(shù)有限公司 Acegene IT Co. Ltd. 2 內(nèi)容提要 ? 1. Linux文件系統(tǒng)概況 – Linux文件系統(tǒng)的結(jié)構(gòu) – Linux文件系統(tǒng)的類型 – Linux文件系統(tǒng)的構(gòu)成 ? 2. Linux文件系統(tǒng)管理 – 建立文件系統(tǒng) fdisk mke2fs mkswap – 掛裝和卸載硬盤分區(qū) – 使用 /etc/fstab文件 – 使用 fsck工具程序進(jìn)行文件系統(tǒng)恢復(fù) – 文件系統(tǒng)配額管理 Acegene IT Co. Ltd. 3 1. Linux—— 文件系統(tǒng) ? Linux是建立在文件系統(tǒng)的基礎(chǔ)上的。 ? ( 3) /root:該目錄用于存放根用戶 ( 超級(jí)用戶 ) 的主目錄 。 ? ( 10) /var:該目錄用于存放系統(tǒng)中不斷擴(kuò)充 、 變化的文件 , 例如日志文件和鎖定文件 。每個(gè)用戶在被建立用戶目錄時(shí)都至少被放在一個(gè)用戶組中,而且,系統(tǒng)管理員還可以將用戶編進(jìn)多個(gè)用戶組里。 Acegene IT Co. Ltd. 11 文件系統(tǒng)的構(gòu)成 : i結(jié)點(diǎn) ? ext2文件系統(tǒng)中 i 結(jié)點(diǎn)和數(shù)據(jù)塊的組織結(jié)構(gòu)。s system id ? 82 Linux Swap ? 83 Linux – w write table to disk and exit Acegene IT Co. Ltd. 16 Creating Extended Partitions /sbin/fdisk /dev/sde Command (m for help): n Command action e extended p primary partition (14) e Partition number (14): 1 First cylinder (11020, default 1): 1 Last cylinder or +size or +sizeM or +sizeK (11020, default 1020): 1020 Command (m for help): w The partition table has been altered! Acegene IT Co. Ltd. 17 Creating Logical Partitions /sbin/fdisk /dev/sde Command (m for help): n Command action l logical (5 or over) p primary partition (14) l First cylinder (11020, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (11020, default 1020): +5m Command (m for help): p Disk /dev/sde: 232 heads, 62 sectors, 1020 cylinders Units = cylinders of 14384 * 512 bytes Device Boot Start End Blocks Id System /dev/sde1 1 1020 7335809 5 Extended /dev/sde5 1 1 7130 83 Linux Acegene IT Co. Ltd. 18 Listing Partitions cat /proc/partitions major minor blocks name rio rmerge … 8 0 8281507 sda … 8 1 8281476 sda1 … 8 16 4192965 sdb … 8 17 2048256 sdb1 … 8 18 2048287 sdb2 … 8 32 9430155 sdc … 8 33 9430123 sdc1 … 8 48 9430155 sdd … 8 49 4715046 sdd1 … 8 50 4715077 sdd2 … 22 0 252290 hdc … Acegene IT Co. Ltd. 19 建立文件系統(tǒng) ?/sbin/mkfs 格式化分區(qū) ––t 指定文件系統(tǒng)類型 –如 : ?Ext2: mkfs –t ext2 /dev/sdb1 ?Ext3: mkfs –j /dev/sdb1 –或使用 /sbin/mkfs.fstype代替 ? mke2fs建立 ext2/3文件系統(tǒng); mke2fs /dev/hdb3 mke2fs j ext3 /dev/hdb3 ext2 vs. ext3 ? ext2 used to be the most mon Linux filesystem ? ext3 is based on ext2 –Same ondisk structure –ext2 can be converted to ext3 –ext3 can be mounted as an ext2 file system ? ext3 is a journaling filesystem –Preserves data integrity better than ext2 –Faster and safer fsck after system crash Acegene IT Co. Ltd. 21 Swap分區(qū)配置 ? mkswap建立 swap文件系統(tǒng)。 ? mount命令通常可以自己檢測(cè)出這類信息,例外 : OCFS – o options 定義作用于掛裝過程的選項(xiàng)。 – umount f 參數(shù)強(qiáng)制執(zhí)行卸載操作。 /dev/device /dir/to/mount fstype parameters fs_freq fs_passno ? 掛載命令 : – mount /oracle – mount /dev/sdb1 Acegene IT Co. Ltd. 35 /etc/fstab文件 ? /etc/fstab文件的數(shù)據(jù)項(xiàng)說明 – /dev/device 將被掛裝的分區(qū) ? 比如 dev/hda3 – /dir/to/mount: 分區(qū)掛裝到其上的子目錄( ? 比如 /usr) – fstype: 文件系統(tǒng)的類型(比如 ext2/ext3) – parameters: mount命令 o參數(shù)的附加參數(shù) – mount option ? defaults 缺省值 ? noauto 防止啟動(dòng)時(shí)自動(dòng)加載 – fs_freq: 數(shù)值類型,告訴 dump命令備份這個(gè)文件系統(tǒng)的頻率 – fs_passno: 數(shù)值類型,告訴 fsck程序在引導(dǎo)時(shí)確定文件系統(tǒng)的檢查順
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1