dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
greetings, James
Op 15-11-11 16:11, Johan Vermeulen schreef:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
greetings, James
answering my own question here ---> by installing Nautilus. That easy !
greetings, Johan
On Tue, Nov 15, 2011 at 04:29:08PM +0100, Johan Vermeulen wrote:
Op 15-11-11 16:11, Johan Vermeulen schreef:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
greetings, James
answering my own question here ---> by installing Nautilus. That easy !
Nautilus is heavy, defeats somehow the whole purpose of using XFCE. :-)
I'd suggest:
Thunar --daemon
to handle media automounting.
Mihai
Vreme: 11/15/2011 04:50 PM, Mihai T. Lazarescu piše:
On Tue, Nov 15, 2011 at 04:29:08PM +0100, Johan Vermeulen wrote:
Op 15-11-11 16:11, Johan Vermeulen schreef:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
greetings, James
answering my own question here ---> by installing Nautilus. That easy !
Nautilus is heavy, defeats somehow the whole purpose of using XFCE. :-)
I'd suggest:
Thunar --daemon
to handle media automounting.
Mihai
For NFS automounting I use autofs and create a link for that directory to some other location (symlink) when you already mounted that directory with "cd <name>" or "ls <name>".
So when I open symlink, NFS mount is automaticaly mounted.
Maybe you can use that for USB's.
Vreme: 11/15/2011 04:11 PM, Johan Vermeulen piše:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
greetings, James
I think autofs package is needed, but not sure.
Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 04:11 PM, Johan Vermeulen pie:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
I think autofs package is needed, but not sure.
That *is* what does it. It needs to be installed, and it will run as a daemon.
mark
On Tue, 15 Nov 2011, m.roth@5-cent.us wrote:
Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 04:11 PM, Johan Vermeulen piše:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
I think autofs package is needed, but not sure.
That *is* what does it. It needs to be installed, and it will run as a daemon.
Hmm not on a normal machine AFAIK. autofs normally keeps well out of the way of random removable devices, unlike bits of gnome (that clearly nautilus is either responsible for, or pulls in the bit that is) that likes to get busy with creating /media/ography}{5} when a usb hard disk gets plugged in. Quite how it picked that when the vfat filesystem had no label I'm not entirely clear...
jh
John Hodrien wrote:
On Tue, 15 Nov 2011, m.roth@5-cent.us wrote:
Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 04:11 PM, Johan Vermeulen pie:
I configured Xfce on an Centos6 minimal install, I think its very fast,even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
I think autofs package is needed, but not sure.
That *is* what does it. It needs to be installed, and it will run as a daemon.
Hmm not on a normal machine AFAIK. autofs normally keeps well out of the way of random removable devices, unlike bits of gnome (that clearly nautilus is either responsible for, or pulls in the bit that is) that likes to get busy with creating /media/ography}{5} when a usb hard disk gets plugged in. Quite how it picked that when the vfat filesystem had no label I'm not entirely clear...
But the autofs package contains automount, and that is what handles USB drives, etc.
mark
On Tue, 15 Nov 2011, m.roth@5-cent.us wrote:
But the autofs package contains automount, and that is what handles USB drives, etc.
Seriously, this isn't the case with the normal gnome automounting of usb devices. I've just tried uninstalling autofs and it merrily continues working. I've not poked under the skin of gnome to know what actually goes on, but figured udev's involved at some stage along with dbus. udisks seems to support that logic, but I really don't know the specifics.
jh
Vreme: 11/15/2011 05:59 PM, John Hodrien piše:
On Tue, 15 Nov 2011, m.roth@5-cent.us wrote:
But the autofs package contains automount, and that is what handles USB drives, etc.
Seriously, this isn't the case with the normal gnome automounting of usb devices. I've just tried uninstalling autofs and it merrily continues working. I've not poked under the skin of gnome to know what actually goes on, but figured udev's involved at some stage along with dbus. udisks seems to support that logic, but I really don't know the specifics.
I looked a little, and hald seams to be the one mounting them, or maybe udev. I read that one of those systems is absolete, but can not confirm, and I am out of free time to look for the answer at the time.
Here is something from Kubuntu, maybe it points you in the right direction:
"On my Kubuntu 10.04, the configuration file for halevt is located at /etc/halevt/halevt.xml. By Kubuntu default, halevt will automount all removable media with the option sync. It's much better to mount them read-only to avoid wearing on the media. To do so, modify the following lines in halevt.xml"
Johan Vermeulen wrote:
dear all,
I configured Xfce on an Centos6 minimal install, I think its very fast, even on al 512Mb machine.
But I don't have any clue how to make a usb automount on this.
Anybody can help me with this?
I haven't installed xfce on C6 yet, and a rapid search suggests it's not available in base or extras. So I don't know where you got it from, and how it's packaged. But in C5, using the xfce packages from centos extras, that functionality is through thunar-volman.
BTW you don't need autofs, and you don't need nautilus. I have neither on this xfce C5 system and automounting of usb works fine.
Vreme: 11/15/2011 07:03 PM, Nicolas Thierry-Mieg piše:
So I don't know where you got it from, and how it's packaged.
It's in EPEL.
Op 15-11-11 19:16, Nicolas Thierry-Mieg schreef:
Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 07:03 PM, Nicolas Thierry-Mieg piše:
So I don't know where you got it from, and how it's packaged.
It's in EPEL.
ah yes, and I see they carry a thunar-volman package. OP, install that and you should be good. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
dear All,
thanks for the many replies.
I tested this some more :
*thunar-volman is installed by default, so does not seem to automount usb in CentOs6
*I install autofs #autofs& (1) 1775 output: -bash: autofs : command not found. so also no usb.
I also tried starting autofs via system-config-services.
* Thunar --daemon : howto do that ?
The good thing is, when installing Nautilus, the usb now also automounts in Thunar.
greetings, J.
On Fri, Nov 18, 2011 at 06:59:41AM +0100, Johan Vermeulen wrote:
*thunar-volman is installed by default, so does not seem to automount usb in CentOs6
I think it's activated by thunar, thus thunar should be started.
The good thing is, when installing Nautilus, the usb now also automounts in Thunar.
That's expected, Nautilus should be started automatically by Gnome if found.
- Thunar --daemon : howto do that ?
1. It should be done automatically if you log into an XFCE session;
2. If you use a Gnome session you should arrange that the session starts Thunar instead of Nautilus.
A. Test the stuff. From a shell prompt:
** stop Nautilus to check that Thunar is doing the mounting, not Nautilus:
nautilus --quit
** start Thunar in the background:
Thunar --daemon
** try if the USB drive is mounted automatically.
B. Make settings permanent:
** save the session after stopping Nautilus and Starting Thunar as above.
Hope this helps.
Mihai
Vreme: 11/18/2011 06:59 AM, Johan Vermeulen piše:
*I install autofs #autofs& (1) 1775 output: -bash: autofs : command not found. so also no usb.
I also tried starting autofs via system-config-services.
service autofs start(/restart/stop/reload)
Can not say if it will work out of the box, I have no free time to test.