linux nvme 自动挂载,Ubuntu 18.04 自动挂载硬盘

查看磁盘分区UUID

➜ ~ sudo blkid

/dev/nvme1n1p1: UUID="BFE2-6DD4" TYPE="exfat" PARTLABEL="Basic data partition" PARTUUID="8eb72b1b-b6d4-11e9-9bf5-907841cf1083"

/dev/nvme0n1p1: LABEL="ESP" UUID="EA8B-C216" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="cfd476e8-519a-45b7-8413-cfe20c229aad"

/dev/nvme0n1p3: LABEL="OS" UUID="BEC0B821C0B7DDB9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d0a4857b-f427-4225-b419-31c687317a07"

/dev/nvme0n1p4: LABEL="WINRETOOLS" UUID="4616F73E16F72D95" TYPE="ntfs" PARTUUID="9caa70d8-b817-4796-9fcd-d6f0ef0acc24"

/dev/nvme0n1p5: LABEL="Image" UUID="8CBCF791BCF773D4" TYPE="ntfs" PARTUUID="7194c0b1-edc7-41cd-9e7a-1a0c8ab03c9c"

/dev/nvme0n1p6: LABEL="DELLSUPPORT" UUID="6C0A56BF0A56864C" TYPE="ntfs" PARTUUID="d0d481f4-9ffa-41b8-8af6-734a3c720724"

/dev/nvme0n1p7: UUID="ae34e27a-41ec-4c7c-9433-64a16242c617" TYPE="ext4" PARTUUID="4bef91e9-4198-4dfe-9fa9-8b07716a0ca2"

/dev/loop0: TYPE="squashfs"

获取需要挂载的磁盘UUID和TYPE

如:UUID="BFE2-6DD4" TYPE="exfat"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值