LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-02-2004, 03:59 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
usb floppy and cdrom getting confused using supermount


I have several usb devices that i am trying to get to automatically mount. I have a keyring style flash device, a usb floppy and a usb cdrom.

I have a script that automatically mounts the flash device, assigns it a mount point (for any amount of devices added) and will unmount and remove the mount point if the device is removed.

I cant use that script for the floppy and cdrom because it wont recognise a disk being removed and replaced only if the device is removed from the usb port. So i am going to use supermount for floppy and cdrom devices.

There is a couple of lines in my /etc/fstab that will automatically mount my cdrom and floppy when they are plugged into usb ports. Note that i am using devfsd:

floppy /mnt/floppy supermount fs=vfat,dev=/dev/scsi/host0/bus0/target0/lun0/disc

cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom

however, what i wanted was to have the usb floppy to mount to /mnt/floppy but its moaning that the block device doesnt exist and currently adding /dev/scsi/etc/etc/disc is the only way.

Another resulting problem is that if, at reboot, the cdrom is plugged in and the floppy isnt, the cdrom is automatically device: /dev/scsi/host0/bus0/target0/lun0/cd. This means when you plug the floppy in the cdrom has already been given the device that was assigned it in the fstab resulting in a non mounting floppy.

Can someone give me an idea as to what i can do to resolve this please?
 
Old 03-05-2004, 09:07 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
anyone?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb flash mandrake 10 supermount chil326 Linux - Hardware 0 08-24-2004 02:00 PM
Debian unstable - supermount and usb-storage !nkubus Debian 1 07-19-2004 01:42 PM
Access to floppy freezes system (Supermount already disabled) Mr. Gone Linux - Software 3 04-05-2004 02:47 PM
thinkpad 570 no floppy and usb cdrom that computer can not see slink44 Linux - Laptop and Netbook 0 01-26-2004 06:19 AM
can't read files from /mnt/cdrom, doesn't look like its supermount problem... sirpelidor Linux - Software 1 11-21-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration