LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] backup options...

[ILUG] backup options...

Paul Jakma paulj at alphyra.ie
Wed Mar 20 02:31:52 GMT 2002


On Tue, 19 Mar 2002, kevin lyda wrote:

>     disk:
> 	needs to be hotswap.  ide hot swap seems to have poor support

apparently it's there already, see hdparm man page -U and -R options 
- not very informative though, but the hdparm source comes with a 
'idectl' script that uses those options:

[root at dunlop contrib]# cat /proc/ide/hdc/model 
COMPAQ SC-148F
[root at dunlop contrib]# ./idectl 1 off
[root at dunlop contrib]# cat /proc/ide/hdc/model 
cat: /proc/ide/hdc/model: No such file or directory
[root at dunlop contrib]# ./idectl 1 on 
[root at dunlop contrib]# cat /proc/ide/hdc/model 
COMPAQ SC-148F
[root at dunlop contrib]# ./idectl 1 off
[root at dunlop contrib]# cat /proc/ide/hdc/model 
cat: /proc/ide/hdc/model: No such file or directory
[root at dunlop contrib]# ./idectl 1 on
[root at dunlop contrib]# cat /proc/ide/hdc/model 
COMPAQ SC-148F
[root at dunlop contrib]# tail /var/log/messages
Mar 20 02:26:38 dunlop kernel: hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Mar 20 02:27:45 dunlop kernel: hdc: COMPAQ SC-148F, ATAPI CD/DVD-ROM drive
Mar 20 02:27:45 dunlop kernel: ide1 at 0x170-0x177,0x376 on irq 15
Mar 20 02:27:45 dunlop kernel: hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Mar 20 02:28:11 dunlop kernel: hdc: COMPAQ SC-148F, ATAPI CD/DVD-ROM drive
Mar 20 02:28:11 dunlop kernel: ide1 at 0x170-0x177,0x376 on irq 15
Mar 20 02:28:11 dunlop kernel: hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Mar 20 02:28:29 dunlop kernel: hdc: COMPAQ SC-148F, ATAPI CD/DVD-ROM drive
Mar 20 02:28:29 dunlop kernel: ide1 at 0x170-0x177,0x376 on irq 15
Mar 20 02:28:29 dunlop kernel: hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA

(kernel 2.4.17) so it seems to work fine... you just need an IDE cage
that allows hot-swap safely.

--paulj





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell