fstab 会干扰 MTP 安装吗?

fstab 会干扰 MTP 安装吗?

几个月前的某个时候,我在 fstab 中添加了一行,使 tmp 进入 ram 而不是磁盘:

tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,mode=1777,size=10240M 0 0

那是从这里来的——https://blog.programster.org/keep-tmp-in-ram

我认为这是我在 fstab 中接触的唯一内容,它的第一部分是由系统创建的,看起来像这样 -

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/mycomputer--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=2bc3cb2d-afe5-2000-bd3e-e4a25552d5cb /boot           ext2    defaults        0       2
/dev/mapper/mycomputer--vg-home /home           ext4    defaults        0       2
/dev/mapper/mycomputer--vg-swap_1 none            swap    sw              0       0

我的 Android 手机过去总是自动作为 MTP 安装到 PC(运行 Debian Buster),但在某些时候,它停止了。

我不确定问题是否是由 Debian 更新引起的,但我怀疑这可能与文件的更改有关fstab

任何人都可以提供对这个问题的任何见解吗?

相关内容