#!/bin/sh # Copyright 2016 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # args: -v -C / -k tmpfs,%T,tmpfs,0x1,uid=5446 SRCDIR="$(dirname "$0")" . "${SRCDIR}"/common.sh # check that the tmpfs mount has been made in this mount namespace grep "tmpfs.*ro.*uid=5446" /proc/mounts || die "tmpfs not mounted with data" exit 0