Try now with this version:
Code:# fetch -o /usr/local/sbin/automount https://raw.githubusercontent.com/vermaden/automount/master/automount # chmod +x /usr/local/sbin/automount
Code:
umass0: <JMicron External Disk 3.0, class 0/0, rev 3.00/4.07, addr 10> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x8100
umass0:2:0: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <JMicron Tech 0407> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 0000000045A9
da0: 400.000MB/s transfers
da0: 1907729MB (3907029168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
userx@FreeBSD.efi.net:~
$ tail /var/log/automount.log
2019-12-15 14:31:16 /dev/da0s2: detach
2019-12-15 14:31:26 /dev/ugen0.9: attach
2019-12-15 14:31:26 command 'simple-mtpfs' not found
2019-12-15 14:31:27 /dev/da0: attach
2019-12-15 14:31:27 /dev/da0: not a block device
2019-12-15 14:31:27 /dev/da0s2: attach
2019-12-15 14:31:27 /dev/da0s2: create '/media/da0s2' dir
2019-12-15 14:31:27 /dev/da0s2: fsck.ext4 You must have r/w access to the filesystem or be root
2019-12-15 14:31:27 command 'lklfuse' not found
2019-12-15 14:31:27 please install 'sysutils/fusefs-lkl' port or package
it is not finding mtpfs lklfuse (anymore )/(either)...
So I Installed them two missing pkg and
Code:
$ tail /var/log/automount.log
2019-12-15 16:05:55 /dev/ugen0.9: no MTP devices found
2019-12-15 16:05:55 /dev/da0: attach
2019-12-15 16:05:56 /dev/da0: not a block device
2019-12-15 16:05:56 /dev/da0s2: attach
2019-12-15 16:05:56 /dev/da0s2: create '/media/da0s2' dir
2019-12-15 16:05:56 /dev/da0s2: fsck.ext4 You must have r/w access to the filesystem or be root
2019-12-15 16:05:57 /dev/da0s2: filesystem mount retry: 1/3
2019-12-15 16:05:57 /dev/da0s2: mount OK: 'lklfuse -o type=ext4 -o allow_other -o intr -o uid=1000 -o gid=0 -o umask=002 /dev/da0s2 /media/da0s2'
2019-12-15 16:05:59 /dev/da0s2: chown '/media/da0s2' dir with 'userx:wheel' rights
2019-12-15 16:05:59 /dev/da0s2: starting 'pcmanfm' file manager
#####
Okay I thought I had does this to this OS too. made users and 100 gid to match the ownsership of the use on the drive, when I cahecked and seen it was not in this system as such I added users 100
Code:
$ id
uid=1000(userx) gid=1000(userx) groups=1000(userx),0(wheel),5(operator),44(video),100(users)
Code:
$ tail /var/log/automount.log
2019-12-15 16:15:57 /dev/ugen0.9: no MTP devices found
2019-12-15 16:15:58 /dev/da0: attach
2019-12-15 16:15:58 /dev/da0: not a block device
2019-12-15 16:15:58 /dev/da0s2: attach
2019-12-15 16:15:58 /dev/da0s2: create '/media/da0s2' dir
2019-12-15 16:15:58 /dev/da0s2: fsck.ext4 You must have r/w access to the filesystem or be root
2019-12-15 16:15:59 /dev/da0s2: filesystem mount retry: 1/3
2019-12-15 16:15:59 /dev/da0s2: mount OK: 'lklfuse -o type=ext4 -o allow_other -o intr -o uid=1000 -o gid=0 -o umask=002 /dev/da0s2 /media/da0s2'
2019-12-15 16:16:01 /dev/da0s2: chown '/media/da0s2' dir with 'userx:wheel' rights
2019-12-15 16:16:01 /dev/da0s2: starting 'pcmanfm' file manager
I'm seeing everything now, and it appears to be reading and writing to it without issues.
thanks