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.
When trying to mount my cdrom I get this message.
"mount /mnt/cdrom 2>&1" reported
mount: wrong fs type, bad option,bad superblock on /dev/hdb or to many mounted file systems.
here is my cdrom entry
/dev/hdb /mnt/cdrom iso9660 noauto,user,ro,unhide 0 0
I just went over this with somebody else. Probably you are trying to mount a disk with UDF fs while you only have it configured to read iso9660. Try autofs or subfs in the fstab.
Do you need an entry in /etc/fstab? If I become root I have no trouble mounting CDs with
mount /dev/hdc /home/andy/tmp
That's if the CD's OK. If it's fubar then I get an error message, obviously.
Some extra info. my drive is a dvd rom drive. So it mounts dvd fine but not cdroms. would this from help
fstab
/dev/cdrom /mnt/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
an entry like this should do the trick for every filesystem recognized by your kernel:
/dev/hdb /mnt/cdrom auto noauto,user,ro,unhide 0 0
Now - AhYup - as far as I know - autofs is something one needs to set up to be able to use it.
If there are problems, its best to stay simple until they are solved!?
The kernel has to be compiled with support for it and a user-space program has to be installed and configured for this to work - correct me if I'm wrong!
I did not really bother with installing/configuring it, because using Gnome it is just as easy to click some icon to mount/unmount and eject some media - but it could be cool: like in windows -you put the disc in and it is mounted automatically and unmounted after a time specified by config.
Actually you may be right. I thought that it was a base system default now but it may just be that some distros, like SuSE, tweak the kernel with it and subfs. I assume that subfs is the same.
I put subfs in slackware but never bothered to see if it worked right. I don't even know if I can find a UDF cd to test it. I use Slackware on my laptop and SuSE on my desktop. I hardly ever use the diskdrive on my laptop.
I just compiled the latest kernel on my laptop and don't remember seeing it in there unless it was one of the things I just breezed by. Are they both third party patches?
I just checked by calling "make menuconfig" in linux-2.6.7
- autofs (or more correctly - the needed kernel-support to get it working) is under option:
-->Filesystems --> Kernel automounter support with a help-hint on where to find the needed user-space tools
I have never heard of "subfs" ... what is it - it is not a mount-option - at least not with the version I have. If I call "man mount" and search for subfs - it is not in there.
SuSE sets it up by default. Apparently its one of their kernel tweaks but I gonna have to do a little more research. It actually works quite well. Man pages are often a little behind so it didn't shock me when I coudn't find it there. When I looked it up after I first installed SuSE I'd found a little faq on the net explaining that it was a method that worked a little faster than autoufs but I forget all the techy details. I went and assumed that it was added to the standerd base system, I should know better than assuming.
Thanks for setting that straight anyhow. I'm gonna get more info.
thanks for the info - I will have my eyes open and look for it. But not today or tomorrow - I'm just curious - one should never stop (trying to) learn...
Submount http://submount.sourceforge.net/ is a module you can install to enable removable media support. It has the advantage over supermount that you don't need to patch the kernel. I tried it a couple of months ago but it didn't seem to work as well as supermount but I didn't try very hard as supermount already does what I want. But I don't use supermount for CD's as I rarely mount them.
THanks for all the replies, however no luck. when i tried jomen suggestion I recieved the error message "I counld not determine filesystem type"
When I tried Cedrick I recieved the same error as before.
I'd have just _one_ filesystm-type specified per line and drive - i.e. I would - if you really need it - write two lines - one for iso9660 and one for udf
DVD-s have udf on them - as far as I know - so this would indicate, that here just the last entry gets used (udf) and mounting an iso9660 as an udf disc just _has_ to fail.
You need to be sure, that the CD is o.k. and an iso9660 and also that your kernel supports it. If iso9660 is a module - it has to be loaded to be successful here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.