1*4882a593Smuzhiyun=================== 2*4882a593SmuzhiyunIDE warm-plug HOWTO 3*4882a593Smuzhiyun=================== 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunTo warm-plug devices on a port 'idex':: 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun # echo -n "1" > /sys/class/ide_port/idex/delete_devices 8*4882a593Smuzhiyun 9*4882a593Smuzhiyununplug old device(s) and plug new device(s):: 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun # echo -n "1" > /sys/class/ide_port/idex/scan 12*4882a593Smuzhiyun 13*4882a593Smuzhiyundone 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunNOTE: please make sure that partitions are unmounted and that there are 16*4882a593Smuzhiyunno other active references to devices before doing "delete_devices" step, 17*4882a593Smuzhiyunalso do not attempt "scan" step on devices currently in use -- otherwise 18*4882a593Smuzhiyunresults may be unpredictable and lead to data loss if you're unlucky 19