LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-04-2013, 08:45 PM   #31
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 222

Rep: Reputation: 37

Don't see the problem - I disable automount and do it by hand (mount /dev/sdXn /mnt/whatever) - that's how it was meant to be and that's how I use it. Automount (to _my_ simple mind) is an abolition - what's wrong with a simple 'dmesg|tail' to see what you've got and then manually mount it? (mind you, by this time I just _know_ what the sdX is, so no need for the 'dmesg|tail' ...

Last edited by perbh; 09-04-2013 at 08:46 PM.
 
1 members found this post helpful.
Old 09-05-2013, 03:49 AM   #32
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,514

Rep: Reputation: 90
Quote:
Originally Posted by perbh View Post
Don't see the problem - I disable automount and do it by hand (mount /dev/sdXn /mnt/whatever) - that's how it was meant to be and that's how I use it. Automount (to _my_ simple mind) is an abolition - what's wrong with a simple 'dmesg|tail' to see what you've got and then manually mount it? (mind you, by this time I just _know_ what the sdX is, so no need for the 'dmesg|tail' ...
Well, that's okay for you and me, for my 75 year old mother I prefer automount. And to be honest, switching external harddrives, usb sticks and sd cards all the time, I'm thankful for automount, too.
 
Old 09-05-2013, 04:29 AM   #33
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
For the sake of clarity it might help if people don't use 'automount' to refer to hotplug/udev/hal/udisks/Desktop-Environment based assisted/automatic mounting. 'automount' has an established meaning and refers to linux autofs, Berkeley amd, or original Sun automounter daemons and it gets very confusing when people use the same term to refer to both solutions.
 
1 members found this post helpful.
Old 09-05-2013, 05:53 AM   #34
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 799

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by ReaperX7 View Post
HAL works on modern kernels and Linux platforms. There are patches to build it on modern systems.
hald interfaces with udev via an "deprecrated interface". Which is of course only deprecated for the sole reason of intentionally breaking hald by removing the interface.

It's not that I choose keeping hald, because it is so great. But as long as there is "legacy" software, which depends on it, it has to stay.
 
Old 09-05-2013, 05:57 AM   #35
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 799

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by perbh View Post
Don't see the problem - I disable automount and do it by hand
This thread is about modifying the behavior of udev/udisks to make it compatible with the FHS.

"I don't need this and do mounting by hand" is not in any way a helpful addition to this discussion, it's off topic and clutters the thread. Please stop that.
 
1 members found this post helpful.
Old 09-05-2013, 07:24 AM   #36
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 80

Rep: Reputation: 12
This guy makes a couple of points:

http://www.pappp.net/?p=948

"Where do discs plugged in before a user logs in go? How about if you have multiple interactive users logged in?"

I've a server where I may have one user logged in locally and a different one remotely, both using X. Which one gets control of the one or more flashdrives that I plug in from time to time?

As it happens I've configured static mountpoints in /mnt for them (ETA: and with the option "user" in fstab), but that's because I'm using XFE as my file manager, but it does sound as though the developers are stuck in the single-user mentality.

Last edited by commandlinegamer; 09-05-2013 at 09:36 AM. Reason: Missing 'd', and more detail.
 
4 members found this post helpful.
Old 09-05-2013, 09:05 AM   #37
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
Quote:
Originally Posted by commandlinegamer View Post
This guy makes a couple of points:
Sounds like he and I are on the same wavelength.
 
Old 09-05-2013, 05:12 PM   #38
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 80

Rep: Reputation: 12
Quote:
Originally Posted by commandlinegamer View Post
This guy makes a couple of points:

http://www.pappp.net/?p=948

"Where do discs plugged in before a user logs in go? How about if you have multiple interactive users logged in?"
I realised about the second question almost as soon as I posted it it, that depending on the desktop environment, there will be a notification that a removable device has been inserted, but it's not yet mounted at that stage. So, whichever user acts on that first, it will then be mounted. The issue then becomes permissions-oriented.
 
Old 09-05-2013, 10:49 PM   #39
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,775
Blog Entries: 15

Rep: Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727
Quote:
Originally Posted by jtsn View Post
hald interfaces with udev via an "deprecrated interface". Which is of course only deprecated for the sole reason of intentionally breaking hald by removing the interface.

It's not that I choose keeping hald, because it is so great. But as long as there is "legacy" software, which depends on it, it has to stay.
You're correct. UDev does have HAL at it's mercy and it won't be long until Lennart and Kay have the udev maintainers remove it entirely and break HAL completely for systemd, which will in turn break DRM content since DeviceKit and it's related projects doesn't fully replace HAL at all, nor can accurately duplicate it's functionality.

I'm honestly surprised that hotplug still works even though it hasn't been updated in the longest time.

I've been holding out hope that mdev, eudev, and hotplug2 can become fully viable and gain some ground in the mainstream.
 
Old 11-08-2013, 09:14 AM   #40
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Time for a new patch ?
14.1 is out and it's udisks2 version is 2.1 .
 
Old 11-08-2013, 09:16 AM   #41
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 799

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I will look into it once I have 14.1 up and running and keep you updated on this thread.
 
Old 11-08-2013, 09:41 AM   #42
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 799

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
So here is a /media patch for the udisks 2.1 SlackBuild source. It builds successfully, but I can't test yet if it works on 14.1. If you are eager to try, I would appreciate your feedback.

As always, after downloading the patch files, the .txt extension must be removed.
 
1 members found this post helpful.
Old 11-09-2013, 05:59 AM   #43
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Cool, thanks.
I'll try it as soon as possible and report.
 
Old 11-09-2013, 08:17 AM   #44
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,412

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
http://www.pappp.net/?p=1290
 
2 members found this post helpful.
Old 11-09-2013, 09:41 AM   #45
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
About the patch, the medias are mounted in /media, but the mount point is not removed, so i now have /media/usbkey1, /media/usbkey2

Didn't test the link above. Sounds nice.
 
  


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
LXer: Android media players hot up LXer Syndicated Linux News 0 03-21-2011 11:21 PM
Media streaming between WMP and Linux media players (preferably Amarok) EducatedWhiteTrash Linux - Software 2 08-20-2010 08:11 PM
Can I install Media Jukebox 12 with Ubuntu OS? Needs Windows Media Player Files. tlcmd Linux - Newbie 2 01-08-2010 03:29 PM
hot to make vlc defualt media player negrito211 Linux - Software 4 01-03-2009 11:23 AM
Storage Media Lost Hot Plugging issue evodawg Mandriva 3 08-10-2008 02:05 PM


All times are GMT -5. The time now is 09:24 AM.

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