LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-20-2012, 10:12 AM   #1
delroot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Rep: Reputation: Disabled
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.
 
Old 11-20-2012, 12:40 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,206

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 11-20-2012, 02:05 PM   #3
delroot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-30-2012, 06:39 AM   #4
delroot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-01-2012, 09:04 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,366
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
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.
 
Old 12-01-2012, 09:25 AM   #6
delroot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you, I didn't see that, I'll get something like ivman. Do you know one ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] On Ubuntu- when I mount a file system it automatically opens in a terminal dvah Linux - Newbie 2 07-25-2012 12:30 AM
GFS unable (incomplete set-up) to mount automatically GNBD file system darknight1726 Red Hat 7 08-12-2008 09:57 PM
Automatically forcing file system check? The_Nerd Linux - Hardware 1 11-30-2004 10:37 PM
how do i automatically mount partitions when system starts coolinuxguy246 Linux - Newbie 3 04-25-2004 09:38 AM
Automatically mount file shares? odious1 Linux - Newbie 1 07-03-2003 01:57 PM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration