LinuxQuestions.org
Review your favorite Linux distribution.
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 06-01-2004, 06:10 PM   #1
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Rep: Reputation: 15
supermount is a lie


Hi,

I can't figure out how to setup supermount to mount my cdrw's. It simply will not do it. I want to be able to mount a cdr or a cdrom or a cdrw in this drive no bullshit. Is there another way to automatically mount and unmount media. In winblows this is no problem. Linux is just starting to get me aggravated it seems to primitive to compete with other os's. I've been trying to segway for a long while. I can't seem to get this whole mount thing to work.

thanx joe
 
Old 06-01-2004, 07:36 PM   #2
larrykeenan
Member
 
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
Hi Joe Here are the lines from my fstab in the etc directory:

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,user,iocharset=iso8859-15 0 0

none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto,ro,--,user,iocharset=iso8859-15 0 0

Notice these are actually ide drives but on startup I use emulation:
devfs=mount resume=/dev/hdb6 hdc=ide-scsi hdd=ide-scsi splash=silent acpi=ht

Hope this puts you on the right track.
Larry
 
Old 06-01-2004, 08:13 PM   #3
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Hi, me again

I am using scsi emulation also in 2.4.x i used devfs, and devfsd i use grub and my kernel arguments were as follows.

Kernel=/boot/bzImage hdb=scsi hde=scsi hdf=scsi

I had my fstab setup like you describe above i never changed my fstab, but i switched to linux-2.6.5 with scsi cdrom emulation. In 2.4 my cdroms were linked to the dvefs names by devfsd as sr0, sr1, sr2. What is the proper way to do scsi emulation in linux-2.6.5 i have it built into the kernel.
 
Old 06-02-2004, 01:40 AM   #4
larrykeenan
Member
 
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
I use 2.6.2 Kernel which still supports the old dev as well as devfs
Perhaps you may have better luck using the new devfs notation in fstab which looks like this.
my old dev/scd0 :
‎/dev/scsi/host0/bus0/target0/lun0/cd
my old dev/scd1:
‎/dev/scsi/host1/bus0/target0/lun0/cd

from the cli (command line interface) start with
$ ls /dev/scsi/
and work it out from there.

Mine are easy as they hang off the same bus

Sort of on topic My first ide drive which is hda would be
‎/dev/ide/host0/bus0/target0/lun0/disc

I haven't had time to read the advantages of the new system if any but when compiling my current kernel I read that dreaded word "depreciated" which always means soon to be deleted.

I hope it works I don't need it and am not about to experiment.

Larry
 
Old 06-02-2004, 01:08 PM   #5
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
Re: supermount is a lie

Quote:
Originally posted by behmjose
Hi,

I can't figure out how to setup supermount to mount my cdrw's. It simply will not do it. I want to be able to mount a cdr or a cdrom or a cdrw in this drive no bullshit. Is there another way to automatically mount and unmount media. In winblows this is no problem. Linux is just starting to get me aggravated it seems to primitive to compete with other os's. I've been trying to segway for a long while. I can't seem to get this whole mount thing to work.

thanx joe

I would just like to point out why Linux doesen't automount by default.

It is not because it is primative, but because it was designed as a networking os. All storage media are part of the filesystem in linux, and the source of the files you are accessing on a network would be invisible to you. The subtleties of this are lost when it is used as a single user desktop, but on a network the cd could be on any pc, and it would be up to the network administrator to decide what would or would not be available across the network. (Security!). Also, imagine the inconvenience if you were accessing files on a cd and someone decided to eject it on a whim. Again, only the network administrator would have the privileges to remove the medium.

It is only with the uptake of Linux as a desktop os that this has become an issue, and in true Open Source style, the problem is being addressed by the community.
 
Old 06-02-2004, 08:50 PM   #6
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Hi,

I understand where this is an advantage in ways yet i cease to see why the kernel cannot be intellegent enough to see the difference between a cdrom that is native to the computer it is running on and a foreign cdrom. I think things like this would make linux advantagous to the common person. I see lots of potential, but lots still lacking. I was venting my frustration mainly on how, i guess, linux seems to lack documentation in several areas, and the documentation that exists seems to be out of date lots of times.

thanx, joe
 
Old 06-03-2004, 01:12 AM   #7
ahh
Member
 
Registered: May 2004
Location: UK
Distribution: Gentoo
Posts: 293

Rep: Reputation: 31
Quote:
Originally posted by behmjose
Hi,

I understand where this is an advantage in ways yet i cease to see why the kernel cannot be intellegent enough to see the difference between a cdrom that is native to the computer it is running on and a foreign cdrom. I think things like this would make linux advantagous to the common person.

I agree, it would be an advantage. But even if the cd was on your personal pc, the kernel would also have to know you weren't on a network, or if you have a local network it would have to know somehow that it was a personal network.

I guess this could be done in a configuration file somewhere, but I'm not a kernel hacker so I don't know how easy it would be.

I don't kow what distro you are using, but in SuSE, whether using KDE or Gnome, cd's are mounted with a single click from an entry in the task bar or from the menu on the desktop. It also provides an icon to click on to mount/unmount media.
 
  


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
postfix/ldap/monit : where does the problem lie topcat Linux - Software 1 11-23-2004 10:28 PM
mii-tool lie to me czezz Linux - Networking 1 11-09-2004 05:07 AM
supermount echodoross Linux - Newbie 7 11-05-2003 10:10 PM
supermount and now what? demmylls Linux - General 5 10-13-2003 05:00 AM
Is it Lie-nux, or Lin-ux CragStar General 7 03-29-2001 04:20 PM

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

All times are GMT -5. The time now is 01:58 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