You are not logged in.

#1 2012-05-06 18:50:13

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Trouble Automounting

Okay so I know this is documented in the Wiki but I still can't automount.
To my knowledge I've configured pcmanfm and autofs correctly so if someone that has done this before can help me it would be greatly appreciated.
I'm not sure exactly what details you would need to help me so I will give more upon request.

Thanks in advance,

-dmanzo

Offline

#2 2012-05-06 18:54:27

headkase
Member
Registered: 2011-12-06
Posts: 1,978

Re: Trouble Automounting

What Desktop Environment/Window Maker are you using?

How do you launch it?  (.xinitrc, inittab, etc).  Provide the launch line please.

Offline

#3 2012-05-06 19:14:44

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

Oh I forgot to mention. LXDE/openbox with ~/.xinitc

exec ck-launch-session dbus-launch startlxde

Offline

#4 2012-05-06 19:16:59

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Trouble Automounting

dmanzo wrote:

I'm not sure exactly what details you would need to help me so I will give more upon request.

When in doubt, just describe all the steps you took, pasting any relevant configs between codetags.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-05-06 19:26:35

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

Okay for PCManFM I installed udisks and made '/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla' and ran 'sudo  usermod -a -G storage dmanzo'
I downoaded and installed autofs and loaded the autofs4 module
Next I made '/etc/autofs/auto.master'
Then I configured '/var/autofs'
I added an automount entry n '/etc/nsswitch.conf'
I edited '/etc/autofs/auto.misc'
Added autofs to my daemons array
finaly i started the autofs daemon

Offline

#6 2012-05-06 19:34:47

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

'/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla'

[Storage Permissions]
 Identity=unix-group:storage
 Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-ej$
 ResultAny=yes
 ResultActive=yes
 ResultInactive=no

Last edited by dmanzo (2012-05-06 20:02:48)

Offline

#7 2012-05-06 19:35:46

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

'/etc/autofs/auto.master'

# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).

#/media /etc/autofs/auto.media
/media/misc     /etc/autofs/auto.misc     --timeout=5 --ghost
/media/net      /etc/autofs/auto.net      --timeout=60 --ghost

Last edited by dmanzo (2012-05-06 20:02:24)

Offline

#8 2012-05-06 19:37:51

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

'/etc/nsswitch.conf'

# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

automount: files

# End /etc/nsswitch.conf

Last edited by dmanzo (2012-05-06 20:02:01)

Offline

#9 2012-05-06 19:38:46

dmanzo
Member
Registered: 2012-05-02
Posts: 12

Re: Trouble Automounting

'/etc/autofs/auto.misc'

#kernel   -ro                                        [url=ftp://ftp.kernel.org]ftp.kernel.org[/url]:/pub/lin$
#boot     -fstype=ext2                               :/dev/hda1
usbstick  -fstype=auto,async,nodev,nosuid,umask=000  :/dev/sdb1
cdrom     -fstype=iso9660,ro                         :/dev/cdrom
#floppy   -fstype=auto                               :/dev/fd0
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cdrom -fstype=auto,ro,nodev,nosuid :/dev/cdrom
floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda1

Last edited by dmanzo (2012-05-06 20:01:33)

Offline

#10 2012-05-06 19:51:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Trouble Automounting

Don't do that.

There is an 'Edit' button on the bottom right of every post - learn how to use it. Similarly, the link on the bottom left that says 'BBCode' - click it and read how to format code: https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB