LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-17-2003, 12:05 PM   #1
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
Supermount question


Hello everybody,

I've got a question about something which didn't happen in Mdk 9.1 with supermount : when opening a konqueror file explorer and trying to go to /mnt, it takes 4-5 seconds to display directories (and at the same time my cd-burner and my floppy drive are probed about 3-4 times).

Here it is my /etc/fstab file (done by Mandrake install soft)

*******************************************
/dev/hdb5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,codepage=850,umask=0,iocharset=iso8859-15 0 0
/dev/hdb9 /mnt/lfs ext3 defaults 1 2
/dev/hda5 /mnt/partition1 vfat codepage=850,umask=0,iocharset=iso8859-15 0 0
/dev/hda6 /mnt/partition2 vfat codepage=850,umask=0,iocharset=iso8859-15 0 0
/dev/hdb6 /mnt/partition3 vfat codepage=850,umask=0,iocharset=iso8859-15 0 0
/dev/hda1 /mnt/winxp ntfs umask=0,ro,iocharset=iso8859-15 0 0
none /proc proc defaults 0 0
/dev/hdb8 /usr ext3 defaults 1 2
/dev/hdb1 swap swap defaults 0 0
*******************************************

Thanks if somebody can help.
 
Old 12-17-2003, 01:35 PM   #2
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I've noticed that too, only seems to happen with Konqueror though, ls from Konsole doesn't. Even stranger thing about supermount is if you umount the device it removes the supermount entry from fstab automagically. In the case of my pen drive it even deletes the mount point without asking. Have to reboot with the pen drive in to get Mandrake to put things back the way they were (or do it manually.) Also seems to keep changing the owner on the mount points automagically. When I access them as a user it gets set to that user; when I access them as root they get set back to root. All without any prompting. And for the life of me I can't find where the nonemntfloppy and nonemntcdrom icons on my desktop are stored. There aren't any links in the desktop dir, and I searched the entire HD for them too. This supermount stuff is really mysterious.
 
Old 12-17-2003, 01:52 PM   #3
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Original Poster
Rep: Reputation: 15
You're right, it only happens with konqueror, I used it as my default web browser and file explorer, I've just tried with mozilla and konsole and it works fine !

Strange thing ...
 
Old 12-18-2003, 12:31 AM   #4
ac_dispatcher
Member
 
Registered: Aug 2003
Location: Ohio, USA
Distribution: Kubuntu
Posts: 60

Rep: Reputation: 15
Supermount is spotty at best I just disable it:

#supermount -i disable

Then create a drive icon on my desktop that will mount / unmount the drive.

Or use a script to do it. Copied from http://www.desktop-linux.net/bashscripts.htm


Easy Cd Mount Script:


This script is designed to make it easy for people to mount cdrom drives. The script will mount the device if not mounted. If it is mounted, it will unmount the device.


1) Open a text editor and create a text file called ezcdmnt.


2) Cut-n-paste the following into the text file, save and exit.


#! /bin/sh

if mount | grep iso9660
then umount /cdrom
echo "\"unmounting cd-rom now... \""
else mount -t iso9660 /dev/hdc /cdrom
echo "\"mounting cd-rom now...\""
fi


If you're a KDE user, the following script will do the same as above and also open the KDE file manager in the /cdrom directory :

#! /bin/sh

if mount | grep iso9660
then umount /cdrom
echo "\"unmounting cd-rom now... \""
else mount -t iso9660 /dev/hdc /cdrom
echo "\"mounting cd-rom now...\""
kfmclient openURL /cdrom

fi


The cd mount point under my Debian system is /cdrom, yours may be /mnt/cdrom, change this to the appopriate setting. My cdrom is on hdc, again change this to the appropriate setting for your system, check /etc/fstab if unsure.


3) Make the file executable with:

chmod +x ezcdmnt


4) Save this file to anywhere you want, for example: /usr/local/bin. Next, create a desktop shortcut and point it to /usr/local/bin/ezcdmnt and select an appropriate cd device icon.

Now just place a data cd into the drive, click on the new desktop icon, then open the file manager to either the /cdrom or /mnt/cdromdirectory to view the contents of the cd unless you used the KDE script, then the KDE file manager will open to the /cdrom directory by itself.

To unmount the cd, click on the desktop icon again. Audio cd's do not need to be mounted, just insert music cd into drive and open the cdplayer.
 
  


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
supermount Vs all other automount lonblu Linux - Hardware 7 12-24-2004 12:07 PM
Is Supermount really needed? cscott Linux - General 5 09-30-2004 12:46 PM
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
supermount contrasutra Slackware 11 07-08-2003 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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