UOS+window双系统隐藏磁盘

修改 etc/udev/rules.d 文件

vi  etc/udev/rules.d

增加如下内容

# hide android rootfs
ENV{ID_FS_TYPE}=="squashfs", ENV{UDISKS_IGNORE}="1"
KERNEL=="loop*", ENV{UDISKS_IGNORE}="1"

# hide EFI partition 隐藏EFI分区

ENV{ID_FS_UUID}=="103B-2869", ENV{UDISKS_IGNORE}="1"

#黑体字部分通过blkid命令查询

# hide windows recovery partition 隐藏recovery分区

ENV{ID_FS_UUID}=="6600CF1000CEE5E1", ENV{UDISKS_IGNORE}="1"
ENV{ID_FS_UUID}=="FA43-26EB", ENV{UDISKS_IGNORE}="1"
ENV{ID_FS_UUID}=="54E4454CE4453212", ENV{UDISKS_IGNORE}="1"
ENV{ID_FS_UUID}=="CACE3B91CE3B74B3", ENV{UDISKS_IGNORE}="1"
#黑体字部分通过blkid命令查询
 

你可能感兴趣的:(windows,linux)