service automounter stop
undefinedroot@X1:~ # service automounter stop
automounter does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
# pkg search automount
automount-1.7.9 FreeBSD's devd(8) based automount solution
automounter-1.5.1 Provides scripts to dynamically configure amd
# pkg info | grep automount this returns nothing
# which automount
/usr/sbin/automount
# pkg info -r automount
pkg which /usr/local/etc/devd/automount_devd.conf
/usr/local/etc/devd/automount_devd.conf was installed by package automount-1.7.9
service
. It does install a config file into /usr/local/etc/devd/automount_devd.conf and you're expected to edit that to your needs.--- a/sysutils/automount/Makefile
+++ b/sysutils/automount/Makefile
@@ -2,6 +2,7 @@ PORTNAME= automount
DISTVERSION= 1.7.9
CATEGORIES= sysutils
MASTER_SITES= https://raw.github.com/vermaden/automount/master/
+WRKSRC= ${WRKDIR}
MAINTAINER= vermaden@interia.pl
COMMENT= FreeBSD's devd(8) based automount solution
@@ -9,7 +10,7 @@ WWW= https://github.com/vermaden/automount/
LICENSE= BSD2CLAUSE
-PLIST_FILES= sbin/automount etc/devd/automount_devd.conf etc/automount.conf.sample
+PLIST_FILES= sbin/automount etc/devd/automount_devd.conf.sample etc/automount.conf.sample
NO_BUILD= yes
NO_ARCH= yes
@@ -29,7 +30,7 @@ EXFAT_RUN_DEPENDS= fusefs-exfat>=0:sysutils/fusefs-exfat \
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/automount ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKDIR}/automount_devd.conf \
- ${STAGEDIR}${PREFIX}/etc/devd
+ ${STAGEDIR}${PREFIX}/etc/devd/automount_devd.conf.sample
${INSTALL_DATA} ${WRKDIR}/automount.conf \
${STAGEDIR}${PREFIX}/etc/automount.conf.sample
The sysutils/automount is a tool written by our honorable vermaden.
It is not aservice
. It does install a config file into /usr/local/etc/devd/automount_devd.conf and you're expected to edit that to your needs.
Update/correction: You're apparently not yet supposed to edit that, because vermaden should fix the makefile first
The sysutils/automount is a tool written by our honorable vermaden.
It is not aservice
. It does install a config file into /usr/local/etc/devd/automount_devd.conf and you're expected to edit that to your needs.
Update/correction: You're apparently not yet supposed to edit that, because vermaden should fix the makefile first![]()
I don't think so. One would probably need to temporarliy remove that devd config file and somehow reload theIf it isn't a service, is there any way to temporarly disable it?
devd
.It doesn't really need fixing. The piece is designed to do automounts for all kind of filesystems, apparently for desktop use, and to "just do it"(tm), in the fashion like e.g. Apple machines do work without need of configuration.And does vermaden know the makefile needs fixing?
Perhaps try usingIf it isn't a service, is there any way to temporarly disable it?
BLACKLIST
or BLACKLIST_REGEX
:# /usr/local/sbin/automount -h
AUTOMOUNT is a devd(8) based automounter for FreeBSD.
It supports following file systems:
[...]
BLACKLIST (unset by default)
The automount will ignore devices defined here.
example: BLACKLIST='da0 da3s1a'
BLACKLIST_REGEX (unset by default)
The boolean flag option complements the above BLACKLIST option
if one wants regex match instead of exact match for ignoring devices.
Below will ignore all partitions ada0p1/ada0p2/... of ada0 device.
example: BLACKLIST='ada0'
BLACKLIST_REGEX=true
Hi,It does install a config file into /usr/local/etc/devd/automount_devd.conf and you're expected to edit that to your needs.
![]()
Not sure what this is supposed to do...Hi,
the only thing that you could/should edit is the /usr/local/etc/automount.conf config.
No need to edit/modify /usr/local/etc/devd/automount_devd.conf file.
Regards,
vermaden
cat /usr/local/etc/automount.conf
USERUMOUNT=YES
Looked atWhat happens if you set it to 'NO'?
/usr/local/sbin/automount -h
?I only want to temporarily disable it. ie toggle it on and off whenever I want to have personal control over mounting.To disable this automount, which from your OP sounds like it's what you want, I would do the following:
pkg delete automount -y
service devd restart
Can I do this by changing /usr/local/sbin/automount to include the following:-What I would like to be able to do, apart disabling it temporarily, is to mount ext2/3/4 partitions withmount -t ext2fs
, rather thanlklfuse
e. I don't know how to configure that.
(${FS_TYPE_EXT4})
FS_CHECK_PORT='sysutils/e2fsprogs'
FS_CHECK_CMD='fsck.ext4'
FS_CHECK_ARGS="-y"
FS_MOUNT_CMD='mount'
FS_MOUNT_ARGS="-t ext2fs"