31 Oct
2011
31 Oct
'11
14:35
https://bugzilla.novell.com/show_bug.cgi?id=714995 https://bugzilla.novell.com/show_bug.cgi?id=714995#c8 --- Comment #8 from Per Jessen <per@opensuse.org> 2011-10-31 14:35:41 UTC --- (In reply to comment #4)
Sinec you are polishing the script, how about changing:
cat /proc/mounts | sed -ne '/^\/dev\/.*/p' | while read d m t o x; do
to the less resource demanding (one less process running) and even more readable:
sed -ne '/^\/dev\/.*/p' /proc/mounts | while read d m t o x; do
How about grep ^/dev /proc/mounts | while read d m t o x; do -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.