标签:res 卸载 种类 star div physical data round 基础
检测设备的名称: sudo fdisk -l
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 07F91786-5858-9090-8081-828310111213 //内置存储大小 Device Start End Sectors Size Type /dev/sda1 2048 204799 202752 99M EFI System /dev/sda2 204800 466943 262144 128M Microsoft reserved /dev/sda3 466944 105324544 104857601 50G Microsoft basic data /dev/sda4 105326592 500113907 394787316 188.3G Microsoft basic data Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors //设备容量 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 33553920 bytes Disklabel type: dos Disk identifier: 0xa56fa56f Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 625139711 625137664 298.1G 7 HPFS/NTFS/exFAT //设备名字
U盘的挂载
mount 设备名 挂载地点
sudo mount /dev/sdb1 /mnt
自动挂载一般处于 /media
手动挂载一般处于/mnt
如果挂载到其它目录下,如果出现同名文件,会临时屏蔽原文件名文件
U盘的卸载
umount 挂载目录
卸载目录时,pwd不允许在卸载目录中
磁盘的命名规则
磁盘的种类命名
sd SCSI Device
hd Hard Disk 硬盘
fd Floppy Disk 软盘
硬盘根据块数以此排列:sda sdb sdc sdd
主分区最多四个:sdb1 sdb2 sdb3 sdb4 (如果没有四个分区,其它不命名)
逻辑分区:sdb5 sdb6 ......
标签:res 卸载 种类 star div physical data round 基础
原文地址:https://www.cnblogs.com/sailifsh-lyh/p/10806962.html