SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The only way I can get the drive to mount is put a zip disk in the drive then boot slackware 12.Doing this I can remove that disk, insert another and open them. If I dont have a disk in the drive when I boot , the error is dev does not exist when I try to mount and open a disk. The fstab entry for the zip drive that worked for 10.2 wont work. Slack 12 names the device the same as slack 10.2. /dev/hdd4.
There are lines in the startup script about /dev/hdd4 but only mounts it if there is a disk in the drive.
Any suggestions to mount the ide zip drive in slack 12 with out a disk in the drive when I boot ?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Hi redbuds, Is your user a member of the plugdev group? I don't have a zip drive available to test it so, what does udev say about the disk? You can gather some ifo using this. There is a sticky at the top of this forum about hal that may help also.
Good luck. ;-)
Last edited by Peacedog; 10-10-2007 at 09:07 PM.
Reason: Wrong group on initial post. oops! ;-)
Thanks for replies. I am member of plugdev group. Udevinfo lists the drive . I don't know how to write a rule or even if thats what I need. All the examples in the reference were for USB devices.
Thanks for the rescan-scsi-bus command that will be handy I think. The output gave me everything attached to USB ports (memory sticks, printers) but nothing about my IDE zip drive.
Here is some of output from lshal.
The line with the star. storage.media_check_enabled = false (bool)
Can that be changed to true and maybe cure my problem ?
There is a line in /usr/bin/hal-device-manager Iomega Zip 100
storage-media-check-enabled strlist 0
Would changing that to 1 cure my problem ? If so how do I change the
0 to 1 ?
It seems to me that changing the line in /usr/bin/hal-device-manager from this:
storage-media-check-enabled strlist 0
to this:
storage-media-check-enabled strlist 1
might be the answer. This is similar to the situation with multi-card USB card readers -that only on boot-up can a card be detected. Inserting a card afterwards doesn't usually work as the device itself doesn't send any trigger event when inserting a card.
The ZIP drives probably behave in a similar way. If I understand correctly, changing the line as above will cause hal to check for the presence of a ZIP disk and (possibly) continue to check periodically for a disk.
In order to use a ZIP (IDE-ATAPI) in Slack without having to have a disk in the slot during boot you'll have to create a node (/dev/hdd4) that will be recreated at each boot up. In order to do this, you'll need to write a small script and place it in /etc/rc.d/rc.local. Here's what mine looks like:
Quote:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
#!/bin/bash
mknod /dev/hdd4 b 22 64
#End script
Note: your device high and low numbers may be different depending on where you ZIP device is installed on your system... IDE0 or IDE1, master or slave, etc.
Once you've installed your start-up node creation script, you'll need to adjust your fstab. Mine looks like this:
Quote:
/dev/hdd4 /mnt/zip vfat rw,noauto,user,sync 0 0
Reboot.
At this point, you should be able to mount your Zip as a user whenever you want.
Luck!
~Eric
PS: A variation of this works in most distros. I have it set up like this in Slackware, Debian, Ubuntu, Mint, Mepis, Zenwalk, and Vector. In the past, I've had it working like this in Fedora Core, SuSE, Mandriva, and Foresight.
I love my ZIP. I went through hell initially trying to get it to work in Linux, but once I found the magic method, it's worked in every distro for me since.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.