Jump to content

supermount question


phunni
 Share

Recommended Posts

Well, considering this is a Mandrake-centric board, yours is obviously the way to go.

On my slackware (bsd-like) eject behaves exactly as it does in my Mdk (sistemv-like). But your post has intrigued me so I've messed around with this stuff concluding that my mdk's and my slackware's eject command were behaving that way because the CD devices had 664 permissions. Check yours and tell me which permissions does it have, I'm sure that it will have something like 660; so your users need to be part of the device group, or sudo the command, in order to eject the drive. It is all about permissions, so depending which is the system politic will be better your way or mine (IMHO in a home computer is better my way)

Our systems just happen to be set up a little differently.  Now people can see two ways of doing it, just like I showed piping to grep and you showed using grep alone (well, egrep)
You are right saying that our systems are set up differently and that doesn't mean that one way is better than another. But about cat and grep!!!! yours is a flagrant UUOC!!!! :twisted:

;)

Link to comment
Share on other sites

Hey, I like cat and useless uses thereof see interests my profile.  Even more fun is tac...
Oh! then that explains everything :lol:

rev(1) is even funnier than tac

Link to comment
Share on other sites

The problem with simply saying that we should all mount manually is that, if we ever want linux to succeed on the desktop, it has to be easier to use - this means automatic mounting of removable media. Your average PC user will not want to mount drives as they need them.
This can be easily done without supermount. Since it is to be done thru desktop icons, the way this should be done is this:

For reading a floppy/cdrom, click on the appropriate icon:

1. mount the media as per /etc/fstab

2. Show the contents of the directory in file manager

For removing a medium, right click on the same icon and select an option like "remove disc":

1. umount the media

2. Use eject command to eject the disc

3. Refresh any file manager window that was displaying the mount dir

This was the way things used to work and still works in absence of supermount. The only issue is that /etc/fstab must allow non-root users to mount/umount removable media for this to work. Given that supermount is so broken, this seems a very nice method.

 

Basically, if u can create a shell script that can be used by KDE (or any other WM) and also from command-line to mount/umount removable media and read/write into them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...