Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÈëÃűʼÇÆß

Îļþϵͳ
ÎļþϵͳµÄ²Ù×÷¹Ûµã
--²Ù×÷ϵͳÓÃÓÚÃ÷È·´ÅÅÌ·ÖÇøÉϵÄÎļþµÄ·½·¨ºÍÊý¾Ý½á¹¹£¬¼´ÎļþÔÚ´ÅÅÌÉϵÄ×éÖ¯·½·¨
--LinuxʹÓÃ"ÐéÄâÎļþϵͳ"²Ù×÷¸÷ÖÖÀàÐ͵ÄÎļþϵͳ
ÎļþϵͳµÄÓû§¹Ûµã
--LiunxϵÄËùÓÐÎļþºÍĿ¼£¬ÕâЩÎļþ¼°Ä¿Â¼¹¹ÒÔÒ»¸öÊ÷×´µÄ½á¹¹£¬¹¹³ÉÁËLinuxÖеÄÎļþϵͳ
--LinuxÎļþ±ê×¼£¨Linux File System Standard£¬FSSTND£©
--Îļþϵͳ²ã´Î½á¹¹±ê×¼£¨File System Hierarchy Standard£¬FHS£©
root
dev etc ---´æ·ÅÅäÖÃÎļþ home ---·ÅÖÃÓû§Îļþ var ---ÁÙʱÎļþ usr ---´æ·Å°²×°Îļþ
ext3ºÍext2 --LinuxʹÓõıê×¼Îļþϵͳ
swap --½»»»Îļþϵͳ
FAT32/vfat --WindowsÎļþϵͳ
NFS --ÍøÂçÎļþϵͳ
iso9660 --±ê×¼¹âÅÌÎļþϵͳ
Á·Ï°
fdisk /dev/sdb
m °ïÖú
l ²é³öIDºÅ
ÏÈÐÞ¸ÄÓ²Å̵ÄIDºÅ
t 8 c w
ºó¸ñʽ»¯
mkfs -t ext2 /dev/sdb1
mkfs -t ext2 /dev/sdb5
mkfs.ext2 /dev/sdb5
mkfs -t ext3 /dev/sdb6
mkfs.ext3 /dev/sdb7
mkfs -t vfat /etc/sdb8
mkfs.vfat /dev/sdb9
½¨Á¢ºÃÎļþϵͳºóÈçºÎʹÓÃÓ²ÅÌ
ÐèÒª½«Å̹ҽӵ½Îļþ¼ÐÉÏ
Ê×ÏȽ¨Á¢Ò»¸ö¿ÕÎļþ¼Ð
Á·Ï°£º
ls / ¿´¸ùĿ¼µÄÎļþ¼Ð
cd /mnt/
ls
mkdir sdb1
mkdir sdb5
mkdir sdb6
mkdir sdb7
ls
fdisk -l /dev/sdb
mount /dev/sdb1 /mnt/sdb1 £¨½«Ó²ÅÌ·ÖÇø¹Òµ½sdb1µÄ¿ÕÎļþÏÂÃ棩
mount
pwd
cd -
mount /dev/sdb5 /mnt/sdb5
ls
cd /mnt/sdb1
touch abc
cd
umount /mnt/sdb1 £¨½«Ó²ÅÌ·ÖÇø´ÓÎļþ¼ÐÖÐÕªÏÂÀ´£©
ls /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
df
ls /mnt/sdb1
umount /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
mount /dev/sdb5 /mnt/sdb5
mount /dev/sdb6 /mnt/sdb6
mount /dev/sdb7 /mnt/sdb7
ʹÓÃfuserÃüÁî
ÎļþϵͳºÏÊÊ´¦ÓÚ"busy"״̬
--ÎļþϵͳÉÏÃæÓдò¿ªµÄÎļþ
--ij¸ö½ø³ÌµÄ¹¤×÷Ŀ¼ÔÚ´ËÎļþϵͳÉÏ
--ÎļþϵͳÉÏÃæµÄ»º´æÎļþÕýÔÚ±»Ê¹ÓÃ
fuserÃüÁî
-#fuser[Ñ¡Ïî]ÎļþÃû»òÎļþϵͳÃû
-¾ÙÀýʹÓÃ
fuser -um/home
fuser -km/home
Á·Ï°
cd sdb1
umount /mnt/sdb1 (´Ë´¦»á±¨É豸Õýæ״̬)
cd
umount /mnt/sdb1
mount (ÍƳösdb1Ŀ¼ºó¾ÍÄÜÕªµôÓ²ÅÌ·ÖÇø)
Alt+F2½øÈëÆäËûÓû§µÇ¼µ½sdb5
»Øµ½ÏµÍ³Óû§
umount /mnt/sdb5
fuser -um /mnt/sdb5 £¨²é´¦Äĸö½ø³ÌÔÚ¹Ò½ÓµãÖУ©
kill -9 XXXX (XXXXɱËÀ¸


Ïà¹ØÎĵµ£º

Linux ÏÂÐéÄâ»ú——Virtual Box½Ì³Ì

    VirtualBox¹Ù·½ÍøÕ¾£ºhttp://www.virtualbox.org/
    ÒÔÏÂΪubuntu Ϊƽ̨µÄ°²×°¡¢ÅäÖá¢Ê¹Óã¬ÆäʵÔÚ¸÷¸ö·¢ÐаæÖеÄʹÓö¼²î²»¶à£¬Ö»ÊÇÔÚÏÂÔصÄʱºòÐèÒªÏÂÔØÏà¶ÔÓ¦Ö÷ϵͳƽ̨µÄ°²×°°ü¼´¿É¡£
    »·¾³ÐèÇó£º
       VirtualBoxÐèÒªker ......

zz ɾ³ýUbuntu Linux²Ù×÷ϵͳ¾ÉÄں˵ķ½·¨


Oracle°ïÄú׼ȷ¶´²ì¸÷¸öÎïÁ÷»·½Ú
ʹÓÃUbuntuÒ»¶Îʱ¼äºó£¬¾Í»á·¢¾õÓÉÓÚ×Ô¶¯Éý¼¶£¬ÏµÍ³Àï°²×°Á˺ܶàÄںˡ£ÏñÎÒ£¬¾¹È»°²×°ÁËÏÂÃæÄÇô¶à£¬Õâ¸öÔì³ÉÁËÂþ³¤µÄÆô¶¯ÁÐ±í¡£±ØÐëɾµôһЩ²»Óõġ£
Ê×ÏȾÍÊÇʹÓÃÈçÏÂÃüÁÁгöËùÓа²×°µÄÄںˣ¬Ï±íÖУ¬´øÓÐimageµÄ¾ÍÊÇÄÚºËÎļþ¡£´ÓÖÐÑ¡ÔñҪжÔصİü£¬ÓÃapt-getÀ´Ð¶ÔØ¡£
[tc@ibm:~ ......

Linuxѧϰ±Ê¼Ç

1¡¢ÔÚX11½çÃæÉÏÐÞ¸ÄIPµØÖ·µÈÍøÂçÐÅÏ¢ºó±ØÐëÖØÆôϵͳ²Å»áÉúЧ¡£
2¡¢±àÒëmipsÖ¸Áî³ÌÐòʱ£¬ÓÃmipsel-linux-gccÃüÁîÌáʾmipsel-linux-gcc:command not found£¬¿ÉÒÔÐÞ¸Ä~/.bash_profileÎļþµÄPATH»·¾³±äÁ¿ºóÌí¼Ó:/opt/i686-mipsel-linux-gcc-sdk-3.4.4/cross/bin¡£
¡¡¡¡PATHµÄÖµÊÇһϵÁÐĿ¼£¬µ±ÄúÔËÐÐÒ»¸ö³ÌÐòʱ£¬LinuxÔÚÕâЩ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ