天天看点

linux 挂载_运维丨linux如何挂载光盘

?姝??????缃?缁?淇℃?????????哥?版??????????瀹㈡????缃?缁?宸ョ?甯?锛?璇???璇风?瑰?绘?ョ??????锛?

linux 挂载_运维丨linux如何挂载光盘

mount -t iso9660 /dev/cdrom /mnt/cdrom

umout /mnt/cdrom

?ョ??绯荤?宸茬???杞界????浠剁郴缁?

mount

姣?涓?琛?杈??烘?煎?锛???

???哄????on? ??杞界??type ??浠剁郴缁?绫诲????(??杞界????椤?

Linux绯荤??ㄤ娇?ㄥ??????杞?????U???讹?蹇?椤诲???ц???杞?mount)?戒护????杞藉?戒护浼?灏?杩?浜?瀛??ㄤ?璐ㄦ??瀹???绯荤?涓?????涓???褰?锛?浠ュ???存?ヨ?块????

搴???褰??冲??璇诲??瀛??ㄤ?璐ㄤ????版????

????1.??杞藉????

??????杞藉???????戒护濡?涓?锛?

????# mount -t is09660 /dev/cdrom /mnt/cdrom

????璇ュ?戒护灏???????杞藉??mnt/cdrom??褰?锛?浣跨?ㄢ??ls /mnt/cdrom???戒护?冲???剧ず????涓??版??????浠躲??

?????歌浇???????戒护濡?涓?锛?

????# umount /mnt/cdrom

??????杞介??????iso??浠?

????#mount -o loop /tmp/linux.iso? /mnt/linux

??????锛?

? ? #mount -o loop,ischarset=gb2312 /tmp/linux.iso /mnt/linux

????2.??杞借蒋??

????灏?杞?????杞藉??mnt/floppy??褰????戒护濡?涓?锛?

????# mount /dev/fd0 /mnt/floppy

?????歌浇杞??????戒护濡?涓?锛?

????#umount /mnt/floppy

????3.??杞?????杞????稿?瑰???涓?浜???

????棣???浣跨?ㄢ??fdisk -l???戒护?ョ??澶?????瀛???璁惧??凤?涓???涓?dev/sda1???跺???ㄢ??mkdir /mnt/usb???戒护寤虹??涓?涓???杞????ㄧ????褰???涔???

浣跨?ㄥ?涓??戒护??杞?AT?煎???U??锛?

????# mount -t msdos /dev/sda1 /mnt/usb

????浣跨?ㄥ?涓??戒护??杞?AT32?煎???U??锛?

????# mount -t vfat /dev/sda1 /mnt/usb

????4.??杞藉???纭??????????板????

??????杞藉???纭???????FAT32?煎?)???烽??瑕????ㄢ??fdisk -1???ョ??澶?????纭??????鸿?惧??凤???璁句负/dev/hda1??寤虹??/mnt/vfat??杞界??褰???锛?

浣跨?ㄥ?涓??戒护杩?琛???杞斤?

????# mount -t vfat /dev/hda1 /mnt/vfat

? ? ??杞芥???扮郴缁?涓???windows???猴?骞舵??杞藉?朵腑涓?涓???浠剁郴缁?

? ? #mkdir /mnt/d

? ? #mount -t ntfs -o iocharset=gb2312 /dev/hdc5? /mnt/d

? ? ?朵腑??ntfs涓?tfs???恒??iocharset=gb2312??涓轰?????涓???锛?濡???宸茬?????涓???锛???浠ョ??

? ? #mount -t ntfs? /dev/hdc5? /mnt/d

? ? #mount -t vfat? /dev/hdc5? /mnt/d? ???杞?at32?煎?????

? ? 5. ??杞?indows???变韩??褰?

?????ㄤ?涓?灞???缃?涓?锛?涓???浼???澶???indows??浣?绯荤????佃??

? ? 灏?windows??浠剁郴缁???灏?????浠剁郴缁???mount?戒护?煎?

? ? #mount -t? smbfs? -o? username=?ㄦ?峰??,password=瀵???? ?变韩?? ??杞界??

? ? 濡?锛?

? ? #mount -t smbfs? -o username=rq,password=1234? //dz118/software? /mnt/software

????娉ㄦ??锛?榛?璁ゆ???典?Linux????璁?oot?ㄦ?锋?ц?mount?戒护??濡????宠?╀????ㄦ?蜂??芥??杞斤?骞朵?甯????ㄧ郴缁????ㄦ?惰???ㄦ??杞藉??????杞???锛???瑕?

淇???etc/fstab??缃???浠讹????ヤ互涓???瀹癸?

????LABEL=/ /??ext3??????defaults????11

????/dev/cdrom/mnt/cdrom iSo9660 auto,owner,kudzu,ro,user 00

????/dev/fdo??/mnt/floppy auto??auto,owner,kudzu,ro,user 00

linux 挂载_运维丨linux如何挂载光盘

姝??????缃?缁?锝?瀹㈡?疯?充?锛???浣??辫耽锛?

寰?淇?D锛?shangqi_2016

linux 挂载_运维丨linux如何挂载光盘

继续阅读