Home | History | Annotate | Download | only in src
      1 #!/bin/sh
      2 # Copyright 2016 The Chromium OS Authors. All rights reserved.
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 # args: -v -C / -k tmpfs,%T,tmpfs,0x1,uid=5446
      6 
      7 SRCDIR="$(dirname "$0")"
      8 
      9 . "${SRCDIR}"/common.sh
     10 
     11 # check that the tmpfs mount has been made in this mount namespace
     12 grep "tmpfs.*ro.*uid=5446" /proc/mounts || die "tmpfs not mounted with data"
     13 exit 0
     14 
     15