What is your automounter?
Hello!
I used submount until it don't works anymore with new kernel. So i need a new automounter. What is yours, and why? |
You can use autofs. I'm using it with my usb stick and it works quite well. The only prob is that sometimes I have to run a command (like ls or cp) 2 times to be able to use the stick. I guess this happens cause the device for some reason is not ready the first time. Perhaps I have to use the ghost option so the mount point is always present.
|
I use rox-filer as my file manager and it reads my fstab and automaticaly attempts to mount the device if you go to open the mount point. so i imagine my automouter is rox-filer.
|
i also use autofs works well.
|
I primarily use WindowMaker, and have created menu items that mount the device, then start mc with the desired folders ready to go. On quitting mc the device umounts. For example, here's the menu entry for "mount camera":
Quote:
|
I wrote a fvwm-menu-mount.py and use it in my Fvwm menus to u/mount devices.
|
I mount everything (except for the hdd-partitions that comprise my
slackware, of course) manually ... well, mostly. I did write a script that mounts my usb key via usbmanager. Cheers, Tink |
Quote:
|
The semicolon instructs the shell to run the following command after the prior one has finished, so you should be able to simply put " ; umount /mnt/dvd" at the end. Of course this doesn't work if emelfm2 releases the shell upon running (like some programs do).
|
ciotog, i have just checked and emelfm2 does release the shell, so it wont work, which is a shame because it would have been great. oh well, ill try an automounter prog. thanks anyway :)
|
soldan, I just installed emelfm2 and in the man page it mentions that the "-n" switch keeps the program from detaching from the terminal, so you could use this in your menu item. emelfm2 looks rather nice, I think I'll try it out for a while.
|
yeah brilliant, the -n switch works :) thanks ciotog :)
|
Thanks all for replies.
But i want MORE! So i bump: bumpbumpbumpbumpbumpbumpbumpbumpbumpbumpbumpbumpbumpbumpbump :) |
Well i need more stuff about automounters. This isn't my n°1 priority so i have time to get feedback. Autofs seems to be the right choice as it's kernel-based...
|
IMHO, automounters are a lost cause. I suggest editing udev files to do it. With udev, you have more control where the device will be mounted because it can look up tons of information about the connected devie. Though I rather mount the device my self using the sudo command.
The semicolon does not verify that the command has succeded with out any errors. If you want to make sure it worked with out any errors, but do not want to resume to the next command sequence when there is an error, use &&. |
All times are GMT -5. The time now is 09:59 PM. |