LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   how to mount a file system automatically (http://www.linuxquestions.org/questions/showthread.php?t=4175437973)

delroot 11-20-2012 10:12 AM

how to mount a file system automatically
 
Hi everyone,

I am on a Slackware, presently for mount a partition (USB, CD-ROM, MC...) I use: sudo mount /dev/... /mnt/...

But I would like to have this:

In /media:

dvd/
usb_top/
usb_down/
mc/
....

And when I plug a usb drive on the top usb port, the potentials differentes partitions on the usb drive are automaticaly mounted in differents subdirectories in /media/usb_top/

Does udev permit to do this ? I am not sure to figure out udev !

Thanks.

malekmustaq 11-20-2012 12:40 PM

Quote:

And when I plug a usb drive on the top usb port, the potentials differentes partitions on the usb drive are automaticaly mounted in differents subdirectories in /media/usb_top/
Does udev permit to do this ? I am not sure to figure out udev !
Not only that. The HAL master mounts it at the root! /run/media/so/and/so.....! I hate this new behavior in Slackware --it's getting out of my hand and I think few more versions we gonna call this a new distro "Slackbuntu" :)

I went to the site and am surprised there is no obvious documentation at how to correct this to gratify our choice. I have tinkered much time with udev rules writing, even installed pmount to automate, yet (I suspect) it is Kde that is grabbing the initiative using HAL.

I am currently looking into the /usr documentations for that.

Good luck.

delroot 11-20-2012 02:05 PM

I use actually Xmonad (a simple tiling manager) so I do not have the behaviour bring by a window manager such as Xfce or KDE.
Do you know how the auto-mounting works without a desktop environment ? And I do not have the /run/media directory, is it weird ?

thanks.

delroot 11-30-2012 06:39 AM

Hi,

Does anyone know ivman ? I think it is the solution for my problem, but I don't know how launch or configure this software on slackware

Thanks.

TobiSGD 12-01-2012 09:04 AM

The last update for ivman was in 2007, IO would neither recommend to use unsupported software nor think that it still works on recent distributions.

delroot 12-01-2012 09:25 AM

Thank you, I didn't see that, I'll get something like ivman. Do you know one ?


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