Solved USB stick and HDD external

nebulus

Member


Messages: 22

#1
Hi everyone,
I'm in xfce freebsd 11.1 . I can't mount my usb stick and my hdd external :( I have installed fusefs-ntfs and thunar-vfs but nothing...
Can you help me ?
Thanks
 

Phishfry

Son of Beastie

Thanks: 925
Messages: 2,896

#2
I use gvfs and it needs HAL enabled in /etc/rc.conf to automount.

NTFS can really be tough. There are alot of different NTFS type of partitions. Some like Dynamic are even more trouble.
A thumbdrive with NTFS should work without issue using fuse.

To mount at startup you need to have the following line in /boot/loader.conf:
Code:
fuse_load="YES"
This is a recent command from my history:
ntfs-3g /dev/ada1s1 /mnt/windows
This mounts a secondary hard drive in a drive bay at /mnt/windows
I had already created the /mnt/windows sub-directory for my convenience.

To mount a USB Thumbdrive would be similar:
ntfs-3g /dev/da0s1 /mnt
This mounts a thumbdrive /dev/da0s1 onto the default FreeBSD /mnt

To find an unknown partition name use ls /dev and look at the ada* entries and da* entries for partition hints.
Then you can query a disk or partition layout with: file -s /dev/da0



The fusefs-ntfs3g instructions are located here:
cat /usr/local/share/doc/ntfs-3g/README.FreeBSD | more
 
OP
OP
nebulus

nebulus

Member


Messages: 22

#4
Yes it ok with
Code:
fuse_load="YES"
in /boot/loader.conf
Except for the label...
and I must connect as root for eject...
Thanks you very much :)
 
OP
OP
nebulus

nebulus

Member


Messages: 22

#6
thanks but I have the same problem with dsbmd I can't eject as user : "umount: unmount of /media/da2 failed: Operation not permitted"
 

mrclksr

Active Member

Thanks: 95
Messages: 129

#7
thanks but I have the same problem with dsbmd I can't eject as user : "umount: unmount of /media/da2 failed: Operation not permitted"
Have you set the sysctl variable vfs.usermount set to 1 before mounting the device using DSBMC or DSMC-Cli?
 
Top