View previous topic :: View next topic |
Author |
Message |
TomorrowPlusX Apprentice
Joined: 07 May 2002 Posts: 168 Location: Washington DC, USA
|
Posted: Thu May 30, 2002 11:20 pm Post subject: Mounting an IDE zip disk |
|
|
On my old slackware box, I could mount a disk in my ide zip drive by associating /dev/hdc3 to /mnt/zip in my fstab.
Trouble is, gentoo doesn't *have* a /dev/hdc3 (what with devfs and all).
Looking right now in /dev/disks I see only my hard disk listed as
disc0 -> ../ide/host0/bus0/target0/lun0
Now, I would assume my zip drive would show up as
disc1 -> ../ide/host0/bus1/target0/lun0 (or something like that)
But as far as I can tell only my harddisk is represented.
I *have* compiled all the requisite options into my kernel, after all I did get slack to see my zip disk for a couple years, on the same hardware (a decent ibm thinkpad).
So, I imagine the trick is to add some special magic into /etc/devfsd.conf and /etc/modules.devfs -- but while I have read the manpages and have persued the files, I'm not really certain what actually to put into those files.
My other thought is that the devfs daemon isn't actually noticing the insertion of the zip disk, so it never adds any entries into /dev or modprobing the various drivers. Of course, one would expect a daemon like devfs to actually notice such things...
Any suggestions? |
|
Back to top |
|
|
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Fri May 31, 2002 2:21 am Post subject: |
|
|
It should be hd?4 not hd?3 _________________ ---
this space for rent |
|
Back to top |
|
|
TomorrowPlusX Apprentice
Joined: 07 May 2002 Posts: 168 Location: Washington DC, USA
|
Posted: Fri May 31, 2002 3:43 am Post subject: Yes, but the problem remains! |
|
|
Well yes, I was zero-indexing, due to brain fart, but the fact remains, hdc4 doesn't exist either! |
|
Back to top |
|
|
LinuxDude n00b
Joined: 27 Apr 2002 Posts: 57
|
Posted: Fri May 31, 2002 4:16 am Post subject: |
|
|
ya... i had to make mine.. hdd4... look for the particular code for making that dev entry by searching on google... i found one but it doesn't cover your particular device name hdc4.
-Chris |
|
Back to top |
|
|
TomorrowPlusX Apprentice
Joined: 07 May 2002 Posts: 168 Location: Washington DC, USA
|
Posted: Fri May 31, 2002 3:07 pm Post subject: Probably not much different |
|
|
Well I imagine making /dev/hdd4 isn't much different than making /dev/hdc4
How did you do it? I know from experience that googling a search like MAKENOD (or whatever) and hdc would give me a quintillion useless results. I tried a generic MAKENOD hdc but it built a set of entries for hdc, but they were all named hdc- and plenty of warnings were issued. I imagine I need to to this The Right Way for devfs to be happy, anyway, since doing an ls-al hd* in dev shows me that all the hda* entries are symlinks to /dev/ide/bus0/xxx
Would making a traditional node in dev screw with devfs? Is it dangerous?[/quote] |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 3:35 pm Post subject: Re: Probably not much different |
|
|
Making a link in devfsd.conf for /mnt/zip
Quote: | LOOKUP ^zip$ CFUNCTION GLOBAL symlink \
${mntpnt}/scsi/host0/bus0/target5/lun0/part4 $devpath
|
links /dev/zip (on first query) to /dev/scsi/host0/....
think you can figure out how you can convert this to ide.... _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
|