LukeSmithxyz / voidrice

My dotfiles (deployed by LARBS)
GNU General Public License v3.0
4.29k stars 1.21k forks source link

mounter doesn't work with btrfs file system #1306

Open mleseach opened 1 year ago

mleseach commented 1 year ago

Got the followings errors when running mounter to mount a btrfs filesystem

mount: /dev/mapper/usb0: can't find in /etc/fstab.
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/usb0, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
# sudo dmesg | grep BTRFS
[21438.435207] BTRFS: device fsid [redacted] devid 1 transid 11 /dev/mapper/usb scanned by mou
[21438.440401] BTRFS info (device dm-2): using crc32c (crc32c-intel) checksum algorithm
[21438.440417] BTRFS error (device dm-2): unrecognized mount option 'uid=1000'
[21438.440958] BTRFS error (device dm-2): open_ctree failed

Therefore, I suggest to revert this commit https://github.com/LukeSmithxyz/voidrice/commit/185ac25e52069cab8144d0aea820c056544dfec2

futureisfoss commented 1 year ago

I have an ext4 filesystem on an external hard disk which gives me the same error. mounter output ends with this:

mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

And sudo dmesg -t | grep ext4 gives me this:

ext4: Unknown parameter 'uid'
ext4: Unknown parameter 'uid'
ext4: Unknown parameter 'uid'
ext4: Unknown parameter 'uid'