umass doesn't work here
Eric Anderson
anderson at centtech.com
Tue Mar 15 12:57:20 PST 2005
Xavier Maillard wrote:
> On 14 Mar 2005, Ian Dowse wrote:
>
>
>>In message <plop85fyyz8763.fsf at gnu-rox.org>, Xavier Maillard
>>writes:
>>
>>>When I plug my USB key, I should see something in my
>>>/var/log/messages as stated into my
>>>/usr/local/etc/devd/umass.conf file:
>>
>>...
>>
>>>But nothing happens.
>>
>>Two things you could try are:
>>
>>o Add `device ehci' to your kernel config
>
>
> This seems to be *the* trick. I added it and now I can see
> umass/da messages in my logs.
>
> Now my new problem is that, the key can't be mounted at all.
>
> I added vfs.usermount sysctl:
>
> ,----[ sysctl -a | grep vfs.usermount ]
> | vfs.usermount: 1
> `----
>
> Rights on my da* devices should be correct:
>
> ,----[ ls -al /dev/da* ]
> | crw-rw-rw- 1 root operator 10, 106 Mar 15 21:21 /dev/da0
> | crw-rw-rw- 1 root operator 10, 105 Mar 15 21:21 /dev/da0s1
> `----
>
> And here is how I am trying to mount the key (error enclosed):
>
> ,----[ mount -t msdos /dev/da0 /home/zedek/sys/mnt/usbkey/ ]
> | msdosfs: /dev/da0: Invalid argument
> `----
Don't you mean:
mount -t msdos /dev/da0s1 /home/zedek/sys/mnt/usbkey/
?
Eric
--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
I have seen the future and it is just like the present, only longer.
------------------------------------------------------------------------
More information about the freebsd-current
mailing list