On Sat, 28 Mar 2015, Tim Carroll wrote:
...
# now start running the fsck on all disks
for i in $(cat fsck-list-new.txt); do e2fsck -fvy -C 0 $i; done
or
while $(cat fsck-list-new.txt); do e2fsck -fvy -C 0 ; done

while IFS= read -r line
do
  : whatever
done < fsck-list-new.txt

--
Chris F.A. Johnson, <http://cfajohnson.com>
---
Talk Mailing List
[email protected]
http://gtalug.org/mailman/listinfo/talk

Reply via email to