Hello, I am finally using automount/autofs for mounting home samba shares (and my BlackBerry 10 phone, which has also Windows sharing enabled [samba inside]). Work reliably even with laptop sleeps and moving between networks (proper timeouts, no hangs etc.).
My /etc/auto_master file:
My /etc/auto_smbfs file:
Now, I need something for reliable mounting SSH filesystems (my dev and production servers). There is fuse-sshfs with "sshfs" util, but in some circumstances, fuse completely hang every proces, that tries to access hanged ssh filesystem mount. I can't even unmout dead mount point as root sometimes. Don't like FUSE.
Is there some working way to automount ssh filesystems, preferably with default FreeBSD automount/autofs?
My /etc/auto_master file:
Code:
/mnt/smbfs /etc/auto_smbfs
My /etc/auto_smbfs file:
Code:
some-server/public -fstype=smbfs,-N,-u=pf,-g=pf,-f=0660,-d=0770,-E=utf8:utf8 ://pf@some-server/public
bb/phone -fstype=smbfs,-N,-u=pf,-g=pf,-f=0660,-d=0770,-E=utf8:utf8 ://pf@BLACKBERRY-PF/media
bb/card -fstype=smbfs,-N,-u=pf,-g=pf,-f=0660,-d=0770,-E=utf8:utf8 ://pf@BLACKBERRY-PF/removable_sdcard
Now, I need something for reliable mounting SSH filesystems (my dev and production servers). There is fuse-sshfs with "sshfs" util, but in some circumstances, fuse completely hang every proces, that tries to access hanged ssh filesystem mount. I can't even unmout dead mount point as root sometimes. Don't like FUSE.
Is there some working way to automount ssh filesystems, preferably with default FreeBSD automount/autofs?