Hello J. R.,

> The name of RANDOM files are all numbers, right?
That's right.

> Ah, the two lines in the foreground script should be connected by &&,

Ah ok. Tried again after I made this change.
As you can see in the listing below, I let it run for 7 loops total.
Is this enough to make a statement?
The script works - whenever the check is running I can see on a
different shell with "watch -n 1 ls /mnt/ro_root/test/" that no changes
are being made.
He runs into "mount: /mnt/ro_root is busy" sometimes and waits another
5 secounds, as you can see. But that's just bad luck I guess ;)


- - - - - - - -
nibbler ~ # ./check-loop.sh 
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151630/394352 files (0.9% non-contiguous), 597724/1574362
blocks
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151624/394352 files (0.9% non-contiguous), 597720/1574362
blocks
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151645/394352 files (0.9% non-contiguous), 597721/1574362
blocks
mount: /mnt/ro_root is busy
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151640/394352 files (0.9% non-contiguous), 597716/1574362
blocks
mount: /mnt/ro_root is busy
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151746/394352 files (0.9% non-contiguous), 597816/1574362
blocks
mount: /mnt/ro_root is busy
mount: /mnt/ro_root is busy
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151659/394352 files (0.9% non-contiguous), 597751/1574362
blocks
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/sda1 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
nibbler: 151652/394352 files (0.9% non-contiguous), 597745/1574362
blocks
^C
- - - - - - - -


Have a nice day,

Marcus

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

Reply via email to