Mr. Junjiro R. Okajima,
1. Suggested code snip
Do you mean that I should run your code snip in the chroot
environment like this:
#! /bin/bash
while read dev dir type rest
do
echo $type
stat -f -c %T $dir
done < /proc/mounts
2. Directory /tmp/jailcache.ro.var in the chroot
I can't see the directory /tmp/jailcache.ro.var in the chroot
environment. I can see it only in the file /proc/mounts and there
it has the FSTYPE ext3.
3. Questions about the script journal-commit
The script journal-commit gets its info about the file system type
from /proc/mounts. Is that right?
The script run the following mount command only if it has found the
file system type ext3 in /proc/mounts. Is that right?
mount -o remount,commit=0 /tmp/jailcache.ro.var
If the scripts finds a file system type like aufs or tmpfs in
/proc/mounts it doesn't call the mount command. Is that right?
Regards,
Robert Wotzlaw
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure