Ethical Hacking Training at InfoSec Institute Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: attach & detach drives under Linux |
|---|---|
| Date: | Sun, 23 Oct 2005 21:28:59 -0400 |
Devfs is dead and now deprecated. (Don't I look silly for saying this?!?! LOL) You're in quite the conundrum there - if you stick with devfs. Because the nodes won't be there until they're recognized. That's the beauty of devfs - and in your case, the ugly! I'll be curious to hear of how you settle this. I think the most sane route is not using devfs for your program. regards, farmerdude On Tue, 2005-10-18 at 17:11, Simson Garfinkel wrote:
As some of you know, I am developing a new drive imaging program. It runs pretty well under FreeBSD and I'm trying to get it to work under Linux. One of the problems I'm having under Linux is the difficulty of attaching and detaching IDE drives .(I've discovered that imaging failing drives with a firewire or USB write-blocker is a disaster.) With FreeBSD this is quite easy: the atacontrol command has an "attach" and a "detach" sub-commands, which allow you to attach and detach devices on the IDE interface. The Linux hdparm command has a -U option or unregister an ATA device and a -R option to register one. The problem is this: it also needs to have a /dev/hda device if you are, for example, trying to register or unregister device /dev/hda. But if you are using devfs, /dev/hda disappears when it is unregistered and it's not there to register. Is there a simple way around this? (Other than booting knoppix, that is.)
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Worm Origin, frederic.stonesifer |
|---|---|
| Next by Date: | RE: Worm Origin, dave kleiman |
| Previous by Thread: | Re: attach & detach drives under Linux, Greg Freemyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |