Talk:AutoFS

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Links to other wikis

Talk status
This discussion is done.

I don't see much advantage to link to the other wiki page, rather expand this page? There is more about udev than autofs in the other article. You can actual easily define UUID for certain devices (gonne add this now) as shown in Amazon Kindle, the only advanced thing is to dynamic create entries for autofs via udev... Disi 10:11, 24 November 2011 (UTC)

More details are necessary

Talk status
This discussion is still ongoing.
  1. .

How to start autofs daemon with systemd, and is it necessary at all? https://unix.stackexchange.com/questions/374103/systemd-automount-vs-autofs/375602

   # systemctl enable autofs
   Created symlink /etc/systemd/system/multi-user.target.wants/autofs.service → /lib/systemd/system/autofs.service.
   # systemctl status autofs
       ● autofs.service - Automounts filesystems on demand
        Loaded: loaded (/lib/systemd/system/autofs.service; disabled; vendor preset: disabled)
        Active: active (running) since Wed 2021-05-05 14:31:59 -00; 3s ago
      Main PID: 1806436 (automount)
         Tasks: 3 (limit: 19165)
        Memory: 1.2M
           CPU: 9ms
        CGroup: /system.slice/autofs.service
                └─1806436 /usr/sbin/automount --systemd-service --dont-check-daemon
   
   May 05 14:31:59 localhost systemd[1]: Starting Automounts filesystems on demand...
   May 05 14:31:59 localhost systemd[1]: Started Automounts filesystems on demand.
  1. .

«Note: You no longer need to load autofs4 module.» Why?

   # zgrep "CONFIG_AUTOFS_FS" /proc/config.gz
   CONFIG_AUTOFS_FS=y

«If you want to use the newer version of the automounter with more features, say N here and say Y to "Kernel automounter v4 support", below.»

   # zgrep "CONFIG_AUTOFS4_FS" /proc/config.gz
   CONFIG_AUTOFS4_FS=y

My system somehow have both of them "y".

  1. .
   [ebuild  N     ] net-fs/autofs-5.1.6-r1::gentoo  USE="(libtirpc) systemd -dmalloc -ldap -mount-locking -sasl" 308 KiB

"dmalloc" USE-flag is not described

Einstok Fair (talk) 14:18, 5 May 2021 (UTC)