Automounter nfs woes
I'm a late starter on this (been no need until now), but I'm now trying to get my laptop to run automounter/amd to work on a nfs config. I installed automounter from ports and got it working beautifully for removable devices, but nfs is eluding me. I believe my problem lies more with amd- I've run amd commands standalone (automounter disabled of course) and I can only get local mounts showing with amq -ms. Can anyone point me to some definitive information? Googling is giving me a headache with all the contradictory information out there. I would like to have say /net (or even /media- already setup for removables) populated with /net/host/export_mount. ATM I can sometimes get /net created, but its empty. Also, if I get amd to work, does this mean that automounter will use it? Or is it exclusive? Just to confirm my information... :) Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using automounter (automatically mounting USB drives)
To enable it at system startup, you must add the following line to /etc/rc.conf : automounter_enable=YES --- En date de : Mar 18.5.10, David DEMELIER demelier.da...@gmail.com a écrit : De: David DEMELIER demelier.da...@gmail.com Objet: Re: using automounter (automatically mounting USB drives) À: Eitan Adler li...@eitanadler.com Cc: freebsd-questions@freebsd.org Date: Mardi 18 mai 2010, 21h07 2010/5/18 Eitan Adler li...@eitanadler.com: How can I automatically mount USB drives when I plug them in? I found a program sysutils/automounter which appears to create a link /media/msdosfs/USB20FD but doesn't actually mount anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I don't know sysutils/automounter, but the COMMENT= Provides scripts to dynamically configure amd would means that it only prepare the devices entries to be used by the amd(8) daemon (amd — automatically mount file systems) Take a look at the amd(8) manpage (I can't help you I never used it) and the rc.conf(5) to enable it. -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using automounter (automatically mounting USB drives)
On Wed, May 19, 2010 at 4:09 PM, Alexandre L. axel...@ymail.com wrote: To enable it at system startup, you must add the following line to /etc/rc.conf : automounter_enable=YES Which I have already done. However this only causes the labels in /media to appear to disappear. It does not seem like it actually mounts anything. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
using automounter (automatically mounting USB drives)
How can I automatically mount USB drives when I plug them in? I found a program sysutils/automounter which appears to create a link /media/msdosfs/USB20FD but doesn't actually mount anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using automounter (automatically mounting USB drives)
2010/5/18 Eitan Adler li...@eitanadler.com: How can I automatically mount USB drives when I plug them in? I found a program sysutils/automounter which appears to create a link /media/msdosfs/USB20FD but doesn't actually mount anything. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I don't know sysutils/automounter, but the COMMENT=Provides scripts to dynamically configure amd would means that it only prepare the devices entries to be used by the amd(8) daemon (amd — automatically mount file systems) Take a look at the amd(8) manpage (I can't help you I never used it) and the rc.conf(5) to enable it. -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to modify the default unmount time of automounter (amd)?
Hi all I'm using the amd that comes with the FreeBSD 7.2 i386. I want to automatically mount and unmount an USB thumbdrive. Mounting part work well, but the unmounting part does work as specified. I have set utimeout=1 but amd still take 120 seconds to automatically unmount. cat /etc/rc.conf amd_flags=-a /.amd_mnt -l syslog -x all /media /etc/amd.map amd_enable=YES cat /etc/amd.conf [ global ] map_type = file [ /media ] map_name = /etc/amd.map cat /etc/amd.map /defaults type:=host;fs:=${autodir}/${rhost}/host;rhost:=${key} * opts:=rw,grpid,resvport,vers=3,proto=tcp,nosuid,nodev,utimeout=1 thumdrive type:=pcfs;opts:=longname;dev:=/dev/da0s1;fs:=${autodir}/thumdriv I want to automatically unmount of 1 second of inactivity. Have I specified the unmounting incorrectly? Thanks in advance. Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7/CURRENT and AutoFS or AMD (automounter) with OpenLDAP
Hello out there, I run into trouble. When looking for AutoFS in the net I find a lot about AutoFS on Linux and, surprisingly, for FreeBSD 6.X, but those messages are dated to the year 2004/2006. I'm running FreeBSD 7.X and FreeBSD 8.0-CUR boxes and tried to find something about AutoFS, but I'm still stuck with the 'well known AMD or Berkeley AutoMounterDaemon. What happened to AutoFS? I'm stuck with amd (from FreeBSD's contrib) and I need to keep my maps in OpenLDAP, but when searching for how to map amd.map-files into the right shape of an OpenLDAP object (I borrowed the RedHat automount.ldif-schema, OpenLDAP 2.4.11 seems to lack in an apropriate schema), I only find Linux-Howtos reflecting AutoFS in Linux (and that is different from amd). Is help possible? Thanks, in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7/8 and AMD/automounter with LDAP support
Just sneaked through the /usr/src/contrib/amd code base of the amd automounter and found amd is naturally not built with LDAP support. Well, how can I configure 'make world' to automatically build 'amd' with LDAP support (as I can do this with sendmail being build with cyrus-sasl-support via some knobs in /etc/make.conf)? I did not understood whether amd has full LDAP support or is lacking in some code, so I appreciate any hint or help. Thanks in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
Please look on post in my blog http://unixtipsandtricks.blogspot.com/ I've just created post with detailed instruction, how to setup automounter on FreeBSD to mount USB and CDROM devices. -- Gaspar Chilingarov System Administrator, Network security consulting t +37493 419763 (mob) i 63174784 e [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
On Thu, Feb 15, 2007 at 06:02:14PM +0400, Gaspar Chilingarov wrote: Please look on post in my blog http://unixtipsandtricks.blogspot.com/ I've just created post with detailed instruction, how to setup automounter on FreeBSD to mount USB and CDROM devices. Your setup will work fine for the CD-ROM. But it assumes that you will only use one USB mass storage device at a time, and that all USB mass storage devices are formatted with an msdosfs filesystem. You should have a look at devd (in the base system) or hal (/usr/ports/sysutils/hal) for mounting USB mass-storage devices. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpJIPLnOhCFz.pgp Description: PGP signature
Re: Easy USB-drive automounter and filemanager for nontechies?
On Friday 02 February 2007 00:52, Chris Shenton wrote: I'm a longtime FreeBSD user but my S.O. just barely uses the machines -- Pine and Firefox mostly. Doesn't even know she has a homedir or that there's a bunch of stuff in it. She now has a digital recorder with a 1GB CF card that interfaces to computers with a USB cable and she needs to get files off of. She can plug it into USB OK but -- as her sysadm -- I have to mount it and copy the files off, then unmount. I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I'm starting to play with the user-priv mounting, then will look at telling usbd to mount the drive when it sees it... Is this is the right technical solution? I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thanks. Not specifically what you are asking for but you might consider a shell script behind a desktop/menu icon to mount the device, sync the files with a directory on the HDD and then unmount it. That way she doesn;t have to worry about pulling it while it's mounted amd can work in the safe environment of the HDD. Something like: (cobbled up from a couple of scripts I use, could use more error trapping) #find and mount device camcontrol devlist | grep USB2.0\ \(FS\)\ FLASH\ DISK\ 1.00 /dev/null 21 if [ $? -eq 0 ]; then dev=`camcontrol devlist | grep USB2.0\ \(FS\)\ FLASH\ DISK\ 1.00 | grep -o 'da[0-9][0-9]*'` if [ `df | grep $dev | grep -o 'da[0-9][0-9]*'` ]; then echo MP3Player already mounted else mount_msdosfs /dev/${dev} /home/dave/mp3player ; echo Mounted MP3Player to ~/mp3player as /dev/${dev} fi else echo MP3Player not plugged in fi #sync directory with device rsync -rv --ignore-existing --delete /home1/audiobooks/0mp3/ ~/mp3player #unmount device if [ `df | grep mp3player | grep -o 'da[0-9][0-9]*'` ]; then umount ~/mp3player ; i=1 ; echo MP3Player safely un-mounted fi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
On Friday 02 February 2007 00:52, Chris Shenton wrote: I'm a longtime FreeBSD user but my S.O. just barely uses the machines -- Pine and Firefox mostly. Doesn't even know she has a homedir or that there's a bunch of stuff in it. She now has a digital recorder with a 1GB CF card that interfaces to computers with a USB cable and she needs to get files off of. She can plug it into USB OK but -- as her sysadm -- I have to mount it and copy the files off, then unmount. I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I'm starting to play with the user-priv mounting, then will look at telling usbd to mount the drive when it sees it... Is this is the right technical solution? I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thanks. Not specifically what you are asking for but you might consider a shell script behind a desktop/menu icon to mount the device, sync the files with a directory on the HDD and then unmount it. That way she doesn;t have to worry about pulling it while it's mounted amd can work in the safe environment of the HDD. Something like: (cobbled up from a couple of scripts I use, could use more error trapping) #find and mount device camcontrol devlist | grep USB2.0\ \(FS\)\ FLASH\ DISK\ 1.00 /dev/null 21 if [ $? -eq 0 ]; then dev=`camcontrol devlist | grep USB2.0\ \(FS\)\ FLASH\ DISK\ 1.00 | grep -o 'da[0-9][0-9]*'` if [ `df | grep $dev | grep -o 'da[0-9][0-9]*'` ]; then echo MP3Player already mounted else mount_msdosfs /dev/${dev} /home/dave/mp3player ; echo Mounted MP3Player to ~/mp3player as /dev/${dev} fi else echo MP3Player not plugged in fi #sync directory with device rsync -rv --ignore-existing --delete /home1/audiobooks/0mp3/ ~/mp3player #unmount device if [ `df | grep mp3player | grep -o 'da[0-9][0-9]*'` ]; then umount ~/mp3player ; i=1 ; echo MP3Player safely un-mounted fi -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Easy USB-drive automounter and filemanager for nontechies?
I'm a longtime FreeBSD user but my S.O. just barely uses the machines -- Pine and Firefox mostly. Doesn't even know she has a homedir or that there's a bunch of stuff in it. She now has a digital recorder with a 1GB CF card that interfaces to computers with a USB cable and she needs to get files off of. She can plug it into USB OK but -- as her sysadm -- I have to mount it and copy the files off, then unmount. I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I'm starting to play with the user-priv mounting, then will look at telling usbd to mount the drive when it sees it... Is this is the right technical solution? I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Easy USB-drive automounter and filemanager for nontechies?
I'm a longtime FreeBSD user but my S.O. just barely uses the machines -- Pine and Firefox mostly. Doesn't even know she has a homedir or that there's a bunch of stuff in it. She now has a digital recorder with a 1GB CF card that interfaces to computers with a USB cable and she needs to get files off of. She can plug it into USB OK but -- as her sysadm -- I have to mount it and copy the files off, then unmount. I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I'm starting to play with the user-priv mounting, then will look at telling usbd to mount the drive when it sees it... Is this is the right technical solution? I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
Chris Shenton wrote: I'm a longtime FreeBSD user but my S.O. just barely uses the machines -- Pine and Firefox mostly. Doesn't even know she has a homedir or that there's a bunch of stuff in it. She now has a digital recorder with a 1GB CF card that interfaces to computers with a USB cable and she needs to get files off of. She can plug it into USB OK but -- as her sysadm -- I have to mount it and copy the files off, then unmount. I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I'm starting to play with the user-priv mounting, then will look at telling usbd to mount the drive when it sees it... Is this is the right technical solution? I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thanks. ___ IIRC, you can have usbd execute $stuff, i'm not sure to the extent of how useful it is however. Sorry i'm not much help Thanks, -- Joe Holden Telephone: +44 (0) 207 100 9593 Email: [EMAIL PROTECTED] Website: http://www.joeholden.co.uk IRC: [EMAIL PROTECTED]/#FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
On Thu, 01 Feb 2007 19:52:27 -0500 Chris Shenton [EMAIL PROTECTED] wrote: I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thunar. I just started using this it's part of XFCE4, but you can install it separately, I use it with fluxbox. It uses hal-d but it very light. -- Rod - Empty your mind, be formless, shapeless like water. Now you put water into a cup and it becomes the cup. You put water in a bottle it becomes the bottle. You put it into a teapot it becomes the teapot. Now water can flow or it can crash. Be water, my friend. -- Bruce Lee signature.asc Description: PGP signature
Re: Easy USB-drive automounter and filemanager for nontechies?
On Thu, Feb 01, 2007 at 09:29:39PM -0500, Rod Person wrote: On Thu, 01 Feb 2007 19:52:27 -0500 Chris Shenton [EMAIL PROTECTED] wrote: I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thunar. I just started using this it's part of XFCE4, but you can install it separately, I use it with fluxbox. It uses hal-d but it very light. My wife (non-techie) and I use Thunar in XFCE4.4. Thunar comes installed by default with XFCE4.4, I believe. It is plenty fast and doesn't require all the Gnome and KDE bloat. XFCE4 is also newbie friendly and fast enough for my purposes. Cheers, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easy USB-drive automounter and filemanager for nontechies?
Jason Morgan wrote: On Thu, Feb 01, 2007 at 09:29:39PM -0500, Rod Person wrote: On Thu, 01 Feb 2007 19:52:27 -0500 Chris Shenton [EMAIL PROTECTED] wrote: I'm looking for something like she'd get on a Mac or PC: 1. a way to automount the USB 'drive' when she plugs in 2. a visual filemanager or some other friendly way for her to see files and copy them off so she can mail them or whatnot. 3. a way to safely unmount the USB device when she's done I've got no idea about friendly GUI/filemanager with drag-n-drop or other easy way to get files off. She's using simple olde FVWM2 now and I'd prefer not to load up a massive GUI like KDE or Gnome. I just don't know what's out there, being a command line dinosuar myself. Any recommendations? Thunar. I just started using this it's part of XFCE4, but you can install it separately, I use it with fluxbox. It uses hal-d but it very light. My wife (non-techie) and I use Thunar in XFCE4.4. Thunar comes installed by default with XFCE4.4, I believe. It is plenty fast and doesn't require all the Gnome and KDE bloat. XFCE4 is also newbie friendly and fast enough for my purposes. Cheers, Jason Anything that uses HALd will work with automounting drives out of the box if you set it up properly. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installkernel confused by automounter and symlinks
Hello, I'm running 6.x i386 and am having a problem with make and symlinks. In this case, I'm exporting /usr/src and /usr/obj from an NFS server. The box in question has the NFS exports defined in fstab: fs:/usr/src /mnt/src nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw,noauto fs:/usr/obj /mnt/obj nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw,noauto and in amd.map localhost/src type:=program;fs:=/mnt/src;\ mount:=/sbin/mount mount /mnt/src;\ unmount:=/sbin/umount umount /mnt/src localhost/obj type:=program;fs:=/mnt/obj;\ mount:=/sbin/mount mount /mnt/obj;\ unmount:=/sbin/umount umount /mnt/obj When one peeks in /usr: # ls -l /usr lrwxr-xr-x 1 root wheel 19 Apr 18 00:58 obj - /host/localhost/obj lrwxr-xr-x 1 root wheel 19 Apr 18 00:58 src - /host/localhost/src I can cd to the directories and everything mounts/umounts fine. The problem is with make installkernel. I cd /usr/src and type: # make installkernel KERNCONF=FIREWALL -- Installing kernel -- cd /usr/obj/mnt/src/sys/FIREWALL; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/mnt/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/mnt/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/mnt/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/mnt/src/tmp/legacy/usr/sbin:/usr/obj/mnt/src/tmp/legacy/usr/bin:/usr/obj/mnt/src/tmp/legacy/usr/games:/usr/obj/mnt/src/tmp/usr/sbin:/usr/obj/mnt/src/tmp/usr/bin:/usr/obj/mnt/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel install cd: can't cd to /usr/obj/mnt/src/sys/FIREWALL *** Error code 2 Notice how the path has somehow been mangled to include mnt/src/? Does anyone know how I can get make and the automouter to play nicely? Many thanks for your assistance. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Automounter support for smbfs
Hi there, I want to use automounter with samba shares on a remote server. I can connect with mount_smbfs just fine, but I would like the same behaviour with amd as if using NFS : /host/SMB_SERVER/SHARE/... the amd port (sysutils/am-utils)website mentions support for SMBFS via the 'program' option, but I cannot find references to this in amd base (man amd.conf show nothing of the sort). Do I have to install am-utils, replacing amd from base system to get this functionality? FWIW, this works out of the box in OS-X (after adding the smb share details by hand) thanks in advance, Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
automounter jails ...
Is there any clean way to have automounter setup to automount /usr/ports into a jail'd environment? thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: automounter jails ...
On Sat, 14 Jan 2006 12:31:50 -0400 (AST) Marc G. Fournier [EMAIL PROTECTED] wrote: Is there any clean way to have automounter setup to automount /usr/ports into a jail'd environment? not an answer to your specific automount-question, but i use a build-jail (and use part of the install-result with a read-only null_fs mount in the other jails) and have the /usr/ports/ mounted read-write with null_fs in the jails if needed -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
automounter
hi.. I want to know if is it possible use amd to automount smbfs ... is it possible?...How? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Automounter LDAP??
Did somebody use an automounter which a LDAP map on FreeBSD 5.X ??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compile automounter with LDAP support
Hi Antoine, you need to include /usr/local/include/ldap.h: have a look am /usr/src/contrib/amd/include/am_defs.h (HAVE_LDAP_H) and the HAVE_MAP_LDAP in several source files. Probably you have to define both in /usr/src/usr.sbin/amd/amd/ Makefile?! Gernot Am 2003.10.25 10:45 schrieb(en) Antoine Jacoutot: Hi :) I sent the following message to the list some time ago but got no answer. I sending it again in case someone could help me on this. Basically, I would like to recompile adm, shipped with the base system, with LDAP support (after installing the openldap port). What I did is add the following line in /usr/src/usr.sbin/amd/amd/Makefile : SRCS+= info_ldap.c Unfortunately id does not work :( I did the following: $ cd /usr/src/usr.sbin/amd $ make clean make depend make I then get the following error: /usr/src/contrib/amd/amd/info_ldap.c:403: `LDAP_SUCCESS' undeclared (first use in this function) /usr/src/contrib/amd/amd/info_ldap.c:410: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this function) /usr/src/contrib/amd/amd/info_ldap.c:423: structure has no member named `ldap' /usr/src/contrib/amd/amd/info_ldap.c:431: syntax error before '=' token /usr/src/contrib/amd/amd/info_ldap.c:432: structure has no member named `ldap' /usr/src/contrib/amd/amd/info_ldap.c:432: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c:438: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c:452: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c: In function `amu_ldap_mtime': /usr/src/contrib/amd/amd/info_ldap.c:473: structure has no member named `ldap' *** Error code 1 Stop in /usr/src/usr.sbin/amd/amd. *** Error code 1 Stop in /usr/src/usr.sbin/amd. I don't really know what to do, I guess ldap libraries aren't found or something, although I do have OpenLDAP installed and working (as a samba PDC and Unix users authentication system). Thanks in advance for your ideas... Antoine -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- Dipl.-Ing. Gernot Hueber Institut f. Integrierte Schaltungen Altenbergerstr. 69 4040 Linz Tel: +43 732 2468-7120, Fax: -7126 E-mail: [EMAIL PROTECTED] WWW: www.riic.at ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compile automounter with LDAP support
Gernot Hueber wrote: Hi Antoine, you need to include /usr/local/include/ldap.h: have a look am /usr/src/contrib/amd/include/am_defs.h (HAVE_LDAP_H) and the HAVE_MAP_LDAP in several source files. Probably you have to define both in /usr/src/usr.sbin/amd/amd/ Makefile?! Great, thanks a lot, I'll have a look at it :) Regards. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compile automounter with LDAP support
Hi :) I sent the following message to the list some time ago but got no answer. I sending it again in case someone could help me on this. Basically, I would like to recompile adm, shipped with the base system, with LDAP support (after installing the openldap port). What I did is add the following line in /usr/src/usr.sbin/amd/amd/Makefile : SRCS+= info_ldap.c Unfortunately id does not work :( I did the following: $ cd /usr/src/usr.sbin/amd $ make clean make depend make I then get the following error: /usr/src/contrib/amd/amd/info_ldap.c:403: `LDAP_SUCCESS' undeclared (first use in this function) /usr/src/contrib/amd/amd/info_ldap.c:410: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this function) /usr/src/contrib/amd/amd/info_ldap.c:423: structure has no member named `ldap' /usr/src/contrib/amd/amd/info_ldap.c:431: syntax error before '=' token /usr/src/contrib/amd/amd/info_ldap.c:432: structure has no member named `ldap' /usr/src/contrib/amd/amd/info_ldap.c:432: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c:438: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c:452: syntax error before entry /usr/src/contrib/amd/amd/info_ldap.c: In function `amu_ldap_mtime': /usr/src/contrib/amd/amd/info_ldap.c:473: structure has no member named `ldap' *** Error code 1 Stop in /usr/src/usr.sbin/amd/amd. *** Error code 1 Stop in /usr/src/usr.sbin/amd. I don't really know what to do, I guess ldap libraries aren't found or something, although I do have OpenLDAP installed and working (as a samba PDC and Unix users authentication system). Thanks in advance for your ideas... Antoine -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
automounter (amd) best practices question
I have amd running, after I figured out I had been misunderstanding the man pages, but I have some questions. I'm looking for some best practices insights. I looked for a howto and searched the questions archive but I didn't turn up what I was looking for. 1) I would like to remove /usr/src, /usr/obj and /usr/ports/distfiles from some of my machine's fstab. I do the make buildworld, make buildkernel on one machine then run the make installworld, installkernel on the target machines. I looked at make.conf and some of the man pages but nothing jumped out at me. I'm trying to figure out how to prefix /host/Atlas onto the directory names so the installs will work. e.g. /usr/src becomes /host/Atlas/usr/src. 2) In this example, I want to keep the home directories on a server instead of having them on a workstation. My first thought was to change the home directory for the user on the workstation from /home/Tom to /host/Atlas/home/Tom. Is there a better way to do this? 3) If I ever decide to work in NIS, question #2 comes up again in the NIS environment. Normally I don't sign on to the server from the attached keyboard but it does happen occasionally. If I set up the home directory in NIS as /host/Atlas/home/Tom, then signon to the server locally (in other words, I do not SSH into it) is this a problem? I would think worst case it will not work. Best case I may have some overhead. I would appreciate any insights you can provide. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]