The following addition to the (patched) /etc/init.d/networking script
would make it check for mounted ATA over Ethernet devices.

                case $DEV in
-                       /dev/nbd*|/dev/nd[a-z]*)
+                       /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
                                log_warning_msg "not deconfiguring network 
interfaces: network devices still mounted."
                                exit 0
                                ;;
                esac

A check for mounted iSCSI targets would also be nice.

Cheers,
-Hilko



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to