You are not logged in.

#1 2019-02-20 03:47

tlmiller76
Member
From: AZ, USA
Registered: 2016-11-29
Posts: 455

Anyone know the magic formula for cifs (smbfs) on centaurus?

So, I'm used to every version of Debian changes how autofs interacts with cifs-utils.  Trying to get autofs set up on my newly upgraded centaurus install (fresh install) and having trouble finding the right combination of options.

/etc/master:

#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
#/misc  /etc/auto.misc
/media/soth     /etc/auto.cifs -t=30

rest of file is stock

/etc/auto.cifs:

music   -fstype=cifs,guest,uid=$UID,gid=$GID     ://192.168.1.90/Music

To verify it works, manually mounting:

root@acer:/etc# systemctl stop autofs
root@acer:/etc# mount -t cifs -o guest //192.168.1.90/Music /media
root@acer:/etc# ls music
ls: cannot access 'music': No such file or directory
root@acer:/etc# ls /media/
'3 Doors Down'
 ACDC

This config works on Debian 9, Ubuntu 18.04, ROSA, and Arch linux, so I'm sure it's just the autofs options for Buster have changed, but no idea WHAT'S changed in the options!!!  If anyone has any ideas, I'd appreciate!  I am using systemd automount as a temporary workaround, but it seems much slower than autofs to me, and clutters up /etc/fstab...

Last edited by tlmiller76 (2019-02-20 04:29)


Q4OS Trinity machine - Crelander E160.  Intel Celeron N5105, 16GB LPDDR4, 512GB m.2 SATA SSD, Intel UHD graphics, Intel 7265 Wifi 5 + BT 4.x, 16" 3072x1920 LCD.

Offline

Board footer

Powered by FluxBB