On Fri, 03 Jun 2005 04:30:20 +1000, Grant Coady Cried: Read These Runes!:
> Nah, just for fun
) 'hdparm -b' -> get/set bus state? me puzzled?
Using a removable device tray for IDE devices it's recommended to turn the
bus off before powering off the tray and removing the device.
Example:
hdparm -b1 /dev/hdf
/dev/hdf:
setting bus state to 1 (on)
busstate = 1 (on)
And dmesg shows:
Probing IDE interface ide2...
hde: CREATIVE CD-RW RW1210E, ATAPI CD/DVD-ROM drive
hdf: WDC WD400BB-00CAA0, ATA DISK drive
ide: drives found on hot-added interface.
hde: attached ide-default driver.
hdf: attached ide-disk driver.
hdf: host protected area => 1
hdf: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63, UDMA(100
This process is part of a script I use for rsync'ing my working installation
to a removable drive.
Thorn
--
I brake for chezlogs!