AWS EFS

This repo is mounted by: efs-utils
apt-get update
apt-get -y install binutils
cd /efs-utils
./build-deb.sh
sudo apt-get -y install ./build/amazon-efs-utils*deb
rm -rf /var/lib/apt/lists/*
24.9s
efs-utils (Bash)
cat  /etc/amazon/efs/efs-utils.conf
0.5s
efs-utils (Bash)

nil directory

nil efs-id

false readonly?

set -x
MOUNT_DIR="/volumes/${MOUNT_DIR:=_}"
EFS_ID="${EFS_ID:=_}"
READONLY="${READONLY:=}"
exec 2>&1
export
if [ "$READONLY" = "false" ]; then
  readonly_option=""
else 
  readonly_option=" -oro"
fi
if cat /proc/mounts | grep "${MOUNT_DIR} " >/dev/null 2>/dev/null; then
  umount -vf "$MOUNT_DIR" 
fi
mkdir -p "$MOUNT_DIR"
mount -t efs -o tls $readonly_option ${EFS_ID}:/ "$MOUNT_DIR"
0.8s
Bash
efs-utils
Runtimes (2)