Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I am a noob and I would like to know how to change a device name from /dev/hdd to /dev/zip. I already seached a bunch of pages and found instructions for redhat, but that isn't working (says it doesn't recognize the command).
I created the link and that seems to work fine. However, it is still showing /hdd mount during bootup. The only problem with this is my zip drive is removable (I have a laptop) and I sometimes have the floppy drive in instead. I thought there might be issues with bootup if it looks like part of the hard drive isn't there. I changed the fstab entry to:
/dev/zip /media/zip auto noauto,ro,users,exec 00
This is like the floppy drive entry, which is automatically detected/mounted, but that isn't working for my zip. I can still use it, and I can save to it, though the /media/zip folder doesn't work, the /zip folder does which is a bit odd. But I have to mount it everytime I start up the computer. Is the /hdd thing during bootup going to be a problem??
You could use autofs to automount the filesystem when you change to the mount point, but that is not exactly what you want. You would still need to manually unmount the disk or wait for a timeout to occur before exfecting the media. Mankrake has something called supermount which automatically mounts the disk and flush the cache immediately to disk allowing you to eject the disk without having to umount it. I don't know much details about it, but I am checking into it now. This is a good like to start with. http://supermount-ng.sourceforge.net/
I finally got it working properly. Here's what I did:
added partition 1
I already had a directory for /media/zip
my fstab directory looks like:
/dev/hdd1 /media/zip ext2 noauto,rw,user,nosuid,sync 0 0
I also had to do a:
chmod a+rw /media/zip to allow reading and writing for all users
When I first boot, the noauto will allow for boot even if the /hdd1 is not available (as I understand it) which is necessary for me because my zip is removable.
It is not mounted at first, but if I click on the zip icon on my desktop, it automatically mounts.
I think I have avoided the problems that I was concerned about.