blob: c245242ef2f159db32fa7bcc2e273056459a4dc5 [file] [log] [blame]
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -03001===================
Bartlomiej Zolnierkiewiczf74c9142008-04-18 00:46:23 +02002IDE warm-plug HOWTO
3===================
4
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -03005To warm-plug devices on a port 'idex'::
Bartlomiej Zolnierkiewiczf74c9142008-04-18 00:46:23 +02006
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -03007 # echo -n "1" > /sys/class/ide_port/idex/delete_devices
Bartlomiej Zolnierkiewiczf74c9142008-04-18 00:46:23 +02008
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -03009unplug old device(s) and plug new device(s)::
Bartlomiej Zolnierkiewiczf74c9142008-04-18 00:46:23 +020010
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -030011 # echo -n "1" > /sys/class/ide_port/idex/scan
Bartlomiej Zolnierkiewiczf74c9142008-04-18 00:46:23 +020012
13done
Bartlomiej Zolnierkiewicz02c84bd2009-01-06 17:21:00 +010014
15NOTE: please make sure that partitions are unmounted and that there are
16no other active references to devices before doing "delete_devices" step,
17also do not attempt "scan" step on devices currently in use -- otherwise
18results may be unpredictable and lead to data loss if you're unlucky