I've tried these commands with root access

mount -t fifs // -o username=user,password=pw /mnt/sdcard/xyz

mount -t cifs // -o username=user,password=pw /mnt/sdcard/xyz

mount iocharset=utf8 -t cifs -o username=user,password=pw,rw,noperm,iocharset=utf8 // /mnt/sdcard/xyz 

mount -o username=user,password=pw,nodfs,rw,iocharset=utf8,noperm,dir_mode=0777,file_mode=0777 -t cifs // /storage/self/primary/xyz

all of them results in "no such device". Googling around, it seems its due to the kernel not supporting CIFS. But this also happen in LineageOS 17.1 where other people reports able to mount cifs, albeit on a different device.

WHat I could do to get cifs smb mount working?

  • 4
    If mount returns ENODEV (no such device) error it always indicates: "filesystemtype not configured in the kernel". You can simply check if your kernel supports CIFS: grep cifs /proc/filesystems. Might be helpful: android.stackexchange.com/a/201191/218526 Commented Jun 18, 2021 at 15:43


You must log in to answer this question.

Browse other questions tagged .