l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:13

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] DevFS: it works! But problems with IOMEGA Zip...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] DevFS: it works! But problems with IOMEGA Zip...

Hey Pete,

I wanted to let you know that I figured out how to get my zip drive 
working--it was pretty easy, actually.

Looking at the man page for devfsd, I saw a good example for getting the
good ole cdrom softlink persistent. There is a command called LOOKUP--here
is the example line as I've implemented it in my system's /etc/devfsd.conf

LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom4 $devpath

My CDROM happens to be /dev/cdroms/cdrom4 (the example had cdrom0
instead), but your mileage may vary.  What's cool about this is that as
soon as the path /dev/cdrom is accessed, a softlink magically appears in
the /dev filesystem. All I need to do is type 'ls -l /dev/cdrom'. Cool, 

So, on to my zip drive (first I had to put a bloody disk in the drive :|,
then a scsi entry appeared--D'OH!). So, all I have to do is add a line in
my devfsd.conf file like so:

	${mntpnt}/scsi/host0/bus0/target5/lun0/part4 $devpath

Once I access /dev/zip (which was soft linked to /dev/sda4 in my old 
dev directory), voila! access to my zip drive happens!


On Wed, 21 Nov 2001, Peter Jay Salzman wrote:

> hi doug,
> i don't have a zip drive, so i can't help you much.  however, i found some
> things on http://groups.google.com/advanced_group_search that may be of help.
> did a search on "zip drive devfs" and found some things which might be of use
> to you.
> (excuse me if you tried deja already.  it's my knee jerk reaction for most
> things)
> here's an example of something which seemed relevant (this is still
> "experimental" so ymmv for a few months):
> btw, it also occured to me that:
> 1. the linux-kernel archives might be a good place to look too.  i'm sure
> they have a searchable archive somewhere.
> 2. what kernel version are you using?  you may want to use the most recent
> kernel version, especially since devfs is being aggresively developed.
> ----
> A brief update: Both my scsi JAZ drive and IDE Zip drive do not show up under
> devfs after a
> reboot.  However, if I try to mount my Jaz using the old command:
>         mount /dev/sda4 /mnt/jaz
> it works, even though neither /dev/sda4 nor
> /dev/scsi/host0/bus0/target1/lun0/part4 exist yet.  After the mount they
> do.  Trying to mount the devfs location initially will fail until the node
> /dev/scsi/host0/bus0/target1/lun0/part4 has been created by the old
> non-devfs mount command above. In order to mount my Zip disk I must first try
> mounting it with the old
> command:
>         mount /dev/hdd4 /mnt/zip
> and THEN reload the ide-floppy module, THEN try remounting using the old
> command, after which the devfs node /dev/ide/host0/bus1/target1/lun0/part4
> then exists. Very odd.  Any ideas why? JTD
> ----
> begin: R. Douglas Barbieri <doug@dooglio.net> quote
> > Well, Pete, I have to say that you were right--hooking up devfs was a
> > snap! All I had to do was recompile the kernel with DEVFS turned on (I'm
> > running Redhat 7.1--compiling the kernel source is a snap with the RPM
> > package kernel-source installed).
> > 
> > The only thing I can't get to work is my IOMEGA Zip drive. I do a modprobe 
> > for imm, and it used to become available on /dev/sda4. Under devfs, a 
> > /dev/scsi/... directory appears, but has no entries. Has anyone out there 
> > had experience with this? Is there some tuning I have to do in 
> > /etc/devfs.conf?
> > 
> > Thanks!
> > 
> > Doug

R. Douglas Barbieri

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.