LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   supermount is a lie (https://www.linuxquestions.org/questions/linux-hardware-18/supermount-is-a-lie-188611/)

behmjose 06-01-2004 06:10 PM

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

larrykeenan 06-01-2004 07:36 PM

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

behmjose 06-01-2004 08:13 PM

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.

larrykeenan 06-02-2004 01:40 AM

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

ahh 06-02-2004 01:08 PM

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.

behmjose 06-02-2004 08:50 PM

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

ahh 06-03-2004 01:12 AM

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.


All times are GMT -5. The time now is 08:00 AM.