![文件系统根目录和 efi 在文件资源管理器中显示为外部硬盘](https://linux22.com/image/934717/%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E6%A0%B9%E7%9B%AE%E5%BD%95%E5%92%8C%20efi%20%E5%9C%A8%E6%96%87%E4%BB%B6%E8%B5%84%E6%BA%90%E7%AE%A1%E7%90%86%E5%99%A8%E4%B8%AD%E6%98%BE%E7%A4%BA%E4%B8%BA%E5%A4%96%E9%83%A8%E7%A1%AC%E7%9B%98.png)
我最近注意到,在文件栏/资源管理器文件系统根目录和 efi 中显示为外部硬盘。这有点奇怪,我不知道它是否会影响系统进程。此外,USB 驱动器未显示,但我运行 lsusb 命令,我可以看到 USB 驱动器已连接。任何见解或帮助都值得赞赏
输出fdisk -l
:
Disk /dev/loop0: 218.102 MiB, 229629952 bytes, 448496 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
Disk /dev/loop1: 97.9 MiB, 102637568 bytes, 200464 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
Disk /dev/loop2: 98.36 MiB, 103129088 bytes, 201424 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
Disk /dev/loop3: 55.48 MiB, 58159104 bytes, 113592 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
Disk /dev/loop4: 31.9 MiB, 32600064 bytes, 63672 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
Disk /dev/loop5: 162.89 MiB, 170778624 bytes, 333552 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
Disk /dev/loop6: 51.4 MiB, 53522432 bytes, 104536 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
Disk /dev/loop7: 217.92 MiB, 228478976 bytes, 446248 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
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: EC7C0DD1-5B5C-49CE-8C81-483CDB4FEAB4
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 1953523711 1952473088 931G Linux filesystem
Disk /dev/loop8: 51.2 MiB, 53501952 bytes, 104496 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
Disk /dev/loop9: 64.36 MiB, 67477504 bytes, 131792 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
Disk /dev/loop10: 64.79 MiB, 67915776 bytes, 132648 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
Disk /dev/loop11: 31.9 MiB, 32595968 bytes, 63664 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
Disk /dev/loop12: 172.99 MiB, 181366784 bytes, 354232 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
Disk /dev/loop13: 129.10 MiB, 136286208 bytes, 266184 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
Disk /dev/loop14: 149.76 MiB, 157016064 bytes, 306672 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
Disk /dev/loop15: 55.39 MiB, 58073088 bytes, 113424 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
Disk /dev/loop16: 149.76 MiB, 157016064 bytes, 306672 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
输出blkid
:
/dev/sda2: UUID="f3023789-28b0-4138-b6c8-6c10b8219ca2" TYPE="ext4" PARTUUID="99b4c4fc-3a52-435a-a601-ae10cb06371c"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: UUID="B04C-7CC4" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="ab146d04-bfae-4c6f-8b7f-9d8b3607fcb3"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/sdb1: LABEL="emil" UUID="926B-0C3A" TYPE="vfat" PARTUUID="4668a8dd-01"
最后一行是我的 USB 驱动程序名称,但不知何故它没有显示在文件资源管理器中。文件系统根目录和 efi 被识别为外部硬盘。
答案1
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 1953523711 1952473088 931G Linux filesystem
这些不是外部磁盘。
这些是分区1
和2
内部磁盘上的内容/dev/sda
。
分区EFI
(通常格式化为 FAT32)和根文件系统 ( /
)(通常格式化为 ext4)属于您看到的自己的分区。这是正常的,没有理由担心性能问题 — 尤其是如果安装程序已将它们设置为这样。
内部磁盘的命名/dev/sda
也表明它是此类设备中第一个也是主要的设备,这就是为什么它以a
字母表的首字母来指定。
您的系统实际上比其他许多系统集成度更高,跨各个分区分布更少。在 Ubuntu 领域,将目录引入/home/user
其自己的专用分区是一种常见做法。但您的系统并非如此设置:您的操作系统和用户文件位于同一分区。
文件管理器对用户的目录/文件(/home/<username>
)和操作系统的目录/文件(“/”)进行了明确的区分。
打开后,它们默认显示您的用户文件。访问操作系统的目录需要一些额外的、不寻常的导航。
这样做或许是为了
- 让事情对非高级用户来说看起来更简单
- 保护系统目录免受那些不知道如何处理它们的人的侵害
不过,文件管理器使用“磁盘”图标不仅仅是为了表示磁盘,这有点误导AND 分区,同时也形象化地展示用户目录和操作系统目录之间的区别/划分。
关于 USB 设备未显示,您可以尝试查询有关可移动媒体自动挂载的这些设置(返回值为 或true
)false
:
gsettings get org.gnome.desktop.media-handling automount
(描述:“如果设置为 true,那么 Nautilus 将在启动和插入媒体时自动安装用户可见的硬盘和可移动媒体等媒体。”)
和
gsettings get org.gnome.desktop.media-handling automount-open
(说明:如果设置为 true,则 Nautilus 将在自动安装媒体时自动打开一个文件夹。这仅适用于未检测到已知 x-content/* 类型的媒体;对于检测到已知 x-content 类型的媒体,将采取用户可配置的操作。)
如果您发现需要更改任何设置,可以按照以下模式进行更改:
gsettings set org.gnome.desktop.media-handling automount true
如果您想在图形界面上探索和管理这些设置,您可以安装该dconf-editor
应用程序。
如果自动安装设置不能改善 USB 的情况,你可以尝试在终端中手动安装。
即使手动安装失败,它至少可以提供有用的反馈/见解,以了解 USB 可能存在的问题。
答案2
当我在驱动器中放入 DVD 并重新启动时,出现了这个问题,DVD 已经破裂,无法读取,当我将其取出并重新启动时,问题就消失了