9.30

Posted 元贞

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了9.30相关的知识,希望对你有一定的参考价值。

手动阀
郭德纲
技术分享
 1 #将设备挂载到目录
 2 [[email protected] mnt]# mount /dev/cdrom /mnt               
 3 mount: block device /dev/sr0 is write-protected, mounting read-only
 4 mount: /dev/sr0 already mounted or /mnt busy
 5 mount: according to mtab, /dev/sr0 is already mounted on /mnt
 6 #查看挂载情况
 7 [[email protected] mnt]# df -h
 8 Filesystem      Size  Used Avail Use% Mounted on
 9 /dev/sda2       8.6G  2.3G  5.9G  29% /
10 tmpfs           491M     0  491M   0% /dev/shm
11 /dev/sda1       190M   36M  145M  20% /boot
12 /dev/sr0        3.7G  3.7G     0 100% /mnt
13 #查看设备挂载内容
14 [[email protected] mnt]# cd /mnt/
15 [[email protected] mnt]# ls
16 CentOS_BuildTag  RELEASE-NOTES-en-US.html       TRANS.TBL
17 EFI              RPM-GPG-KEY-CentOS-6           images
18 EULA             RPM-GPG-KEY-CentOS-Debug-6     isolinux
19 GPL              RPM-GPG-KEY-CentOS-Security-6  repodata
20 Packages         RPM-GPG-KEY-CentOS-Testing-6
21 
22 #有人可能会问我的系统盘没有挂载,怎么还能访问呀。是因为文件在开机的时候帮你自动挂载了,看下面的UUID
23 [[email protected] mnt]# cat /etc/fstab
24 
25 #
26 # /etc/fstab
27 # Created by anaconda on Wed Aug 30 05:44:57 2017
28 #
29 # Accessible filesystems, by reference, are maintained under /dev/disk
30 # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
31 #
32 UUID=9cdba9f6-6cdd-4db0-9733-a8d13ffeced0 /                       ext4    defaults        1 1
33 UUID=33512319-2a0e-425a-a38b-8369ffe6644f /boot                   ext4    defaults        1 2
34 UUID=8e555db5-2819-4483-baf5-f59c15495e29 swap                    swap    defaults        0 0
35 tmpfs                   /dev/shm                tmpfs   defaults        0 0
36 devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
37 sysfs                   /sys                    sysfs   defaults        0 0
38 proc                    /proc                   proc    defaults        0 0
View Code

阿斯蒂芬

以上是关于9.30的主要内容,如果未能解决你的问题,请参考以下文章

9.30

9.30

9.30 总结一下九月呗

9.30notes

9.28-9.30学习内容

成外国庆集训小记(更新到9.30)