mount complaining no device file

It is nearly two months since I installed FreeBSD (vesion 15) in the two desktops I have. I have xfce and automounter installed. Everything was working well until now. Now when I insert a pendrive in one of the desktops, I can't open it in thunar though it appears in its side bar. When I click it to open it, a dialog showing 'Mount: failed with .' comes up. The pendrive shows up in dmesg as da0. However, when I try doas mount /dev/da0s1 /media/, I get the error mount: /dev/da0s1: No such file or directory. But, ls returns the result given below -
Code:
crw-r-----  1 root operator 0x1c3 Mar 29 21:07 /dev/da0
crw-r-----  1 root operator 0x1c4 Mar 29 21:07 /dev/da0s1

The same USB pendrive works well in the other desktop. What could be the problem and how can I solve it?

Thanks
 
what type of filesystem is supposed to be on da0s1? I know mount typically does a good job of figuring out which external mount command to use (mount -t) but it may fail sometimes.
If you know what it's supposed to be, figure out which "type" (-t option) and explicitly state that
 
Thanks for the reply. I connect the pendrive to my android phone too. So, it is formatted by Android as FAT. In the desktop in which the pendrive is working, the fs is reported as msdosfs. The command
doas mount -t msdosfs /dev/da0s1 /media/
also returns an error mount_msdosfs: /dev/da0s1: Invalid argument.
 
And you have really verified that the device is showing up as ad0? Basically:
take the drive out of the system
ls -ltr /dev/da*
put the device in, wait 15 secs
ls -ltr /dev/da*

The device should be the difference between the two ls commands.
 
Yes, as da0

Without the pendrive attached, there are no matches for '/dev/da*' and after attaching, ls gives
Code:
crw-r-----  1 root operator 0x86 Mar 29 22:36 /dev/da0
crw-r-----  1 root operator 0x87 Mar 29 22:36 /dev/da0s1
 
I think I have solved the problem. In the working desktop, I had installed automount and in the problem desktop, I had installed
automounter . Though I don't know what is the reason, after I uninstalled automounter and installed automount , the pendrive is getting detected.
It would be nice if someone can explain the difference between the two.
 
Back
Top