https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 18499283d45a87da334d14a98798fe481f34014f authored by Jason Self on 27 June 2017, 09:49:32 UTC
Linux-libre 3.10.107-gnu
Tip revision: 1849928
warm-plug-howto.txt

IDE warm-plug HOWTO
===================

To warm-plug devices on a port 'idex':

# echo -n "1" > /sys/class/ide_port/idex/delete_devices

unplug old device(s) and plug new device(s)

# echo -n "1" > /sys/class/ide_port/idex/scan

done

NOTE: please make sure that partitions are unmounted and that there are
no other active references to devices before doing "delete_devices" step,
also do not attempt "scan" step on devices currently in use -- otherwise
results may be unpredictable and lead to data loss if you're unlucky
back to top