USERMOUNT="YES"
ATIME="NO"
REMOVEDIRS="YES"
Hi.frig said:Hello there,
Can you explain more?frig said:(though the problem exists, that it switches to the appropriate user even though I'm logged in)
frig said:if I manually umount it, the directory doesn't vanish (as I expected from setting the REMOVEDIR flag)
Mounting from where? Nautilus? Command line? mount(8)?frig said:and mounting the device another time fails with no reason (as I think).
Try 1.4 and if you still have issues, I will tell you what I needfrig said:I am aware that there is not enough evidence to catch the murderer but I actually don't know which logs you need.
USER="anja"
FM="thunar"
USERMOUNT="YES"
ATIME="NO"
REMOVEDIRS="YES"
frig said:#1
(...)
Everytime I inserted the usb-thumbdrive the user switched to the one stated in the automount.conf, it also did this if the user was already logged in, restarting the x-session.
frig said:#2 - REMOVEDIR
Problem occurred with version 1.3.1. I will test 1.4 once we return home.
Device busy means it's already mounted (probably by automount) or the device is not yet ready to mount after insertion.frig said:#3 - Mounting from:
Mounting from Thunar via clicking and command line using [CMD=mount]-v -t msdosfs /dev/da0s1 /media/flash[/CMD]. The device busy error (even though the device was not in use) occurred one or two-times between my tries.
Ok, let me know how 1.4 works for youfrig said:As I said above, i will try 1.4 once we're home again =D . But I wanted to clarify my sluggish questions.
Welcome.frig said:thanks in advance frig
Interesting, nothing like that happens here, you say that after inserting the pendrive it restarts your X11 session?frig said:#1 (...) The problem itself still persists, it "changes" to the mentioned user even though the user is logged in, restarting the x-session (though killing all beforehand opened applications) and leaving me with a new empty desktop.
su - ${USER} -c "env DISPLAY=:0 ${FM} ${MNT} &"
USER=ver
FM=nautilus
MNT=/media/da0s1
su - ver -c "env DISPLAY=:0 nautilus /media/da0s1 &"
I know a problem that nautilus sometimes tries to automount again the already mounted filesystem in /media/ANYTHING, I havent found a way to prevent nautilus from that.#2 - busy device
Probably happened because of my hastened tries.
Sole problem remaining is with the permissions, the device mounts in /media/flash/* where users have rwx permissions, though the newly created directory has only root permissions (even though USER is set correctly), usermount is possible throughout the system.
Welcomeserjsk8 said:Thank you vermaden!
It works great!
Interesting, automount automounts CD-ROM? Are you sure? I am asking because automount does not support CD9660 CD-ROM filesystem and does not detect it because there are no devd(8) events to detect the CD insertion/removal.serjsk8 said:Mount the usb-drive and cd-rom with out problems!
My automount does not have anything to do with HAL, it uses FreeBSD's devd(8) instead.serjsk8 said:I have a problem with HAL, it can not mount my dvd-rom automatically.
You can unmount from nautilus or from konqueror file managers, as well as from the command line with umount command, if you just remove the USB drive without unmounting, then it will be unmounted automatically for you by automount.serjsk8 said:How then unmount the device?
I have to unmount from the command line, is that right?
Yes, I know. I just wanted to say that my HAL does not mount a CD-ROM when I'm working in KDE4.My automount does not have anything to do with HAL, it uses FreeBSD's devd(8) instead.
Interesting, automount automounts CD-ROM? Are you sure? I am asking because automount does not support CD9660 CD-ROM filesystem and does not detect it.
#uname -a
FreeBSD bsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012
root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
# cat /etc/rc.conf
powerd_enable="YES"
hald_enable="YES"
dbus_enable="YES"
devd_enable="YES"
automounter_enable=YES
# pkg_version -v | grep automoun
automounter-1.4.4 = up-to-date with port
# automounter list
label: <iso9660/FreeBSD_Install> from <cd0>
# ls -l /media
total 8
drwxr-xr-x 2 root wheel 512 May 29 14:48 dev
drwxr-xr-x 2 root wheel 512 May 29 14:48 iso9660
bsd# ls -l /media/dev/
total 0
lrwxr-xr-x 1 root wheel 61 May 29 14:48 cd0 -> /var/run/automounter.amd.mnt/bff50c4e90e79a0df3be09ea2c5ad62e
lrwxr-xr-x 1 root wheel 61 May 29 14:48 cd0.iso9660 -> /var/run/automounter.amd.mnt/bff50c4e90e79a0df3be09ea2c5ad62e
bsd# ls -l /media/dev/cd0
lrwxr-xr-x 1 root wheel 61 May 29 14:48 /media/dev/cd0 -> /var/run/automounter.amd.mnt/bff50c4e90e79a0df3be09ea2c5ad62e
bsd# ls -l /media/dev/cd0.iso9660/
total 539
-r--r--r-- 6 root wheel 793 May 1 2009 .cshrc
-r--r--r-- 1 root wheel 1563 May 1 2009 .profile
dr-xr-xr-x 13 root wheel 2048 May 1 2009 7.2-RELEASE
-r--r--r-- 3 root wheel 6197 May 1 2009 COPYRIGHT
-r--r--r-- 1 root wheel 4877 May 1 2009 ERRATA.HTM
-r--r--r-- 1 root wheel 3514 May 1 2009 ERRATA.TXT
-r--r--r-- 1 root wheel 186567 May 1 2009 HARDWARE.HTM
-r--r--r-- 1 root wheel 114717 May 1 2009 HARDWARE.TXT
-r--r--r-- 1 root wheel 19736 May 1 2009 README.HTM
-r--r--r-- 1 root wheel 14311 May 1 2009 README.TXT
-r--r--r-- 1 root wheel 60037 May 1 2009 RELNOTES.HTM
-r--r--r-- 1 root wheel 31407 May 1 2009 RELNOTES.TXT
dr-xr-xr-x 2 root wheel 6144 May 1 2009 bin
dr-xr-xr-x 7 root wheel 4096 May 1 2009 boot
-r--r--r-- 1 root wheel 2048 May 1 2009 boot.catalog
-r--r--r-- 1 root wheel 39 May 1 2009 cdrom.inf
dr-xr-xr-x 2 root wheel 2048 May 1 2009 dev
-r--r--r-- 1 root wheel 3704 May 1 2009 docbook.css
dr-xr-xr-x 20 root wheel 12288 May 1 2009 etc
dr-xr-xr-x 2 root wheel 2048 May 1 2009 floppies
dr-xr-xr-x 3 root wheel 8192 May 1 2009 lib
dr-xr-xr-x 2 root wheel 2048 May 1 2009 libexec
dr-xr-xr-x 2 root wheel 2048 May 1 2009 media
dr-xr-xr-x 2 root wheel 2048 May 1 2009 mnt
dr-xr-xr-x 61 root wheel 8192 May 1 2009 packages
dr-xr-xr-x 2 root wheel 2048 May 1 2009 proc
dr-xr-xr-x 2 root wheel 16384 May 1 2009 rescue
dr-xr-xr-x 2 root wheel 2048 May 1 2009 root
dr-xr-xr-x 60 root wheel 8192 May 1 2009 rr_moved
dr-xr-xr-x 2 root wheel 16384 May 1 2009 sbin
lr-xr-xr-x 1 root wheel 7 May 1 2009 stand -> /rescue
lr-xr-xr-x 1 root wheel 11 May 1 2009 sys -> usr/src/sys
dr-xr-xr-x 2 root wheel 2048 May 1 2009 tmp
dr-xr-xr-x 13 root wheel 2048 May 1 2009 usr
dr-xr-xr-x 21 root wheel 4096 May 1 2009 var
Just put that into the /etc/fstab and set the mountpoint to the /media/something, so You will have that filesystem available in the nautilus/konqueror/pcmanfm panel.ORTO-DOX said:but it not mount partition which exists permanently in system.
Yup.ORTO-DOX said:As I think, automount triggers on devd events, and as permanently exists in system partitions it does not react to
vermaden said:@Crivens
Thanks
There were no BUG requests, so I did not upload new versions.