纭?????浣跨???
涔扮?????????衡?????煎?????????杞?
涓???绠?浠?
纭???锛?IDE??SASI
ide纭???
------------------------------------------
/dev/hda 绗?涓???IDE纭???
? ???猴?/dev/hda1 /dev/hda2 ? ... ? /dev/hdan
/dev/hdb 绗?浜???IDE纭???
... ...
/dev/hdn 绗?n??IDE纭???
scsi纭???
------------------------------------------
/dev/sda 绗?涓???SCSI纭???
? ????猴?/dev/sda1 /dev/sda2 ? ... ? /dev/sdan
/dev/sdb 绗?浜???SCSI纭???
... ...
/dev/sdn 绗?n??SCSI纭???
????
-----------------------------------------------
/dev/cdrom
IDE
/dev/hd1
/dev/hd2
SCSI
/dev/scd1
/dev/scd2
杞???
-----------------------------------------------
/dev/fd1
/dev/fd2
纭???
-----------------------------------------------
/dev/hda /dev/hda1
/dev/sda /dev/sda1
U??
-----------------------------------------------
/dev/sdx ?(a/b/c/d/e锛? /dev/sda /dev/sdb
纭??????虹??涓?绉?绫诲??
----------------------------------------------
涓?绉?锛?涓诲???? ???藉??????涓?
浜?绉?锛??╁??????灏?涓?涓?涓诲???烘?垮?烘?ヤ?涓烘?╁?
涓?绉?锛??昏???????ㄦ?╁????轰腑??????
???鸿〃锛?
? ? ??BR锛?涓诲?瀵艰?板?锛?浣?浜?涓?涓?纾?????0?遍???0???猴?0纾???锛?涓?锛? 446byte锛?灏辨??纾???寮?濮????版?癸?
? ? 涓?涓?琛ㄥ???哄??64byte锛?姣?涓????洪??瑕?16byte.
?╁????鸿〃锛?
? ? 娌℃??澶у????讹??????????颁釜??姣?涓?涓????洪?芥??涓?涓??昏????恒??
???烘??浣?
fdisk /dev/hda ??oot?ㄦ?锋?ц?
渚??ф??绀烘??浣?
n : ?板缓????
p : 寤轰富????
e : ?╁?????
w 锛?淇?瀛?骞堕????
?ョ??纭???淇℃??
----------------------------------------------
fdisk -l ?ョ??绯荤?涓?杩??ョ??澶??ㄨ?惧?
df -l ?ョ??宸叉??杞界??????
df -t ?ョ?????虹被??
?煎???
---------------------------------------------------
FAT EXT
?煎?????浣?
mkfs
mkfs -t ext3 /dev/hda1
mkfs -t ext2 /dev/hda2
mkfs.
mkfs.ext3 /dev/sdb2
mkfs.vfat /dev/sdb1
??杞藉??ㄨ?惧?
-------------------------------------------------
mount 璁惧??? ??杞界??
mount -t ext3 璁惧??? ??杞界??? 锛???瀹??煎?锛?
mount -t vfat -o iocharset=gb2312 璁惧??? ??杞界??
eg锛?
mount /dev/cdrom /mnt/cdrom
mount /dev/sdb1 /mnt/one
mount /dev/sdb2 /mnt/two
涓???浣跨?ㄨ?绋?锛?
1.??杞藉?璁撅? 蹇?椤讳娇??ount璁惧?
2.璇诲????杞界?癸?cp
3.?歌浇??杞界?癸?umount
4.绉昏蛋澶?璁?
mount /dev/cdrom /mnt/cdrom
df -r
cd /mnt/cdrom
ls /mnt/cdrom
umount /dev/cdrom/
纾?????棰?
--------------------------------------------------
???舵?????ㄦ?蜂娇?ㄧ??纾???绌洪?村????寤虹????浠朵釜?帮?涓??充???涓轰釜???ㄦ?风??娴?璐瑰奖???????ㄦ?风??浣跨??
??瑕????哥??????
??瑕??ㄦ?风?搴?quota杞?浠跺?? ?妫???pm -qa|grep quota
娉ㄦ??锛?????????ext2/ext3??浠剁郴缁?????
??mount -o usrquota[,grpquota] /dev/hda1 /mnt/one
浣跨??srquota,grpquota??椤规??杞戒?涓????猴?婵?娲诲???哥??????
??uotacheck -cvug /dev/hda1
quotacheck -cvuga?
婵?娲?uota
quotaon -a?
quotaon /dev/hda1
?㈡?ョ????涓??ㄦ?风??浣跨?ㄦ????
repquota -a
edquota -t 淇??硅??荤???堕?达???瀵逛互?????ㄦ??
绯荤?榛?璁ゆ??杞?
vi /etc/fstab
mount -o remount,usrquoa,grpquota /home