无法使用 mount 设置 uid

Bar*_*wen 3 linux bash shell ubuntu

mount -o uid=1000 /dev/sdb1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
   missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.
Run Code Online (Sandbox Code Playgroud)

它曾经有效,我不知道我错过了什么。

uname -r
3.19.0-21-generic
mount -V
mount from util-linux 2.25.2 (libmount 2.25.0: selinux, assert, debug)
Run Code Online (Sandbox Code Playgroud)

帮助表示赞赏。谢谢。

编辑:sdb1 上的文件系统是 ext4 编辑:

journalctl | tail -1
EXT4-fs (sdb1): Unrecognized mount option "uid=1000" or missing value
Run Code Online (Sandbox Code Playgroud)

编辑:当“它曾经可以工作”时,我在 USB 上有 vfat

saj*_*nmp 9

手册页没有列出 ext2、3 和 4 文件系统的 uid 或 gid 选项。在这些文件系统上,文件权限不取决于谁挂载了文件系统或挂载选项,只取决于存储在文件系统中的元数据。