blob: 7110402ddeb0487dceb184e3bf0d6db532a804b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
test "$SUDO" || skip
test "$UNAME" = "Linux" || skip
clean_scratch
mkdir scratch/mnt
sudo mount -t tmpfs tmpfs scratch/mnt
trap "sudo umount scratch/mnt" EXIT
sudo mount -t ramfs ramfs scratch/mnt
trap "sudo umount scratch/mnt; sudo umount scratch/mnt" EXIT
bfs_diff scratch/mnt -fstype ramfs -print -o -printf '%p: %F\n'
|