You are not logged in.
My external drive gets plugged and unplugged a lot. I always "mount /dev/sdb1 /media/book", but sometimes it is simpler/faster to just click on it in pcmanfm. It displays it as "book" in the left pane and mounts fine w/proper permissions (strangely enough), but it mounts it to "/media/book_" so mpd, rtorrent can't see it. Is there a way to change that? It's not exactly pressing, but it is annoying
Last edited by pw_f100_220 (2010-07-26 04:08:34)
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
If you usually mount manually to /media/book, you probably created that directory manually yourself. Now PCmanFM comes along and tries to mount your drive at /media/book, but finds that there is already a directory of that name -> hence the "_" at the end.
Offline
good point...(and quick reply)
so if/when i delete the directory /media/book, i will then be unable to mount manually without recreating it...which won't work because I don't always startx...
any compromise here? i could live without it if pcmanfm didn't display it so eagerly waiting for me to click on it....blasted options.
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
i suppose there are ways to automount, but i have always preferred doing it myself just so i know it worked...instead of fdisk -l everytime or opening pcmanfm and clicking on the thing anyway!
(and last time I tried automounting was in my ubuntu days...without much luck)
Last edited by pw_f100_220 (2010-07-25 04:34:08)
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
Automounting is really easy and works great.
Have a look at http://wiki.archlinux.org/index.php/Ude … SB_devices
Offline
When I pull the plug on my usb drive, the udev rules take care of removing the directories. That way I don't have to worry about any kluge
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Have a fstab entry for that disk. Pcmanfm will use it.
Offline
I tried fstab:
LABEL=book /media/book ext3 defaults 0 0it mounted fine if i plugged it in before boot (as expected), but if I plug it in after boot (which will happen often), pcmanfm can no longer mount it giving the root privileges excuse.
I'll look into it further, but ideas are appreciated. I may just take this as a sign telling me to keep mounting with "mount"....which I can live with
Thanks for all the help so far, but I'm still digging
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
looks like adding the file "/etc/udev/rules.d/11-media-by-label-auto-mount.rules" as per the Udev wiki (thanks JackH79) worked like a charm. It's just checking to make sure it mounted...which isn't bad. I might change it to make xterm pop up and ask for the "passcode"
Thanks everyone!
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
I tried fstab:
LABEL=book /media/book ext3 defaults 0 0it mounted fine if i plugged it in before boot (as expected), but if I plug it in after boot (which will happen often), pcmanfm can no longer mount it giving the root privileges excuse.
It's not an excuse, you need to tell the system that users are allowed to mount:
LABEL=book /media/book ext3 defaults,users 0 0"man mount" is your friend ![]()
Last edited by Gusar (2010-07-26 10:24:05)
Offline