Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting an IDE zip disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TomorrowPlusX
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 168
Location: Washington DC, USA

PostPosted: Thu May 30, 2002 11:20 pm    Post subject: Mounting an IDE zip disk Reply with quote

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
View user's profile Send private message
id10t
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2002
Posts: 100

PostPosted: Fri May 31, 2002 2:21 am    Post subject: Reply with quote

It should be hd?4 not hd?3
_________________
---
this space for rent
Back to top
View user's profile Send private message
TomorrowPlusX
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 168
Location: Washington DC, USA

PostPosted: Fri May 31, 2002 3:43 am    Post subject: Yes, but the problem remains! Reply with quote

Well yes, I was zero-indexing, due to brain fart, but the fact remains, hdc4 doesn't exist either!
Back to top
View user's profile Send private message
LinuxDude
n00b
n00b


Joined: 27 Apr 2002
Posts: 57

PostPosted: Fri May 31, 2002 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
TomorrowPlusX
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 168
Location: Washington DC, USA

PostPosted: Fri May 31, 2002 3:07 pm    Post subject: Probably not much different Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 3:35 pm    Post subject: Re: Probably not much different Reply with quote

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.... :wink:
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum