-
Senior Member
registered user
Bill... why not make a while loop to be sure?
This slight change would make sure pump is dead(I hope)
# Kill pump here so umounts are clean.
# Get pump's process id from ps for use in kill command.
pumpkill() {
ps | gawk '$4~/pump/{print $1 }' | ( read pumpPID #Closing parenthesis comes later
if [ -n "$pumpPID" ]
then
kill -15 $pumpPID 2>/dev/null # Send TERM signal
sleep 1 # Sleep for 1 second
kill -9 $pumpPID 2>/dev/null # Send KILL signal
sleep 1 # Sleep for 1 second
fi
) # Don't forget to put closing parenthesis here
} # and the closing brace
while [[ ! -z `ps -A | grep pump` ]] ; do
pumpkill
done
I think your way is better than the BLACKLIST hack... I haven't even used NFS yet.
But I have been enjoying seeing those clean image mounting since we started to resolve ourselves to fixing this bug.
cheers
Similar Threads
-
By Zagorax in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-17-2009, 03:20 PM
-
By Knopperdude in forum MS Windows & New to Linux
Replies: 2
Last Post: 04-20-2009, 12:33 AM
-
By luka in forum Hardware & Booting
Replies: 2
Last Post: 07-23-2008, 03:48 PM
-
By Claus33 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 02-11-2007, 11:01 AM
-
By dwieberd in forum Ideas
Replies: 0
Last Post: 12-27-2006, 10:58 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Apple Mac Pro 2019 1TB OEM SSD Kit-832GB +128GB - 656-0122/ 656-0121
$69.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

1TB Portable External Hard Drive USB 3.0 Storage Backup for PC Mac Laptop
$29.99