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
Unknown Object (File)
Fri, Jun 7, 12:56 PM
Unknown Object (File)
May 18 2024, 12:47 PM
Unknown Object (File)
May 18 2024, 8:39 AM
Unknown Object (File)
Jan 8 2024, 11:47 AM
Unknown Object (File)
Dec 20 2023, 7:42 AM
Unknown Object (File)
Oct 18 2023, 8:43 AM
Unknown Object (File)
Sep 8 2023, 2:09 PM
Unknown Object (File)
Sep 2 2023, 7:31 PM
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.