You are not logged in.
I am using udiskie to automount all removable media and it works great. I have both udisks and udisks2 installed, but as udiskie depends on udisks, I guess it's what is used for mounting. There is one problem: whenever I cp or rsync some files to my pendrive, the command ends too quick and I have to wait after issuing udiskie-umount for the copy to finish. As I found out, the flush option should be the solution.
kolzi@kolzi-laptop ~ % mount | grep USB :(
/dev/sdb1 on /media/USB DISK type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)
This is after udiskie mounted my drive, as you can see there is no flush option, so I suppose async is chosen as the default. If I mount it by hand with -o flush, it shows up.
I know this question was asked a hundred of times (I've seen a couple already) but no thread I found contained the answer. Where and how should I configure my system to mount all USB media with flush option?
Last edited by PL_kolek (2014-07-26 21:05:16)
Offline
You can set mount options with udiskie https://github.com/coldfix/udiskie/blob … .8.txt#L98
Offline
man udiskie | less -p configuration
Offline
Thank you, it worked! I checked Arch wiki and Google, but forgot about man... Shame on me. What's even worse, I had ~/.config/udiskie/filters.conf which did exactly what I wanted. It must have stopped after some update.
Offline
I had to run
man udiskie | less -ip ^configuration
to get straight to the right part.
Offline
It's a short man page; I figured a general pointer was sufficient...
Offline
I still have nightmares about that time I was searching bash man page for 'invocation' ... a couple times ... before I figured out I had to make the search case-insensitive.
Another "funny" thing:
$ man bash | less -pi invocation
invocation: No such file or directory
Last edited by karol (2014-07-26 21:40:22)
Offline