Page MenuHomeFreeBSD

Add /etc/autofs/special_efs to EC2 images
ClosedPublic

Authored by cperciva on May 10 2020, 2:58 AM.
Tags
None
Referenced Files
F102967837: D24791.id71601.diff
Tue, Nov 19, 7:54 AM
Unknown Object (File)
Fri, Nov 15, 10:24 PM
Unknown Object (File)
Oct 12 2024, 10:51 PM
Unknown Object (File)
Oct 1 2024, 3:39 PM
Unknown Object (File)
Oct 1 2024, 1:25 PM
Unknown Object (File)
Sep 18 2024, 8:33 PM
Unknown Object (File)
Sep 17 2024, 6:28 PM
Unknown Object (File)
Sep 9 2024, 12:36 AM
Subscribers

Details

Summary

This makes it possible to automount Amazon Elastic File System filesystems on EC2 by placing "/efs/ -efs" into auto_master and setting autofs_enable="YES" in rc.conf.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cperciva created this revision.

If D24763 and D24764 are accepted, I'll also add a /etc/autofs/master_efs file to EC2 instances, so that EFS can be enabled simply by adding

autofs_enable="YES"
autofs_masters="efs"

to /etc/rc.conf.

Hm, why not add this file like all other special maps, so that it’s installed unconditionally?

My policy thus far has been to avoid having EC2-specific code in "stock" FreeBSD as much as possible. (There have been exceptions, like the NFS "oneopenown" option, but those were unavoidable.)

This policy might change in the future, but for now I don't see any pressing reason to change it.

This revision is now accepted and ready to land.May 11 2020, 2:22 PM
This revision was automatically updated to reflect the committed changes.