Sha256: 9f43efb61d064f7e4456cac02aa42272c7c848c15dc031d88ca227ef1113c676

Contents?: true

Size: 298 Bytes

Versions: 31

Compression:

Stored size: 298 Bytes

Contents

#!/bin/bash

device="$1"; shift
mntpt="$1"; shift

mkfs.btrfs "${device}" 2>/dev/null || :

mount "${device}" /mnt 2>/dev/null || :
btrfs filesystem resize max /mnt 2>/dev/null || :
umount /mnt 2>/dev/null || :

mkdir -p "${mntpt}"
mount -t btrfs -o "rw,noatime,space_cache" "${device}" "${mntpt}"

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
docker-utils-0.1.11 ./share/scripts/provision-volume
docker-utils-0.1.10 ./share/scripts/provision-volume
docker-utils-0.1.9 ./share/scripts/provision-volume
docker-utils-0.1.8 ./share/scripts/provision-volume
docker-utils-0.1.7 ./share/scripts/provision-volume
docker-utils-0.1.6 ./share/scripts/provision-volume
docker-utils-0.1.5 ./share/scripts/provision-volume
docker-utils-0.1.4 ./share/scripts/provision-volume
docker-utils-0.1.3 ./share/scripts/provision-volume
docker-utils-0.1.2 ./share/scripts/provision-volume
docker-utils-0.1.0 ./share/scripts/provision-volume