About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / ide / warm-plug-howto.txt




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:03 EST.

1	
2	IDE warm-plug HOWTO
3	===================
4	
5	To warm-plug devices on a port 'idex':
6	
7	# echo -n "1" > /sys/class/ide_port/idex/delete_devices
8	
9	unplug old device(s) and plug new device(s)
10	
11	# echo -n "1" > /sys/class/ide_port/idex/scan
12	
13	done
14	
15	NOTE: please make sure that partitions are unmounted and that there are
16	no other active references to devices before doing "delete_devices" step,
17	also do not attempt "scan" step on devices currently in use -- otherwise
18	results may be unpredictable and lead to data loss if you're unlucky
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.