Re: RFC: Article on implementing UFS journaling on desktop PCs
Unga wrote: --- Manolis Kiagias [EMAIL PROTECTED] wrote: I have just completed an article (mostly how-to) for implementing UFS journaling on a typical desktop PC: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html It focuses on detailing an easy to follow, repeatable procedure, to install FreeBSD on a typical PC and enable journaling on /usr and possibly /var. I am using this same procedure on my systems. I welcome all feedback, please send me any comments, suggestions and corrections. Hope following ideas may help you. 1. Article is too long. You have a note before the introduction, then introduction and Understanding journaling in FreeBSD. I appreciate brevity. The introduction and Understanding journaling in FreeBSD would be suffice. and edit them for brevity. The note before the introduction is the abstract, and seems to be a standard feature in articles. You are right though, some parts should be shortened, information is repeated. The note before the introduction is good enough as an introduction, 2. Ideally have a table of contents. Table of contents will be produced by the build system when the article is split into several pages (FORMATS=html-split), for my test I compiled it with FORMATS=html 3. Ideally prerequisites as a separate section. 4. A new section on How to estimate journal size I would really like to have a method on estimating size, however I don't have enough test cases. This will have to wait for the next revision. 5. Split Setting up journaling to sub sections: - Data and journal in the same partition - Data and journal in the multiple partitions/disks Already working on this ;) 6. A new section on how to extend the size of the journal (if later find too small) Would this be possible at all? It would mean you have more available free disk space. In that case you would simply remove the old journal and use the new one. I will mention this 7. Further reading: - Journaling UFS with gjournal - http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html - Journaling file system - http://en.wikipedia.org/wiki/Journaling_file_system - UFS2 Journaling implementation detail - http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173501.html - FreeBSD/ZFS - Last word in operating/file systems - http://2007.eurobsdcon.org/presentations/Pawel_Jakub_Dawidek/eurobsdcon07_zfs.pdf Kind Regards Unga Thanks. I will add your links to a Further reading section. P.S. Just realized I've sent this answer to your email only and not on the list. Apologies. Also note my comment on table of contents is probably incorrect. But I will probably add reference links between sections. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
The note before the introduction is the abstract, and seems to be a standard feature in articles. You are right though, some parts should be shortened, information is repeated. after reading this article i am even more sure that this gjournal is a quick and quite primitive hack, not real journalling. as it needs GB or more space - it shows it journals almost everything, means everything is written twice. looks like softupdates was too good and people wanted something worse ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine: notepad OK, others not
It's really easier to try to install an app under Wine ... With, it seems, at least two exceptions: * Some apps -- such as Wordpad and Write -- are packaged and installed with Windows, rather than on separate media. Are there instructions somewhere for installing such an app under wine? I'm certainly not finding it at all obvious. * Some add-on (separately installable) apps are packaged on multiple diskettes (or multiple CDs for that matter). Pre-mounting the first, and pointing wine at the mount point, seems likely to result in getting stuck partway through the install when it asks for the second disk. The version of Visio that I have is in the second category. The manpage describes a way of pointing wine to a device rather than to a mounted filesystem: The Unix device corresponding to a DOS drive can be specified the same way, except with '::' instead of ':'. So for the previous example, if the CDROM device is mounted from /dev/hdc, the corresponding symlink would be $WINEPREFIX/dosdevices/d:: - /dev/hdc. but, as reported elsewhere, wine could not find setup.exe on the Visio install diskette with dosdevices set up this way. ... You also might want to have a look at http://wiki.winehq.org/winetricks for a script that can install and setup various packages ... Unfortunately, I can't find Visio in its list of packages. Is there something else to try, or is installing an app like Visio beyond Wine's current capabilities? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Even more documentation?
On Friday 25 April 2008 10:32:37 pm Edward Ruggeri wrote: Hi all, I've used FreeBSD for about two years now. Besides using Linux for projects on school computers, I never had much experience with Unix-like operating systems. While I get by nicely on FreeBSD, I recently felt that I didn't have a very solid understanding of it's organization or structure. I suppose one can't know everything about an operating system with as much functionality as FreeBSD, but I started to feel like my knowledge was really ad-hoc, and that I didn't completely understand what I was doing (as if I had learned only by example). To that end, I started reading the FreeBSD handbook front-to-back. I've gotten to Part III, and while it's been very valuable, I still feel like I'm learning by example, and not by understanding the operating system. I'm starting to think I'm expecting something out of the handbook it's not designed to do. It seems like the man pages would be a good place to go, but my trouble with using them is that they're difficult to put together the information on different pages. I suppose I want something like a textbook. I dream of a KR type text that is very comprehensive and well-organized. If anyone has advice, I'd very much appreciate it! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] To what end? I mean, Unix knowledge spans many domains. Domains such as user, admin, programmer. I can offer suggestions for great books, but I need to know where you think you're weak. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a external monitor on FB7/Gnome
Hi Vince and Roland, Thank you for the reply, but unfortunately, they did not work. I closed the laptop, connected the monitor and restarted the laptop, xrandr -q only gave the information of integrated monitor, no external monitors' information and xrandr --auto did not give any information. I also tries sysctl -a |grep enable, the output is: kern.smp.forward_roundrobin_enabled: 1 kern.smp.forward_signal_enabled: 1 vm.swap_enabled: 1 vm.swap_idle_enabled: 0 vm.idlezero_enable: 0 vfs.nfs.nfs_directio_enable: 0 vfs.vmiodirenable: 1 net.inet.tcp.sack.enable: 1 net.inet.tcp.inflight.enable: 1 net.inet.sctp.ecn_enable: 1 hw.firewire.phydma_enable: 1 hw.pci.enable_msix: 1 hw.pci.enable_msi: 1 hw.pci.enable_io_modes: 1 hw.apic.enable_extint: 0 machdep.enable_panic_key: 0 security.bsd.suser_enabled: 1 There seems no entry about monitor -- If I miss something please advice me. PS. The laptop is a Compaq Presario V3431AU. -- Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple network traffic query tool
On Fri, 25 Apr 2008 22:20:35 +0200 Roger Olofsson [EMAIL PROTECTED] wrote: Tobias Kirschstein skrev: hi, i'm looking for a small tool to query the current network traffic (kb IN and OUT) per interface. is there any sysctl or tool which gives me a similar output to systat -ifstat: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average Interface Traffic Peak Total lo0 in 0.000 KB/s 0.000 KB/s 226.079 KB out 0.000 KB/s 0.000 KB/s 226.079 KB wpi0 in 0.000 KB/s 0.000 KB/s 164.577 MB out 0.000 KB/s 0.000 KB/s6.205 MB the background: unfortunately the network monitor build into superkaramba does not work for freebsd, os i want to write a widget which uses sysctl or any other tool if available got get this information. systat is not appropriate to be used because it does not terminate on its own as i see. Hello, If you want something more of a web service you could install SNMP from ports and use Cacti (also from ports). See http://www.cacti.net/ for a quick glance at what you'll get. thanks to all for your suggestions. i looked into the tools but unfortunately none was simple enough so that its output could be easily parsed and used as a superkaramba sensor. finally i came across ifstat (also from ports) which seems to be what i was looking for, but nevertheless thanks for your help :) -- ciao, lev pgp3BLJreowJV.pgp Description: PGP signature
Re: simple network traffic query tool
Hello, Tobias Kirschstein pisze: On Fri, 25 Apr 2008 22:20:35 +0200 Roger Olofsson [EMAIL PROTECTED] wrote: Tobias Kirschstein skrev: hi, i'm looking for a small tool to query the current network traffic (kb IN and OUT) per interface. is there any sysctl or tool which gives me a similar output to systat -ifstat: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average Interface Traffic Peak Total lo0 in 0.000 KB/s 0.000 KB/s 226.079 KB out 0.000 KB/s 0.000 KB/s 226.079 KB wpi0 in 0.000 KB/s 0.000 KB/s 164.577 MB out 0.000 KB/s 0.000 KB/s6.205 MB the background: unfortunately the network monitor build into superkaramba does not work for freebsd, os i want to write a widget which uses sysctl or any other tool if available got get this information. systat is not appropriate to be used because it does not terminate on its own as i see. Hello, If you want something more of a web service you could install SNMP from ports and use Cacti (also from ports). See http://www.cacti.net/ for a quick glance at what you'll get. thanks to all for your suggestions. i looked into the tools but unfortunately none was simple enough so that its output could be easily parsed and used as a superkaramba sensor. finally i came across ifstat (also from ports) which seems to be what i was looking for, but nevertheless thanks for your help :) I hope I am not stealing the thread by asking an additional question. Thanks to this thread I discovered :) systat -ifstat and other switches. Does such data like below survive reboots? re0 in 8.062 KB/s 13.414 KB/s1.987 GB out21.561 KB/s 53.346 KB/s3.043 GB Thanks! -- Zbigniew Szalbot www.lc-words.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Even more documentation?
Le Fri, 25 Apr 2008 22:32:37 -0400, Edward Ruggeri [EMAIL PROTECTED] a écrit : Hi all, I've used FreeBSD for about two years now. Besides using Linux for projects on school computers, I never had much experience with Unix-like operating systems. While I get by nicely on FreeBSD, I recently felt that I didn't have a very solid understanding of it's organization or structure. I suppose one can't know everything about an operating system with as much functionality as FreeBSD, but I started to feel like my knowledge was really ad-hoc, and that I didn't completely understand what I was doing (as if I had learned only by example). To that end, I started reading the FreeBSD handbook front-to-back. I've gotten to Part III, and while it's been very valuable, I still feel like I'm learning by example, and not by understanding the operating system. I'm starting to think I'm expecting something out of the handbook it's not designed to do. I think you need a good book about UNIX concept and administration. Some spoke about The design and implementation of the FreeBSD operating system, this is a good book but much more about the design of the kernel. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't install mod_perl (apr*.h issue)
Hey all...whenever I try to install mod_perl, it hangs up saying it can't find the apr*.h files (which I've manually located in /usr/local/include/apr-1/ . My question -- how do I get it to look in that proper folder? See log: Script started on Sat Apr 26 05:14:47 2008 [weaseal: /usr/ports/www/mod_perl]$ sudo make clean === Cleaning for mod_perl-1.30 [weaseal: /usr/ports/www/mod_perl]$ sudo make === Vulnerability check disabled, database not found === Extracting for mod_perl-1.30 = MD5 Checksum OK for mod_perl-1.30.tar.gz. = SHA256 Checksum OK for mod_perl-1.30.tar.gz. === mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found === Patching for mod_perl-1.30 === mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found === Applying FreeBSD patches for mod_perl-1.30 === mod_perl-1.30 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/LWP.pm - found === mod_perl-1.30 depends on file: /usr/local/sbin/apxs - found === mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found === Configuring for mod_perl-1.30 Will configure via APXS (apxs=/usr/local/sbin/apxs) PerlDispatchHandler.enabled PerlChildInitHandlerenabled PerlChildExitHandlerenabled PerlPostReadRequestHandler..enabled PerlTransHandlerenabled PerlHeaderParserHandler.enabled PerlAccessHandler...enabled PerlAuthenHandler...enabled PerlAuthzHandlerenabled PerlTypeHandler.enabled PerlFixupHandlerenabled PerlHandler.enabled PerlLogHandler..enabled PerlInitHandler.enabled PerlCleanupHandler..enabled PerlRestartHandler..enabled PerlStackedHandlers.enabled PerlMethodHandlers..enabled PerlDirectiveHandlers...enabled PerlTableApienabled PerlLogApi..enabled PerlUriApi..enabled PerlUtilApi.enabled PerlFileApi.enabled PerlConnectionApi...enabled PerlServerApi...enabled PerlSectionsenabled PerlSSI.enabled Will run tests as User: 'nobody' Group: 'wheel' Configuring mod_perl for building via APXS + Creating a local mod_perl source tree + Setting up mod_perl build environment (Makefile) + id: mod_perl/1.30 + id: Perl/v5.8.8 (freebsd) [/usr/local/bin/perl5.8.8] Now please type 'make' to build libperl.so Checking CGI.pm VERSION..ok Checking for LWP::UserAgent..ok Checking for HTML::HeadParserok Checking if your kit is complete... Looks good Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Writing Makefile for mod_perl === Building for mod_perl-1.30 (cd ./apaci PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.30/lib: make) cc -DPIC -fPIC -O -pipe -march=athlon64 -I/usr/local/lib/perl5/5.8.8/mach/CORE -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DMOD_PERL_VERSION=\1.30\ -DMOD_PERL_STRING_VERSION=\mod_perl/1.30\ -DMOD_PERL_PREFIX=\/usr/local/lib/perl5/site_perl/5.8.8/amd64-freebsd\ -I/usr/local/include/apache22 -DMOD_PERL -O2 -fno-strict-aliasing -pipe -march=athlon64 -I/usr/include -O2 -fno-strict-aliasing -pipe -march=athlon64 -march=athlon64 -c mod_perl.c mv mod_perl.o mod_perl.lo In file included from /usr/local/include/apache22/httpd.h:43, from apache_inc.h:120, from mod_perl.h:162, from mod_perl.c:58: /usr/local/include/apache22/ap_config.h:25:17: apr.h: No such file or directory /usr/local/include/apache22/ap_config.h:26:23: apr_hooks.h: No such file or directory /usr/local/include/apache22/ap_config.h:27:32: apr_optional_hooks.h: No such file or directory In file included from /usr/local/include/apache22/httpd.h:46, from apache_inc.h:120, from mod_perl.h:162, from mod_perl.c:58: /usr/local/include/apache22/ap_release.h:25:41: apr_general.h: No such file or directory In file included from apache_inc.h:120, from mod_perl.h:162, from mod_perl.c:58: /usr/local/include/apache22/httpd.h:50:24: apr_tables.h: No such file or directory /usr/local/include/apache22/httpd.h:51:23: apr_pools.h: No such file or directory /usr/local/include/apache22/httpd.h:52:22: apr_time.h: No such file or directory /usr/local/include/apache22/httpd.h:53:28: apr_network_io.h: No such file or directory /usr/local/include/apache22/httpd.h:54:25:
Is mplayer currently broken?
Hi, When I am tryig to play DVD disk: mplayer dvd:// -sid 0 -vo xv -alang english -dvd-device /dev/acd0 all video comes up as scrambled, with big blinking squares as if MPEG2 is damaged or not decrypted correctly. But if I first read DVD content to disk mplayer plays the resulting directory ok: dvdbackup -o . -M -i /dev/acd0 mplayer dvd:// -sid 0 -aid 128 -vo xv -dvd-device dvd-dir I am using 7.0-STABLE and all my ports are up to date and I just rebuilt whole dependency tree of mplayer. Anybody else is having this problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a external monitor on FB7/Gnome
On 04/26/2008 04:29, Kemian Dang wrote: Hi Vince and Roland, Thank you for the reply, but unfortunately, they did not work. I closed the laptop, connected the monitor and restarted the laptop, xrandr -q only gave the information of integrated monitor, no external monitors' information and xrandr --auto did not give any information. Some laptops require you to either enable the external VGA output in the BIOS, and/or use a function key to enable the output. I also tries sysctl -a |grep enable, the output is: kern.smp.forward_roundrobin_enabled: 1 kern.smp.forward_signal_enabled: 1 vm.swap_enabled: 1 vm.swap_idle_enabled: 0 vm.idlezero_enable: 0 vfs.nfs.nfs_directio_enable: 0 vfs.vmiodirenable: 1 net.inet.tcp.sack.enable: 1 net.inet.tcp.inflight.enable: 1 net.inet.sctp.ecn_enable: 1 hw.firewire.phydma_enable: 1 hw.pci.enable_msix: 1 hw.pci.enable_msi: 1 hw.pci.enable_io_modes: 1 hw.apic.enable_extint: 0 machdep.enable_panic_key: 0 security.bsd.suser_enabled: 1 There seems no entry about monitor -- If I miss something please advice me. PS. The laptop is a Compaq Presario V3431AU. -- Regards, Eric signature.asc Description: OpenPGP digital signature
Re: Can't install mod_perl (apr*.h issue)
--On Saturday, April 26, 2008 4:54 PM +0300 Walter Venable [EMAIL PROTECTED] wrote: Hey all...whenever I try to install mod_perl, it hangs up saying it can't find the apr*.h files (which I've manually located in /usr/local/include/apr-1/ . My question -- how do I get it to look in that proper folder? You start by installing the correct mod_perl. You're running apache22, which requires mod_perl2, not mod_perl. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is mplayer currently broken?
On Apr 26, 2008, at 10:32 AM, Yuri wrote: Hi, When I am tryig to play DVD disk: mplayer dvd:// -sid 0 -vo xv -alang english -dvd-device /dev/acd0 all video comes up as scrambled, with big blinking squares as if MPEG2 is damaged or not decrypted correctly. But if I first read DVD content to disk mplayer plays the resulting directory ok: dvdbackup -o . -M -i /dev/acd0 mplayer dvd:// -sid 0 -aid 128 -vo xv -dvd-device dvd-dir I am using 7.0-STABLE and all my ports are up to date and I just rebuilt whole dependency tree of mplayer. Anybody else is having this problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try using dvd://1 instead of dvd://, although I recommend installing lsdvd first to find out the most likely track to use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't install mod_perl (apr*.h issue)
On Sat, Apr 26, 2008 at 6:47 PM, Paul Schmehl [EMAIL PROTECTED] wrote: --On Saturday, April 26, 2008 4:54 PM +0300 Walter Venable [EMAIL PROTECTED] wrote: Hey all...whenever I try to install mod_perl, it hangs up saying it can't find the apr*.h files (which I've manually located in /usr/local/include/apr-1/ . My question -- how do I get it to look in that proper folder? I guess I should have originally stated that I'm trying to install www/p5-Apache-AutoIndex -- which depends on mod_perl ... Yes I am running apache22. Does this mean p5-Apache-AutoIndex won't run from ports on apache22? You start by installing the correct mod_perl. You're running apache22, which requires mod_perl2, not mod_perl. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is mplayer currently broken?
Try using dvd://1 instead of dvd://, although I recommend installing lsdvd first to find out the most likely track to use. dvd://1 didn't help. when it worked dvd:// worked fine for me. But thank you for the suggestion to use lsdvd first. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to use a external monitor on FB7/Gnome
I tried Fn F4 combination in previous test which works for Windows, but without response at all. It works for Windows, so I think the BIOS or Key pair should not be the problem. Any way, thank you for your suggestion, and I will take a look at BIOS next time I restart the machine to make it sure. 2008/4/26 Eric Schuele [EMAIL PROTECTED]: On 04/26/2008 04:29, Kemian Dang wrote: Hi Vince and Roland, Thank you for the reply, but unfortunately, they did not work. I closed the laptop, connected the monitor and restarted the laptop, xrandr -q only gave the information of integrated monitor, no external monitors' information and xrandr --auto did not give any information. Some laptops require you to either enable the external VGA output in the BIOS, and/or use a function key to enable the output. I also tries sysctl -a |grep enable, the output is: kern.smp.forward_roundrobin_enabled: 1 kern.smp.forward_signal_enabled: 1 vm.swap_enabled: 1 vm.swap_idle_enabled: 0 vm.idlezero_enable: 0 vfs.nfs.nfs_directio_enable: 0 vfs.vmiodirenable: 1 net.inet.tcp.sack.enable: 1 net.inet.tcp.inflight.enable: 1 net.inet.sctp.ecn_enable: 1 hw.firewire.phydma_enable: 1 hw.pci.enable_msix: 1 hw.pci.enable_msi: 1 hw.pci.enable_io_modes: 1 hw.apic.enable_extint: 0 machdep.enable_panic_key: 0 security.bsd.suser_enabled: 1 There seems no entry about monitor -- If I miss something please advice me. PS. The laptop is a Compaq Presario V3431AU. -- Regards, Eric -- Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron question
On Apr 25, 2008, at 10:31 AM, John Almberg wrote: ...and invoking this wrapper from cron instead of trying to reset the shell and everything from within cron. You can test things by doing an su gs -c /bin/sh from a root login and then trying to run your wrapper, which will give you a minimum environment closer to what cron executes under. This was an interesting idea. I wrote a little ruby script to print out all set environment variable, then ran it under the simulated cron environment: bin 520 $ su gs -c /bin/sh $ ./env.rb USER = gs MAIL = /var/mail/gs SHLVL = 2 HOME = /home/gs _ = /bin/sh BLOCKSIZE = K TERM = xterm-color SVN_EDITOR = vim PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/ usr/local/bin:/usr/X11R6/bin:/home/gs/bin SHELL = /usr/local/bin/bash PWD = /home/gs/bin FTP_PASSIVE_MODE = YES EDITOR = vim $ Then under the environment I used to run the script by hand: [EMAIL PROTECTED] ~/bin]$ ./env.rb TERM = xterm-color SHELL = /usr/local/bin/bash OLDPWD = /home/gs SSH_TTY = /dev/ttyp0 USER = gs SVN_EDITOR = vim FTP_PASSIVE_MODE = YES MAIL = /var/mail/identry PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/ usr/local/bin:/usr/X11R6/bin:/home/identry/bin BLOCKSIZE = K PWD = /home/gs/bin EDITOR = vim HOME = /home/gs SHLVL = 2 LOGNAME = identry _ = ./env.rb I don't see any difference that would explain this problem... No mail is sent to either root or gs when the crontab runs. Well, I finally figure this out. Printing out the environment variables when running the program by hand, and then when it ran as a crontab, turned out to be the key. The difference (not shown in the early experiment, above) was in the working directory. When I ran the script by hand, the working directory was /home/gs/bin, but when cron ran the script, the working directory was /home/gs. Unfortunately, this caused the script to die, because of a bug in the script itself. Now that this script is running, the big question is, why are none of my login users getting any email? I'm sure that cron tried to send an email about the error that would have been helpful in debugging the problem, but it never arrived. But all the mailboxes in /var/mail are empty. I am running qmail, which is also new for me... Like all djb stuff, it works great, but is stunningly difficult for my feeble brain to understand... I need to roll up my sleeves and try to understand what's happening to this mail. Anyway, thanks for the help. It was definitely useful in putting me on the right track. Brgds: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnuplot without tetex?
Hello list, Is there any way to install gnuplot without the somewhat huge tetex deps? Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnuplot without tetex?
On Sat, Apr 26, 2008 at 08:22:33PM +0300, Ghirai wrote: Hello list, Is there any way to install gnuplot without the somewhat huge tetex deps? Yes. Update your ports tree. Go to the port's directory, and give the command 'make config'. Turn off the Search kpsexpand at run-time option and save the options. That should remove the dependancy on teTeX. 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) pgpG5pEcbl9UO.pgp Description: PGP signature
Re: gnuplot without tetex?
On Sat, 26 Apr 2008 19:43:50 +0200 Roland Smith [EMAIL PROTECTED] wrote: On Sat, Apr 26, 2008 at 08:22:33PM +0300, Ghirai wrote: Hello list, Is there any way to install gnuplot without the somewhat huge tetex deps? Yes. Update your ports tree. Go to the port's directory, and give the command 'make config'. Turn off the Search kpsexpand at run-time option and save the options. That should remove the dependancy on teTeX. Roland -- Thanks for the quick reply. I must be getting tired, options dialog clearly says 'TETEX'... -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LOADER_TFTP_SUPPORT=YES and FreeBSD 6.3
Hi, I am trying to build a install server. I have used make -DLOADER_TFTP_SUPPORT=YES in /usr/src/obj and copied it over to my /pxeboot/ which I have copied contents from FreeBSD 6.3 Install cd. But no matter what I have done pxeboot always tries to use nfs but no tftp. There is a similar thread that states with FreeBSD 6.3 and above LOADER_TFTP_SUPPORT=YES doesn't work: http://www.opensubscriber.com/message/freebsd-questions@freebsd.org/8560733.html Does anyone successfully managed to use pxeboot with tftp ( and mfsroot) but not with the nfs mount? Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Visit Veracity at INTEROP 2008 in Booth #2401
This email is being sent to [EMAIL PROTECTED] Use this link to be deleted or to update your email address http://go.reachmail.net/r.asp?l=64772ee=6603!quess=237056,237056 _ You can choose to not receive further mailings by clicking on the link above. If you have trouble with this link, simply forward this message to [EMAIL PROTECTED] with #RM#237056,237056 in the subject line. ReachMail does not tolerate spam. Please notify us via email at [EMAIL PROTECTED] regarding any spam issues. If you have trouble with any of these methods, you can reach us toll-free at 800-404-6885. This message was sent by Veracity USA, Inc. using ReachMail. Read our Privacy Policy: http://reachmail.net/privacy.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Visit Veracity at INTEROP 2008 in Booth #2401
This email is being sent to [EMAIL PROTECTED] Use this link to be deleted or to update your email address http://go.reachmail.net/r.asp?l=64772ee=2502!frees=237056,237056 _ You can choose to not receive further mailings by clicking on the link above. If you have trouble with this link, simply forward this message to [EMAIL PROTECTED] with #RM#237056,237056 in the subject line. ReachMail does not tolerate spam. Please notify us via email at [EMAIL PROTECTED] regarding any spam issues. If you have trouble with any of these methods, you can reach us toll-free at 800-404-6885. This message was sent by Veracity USA, Inc. using ReachMail. Read our Privacy Policy: http://reachmail.net/privacy.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine Corupting Inbox
On Apr 21, 2008, at 12:53 PM, Chris Maness wrote: I think that pine is corrupting my inbox, so that it is unreadable by UW-IMAPD. When using squirrelmail after using pine I see the headers, but squirrelmail is unable to open the e-mails. When you read your mail with (al)pine with it picking up mail directly from /var/spool/mail, (al)pine will move the mail from /var/spool/mail into mailbox folders in your home directory. Now normally, this puts the mail in a place where it can still be picked up by uw-imap server. Indeed, under default configurations the uw-imap server will perform pretty much the same action when it gets new mail out of /var/spool/mail. So when everything is working right, even reading the mail locally with pine shouldn't mess things up as they have for you. I switched over to alpine since I do understand that pine is no longer supported. If other people have experienced this it would be nice to have at least a notice when it is installed. I have used pine for almost 10 years without this problem, but maybe this is an incompatability with a newer version of UW-IMAPD. Here is what I would do to start diagnosing my first guess at the problem: (1) Set up (or use) a clean vanilla user account, say fred. (2) Send fred mail. (3) log in as fred and have fred read mail with pine, with as close to a default configuration as possible. (4) See if fred can see his mail via squirrelmail. If so (5) Look around ~/fred to find where pine put the mail. (6) Compare the mail file locations for ~/fred and for you. (7) If there are difference (which is what I'm expecting), then look through your .pinerc Post back a report about how those steps go. If things break at step 4, then still do step (5) and report that back here. Good luck. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine Corupting Inbox
On Sat, 26 Apr 2008, Jeffrey Goldberg wrote: On Apr 21, 2008, at 12:53 PM, Chris Maness wrote: I think that pine is corrupting my inbox, so that it is unreadable by UW-IMAPD. When using squirrelmail after using pine I see the headers, but squirrelmail is unable to open the e-mails. When you read your mail with (al)pine with it picking up mail directly from /var/spool/mail, (al)pine will move the mail from /var/spool/mail into mailbox folders in your home directory. Now normally, this puts the mail in a place where it can still be picked up by uw-imap server. Indeed, under default configurations the uw-imap server will perform pretty much the same action when it gets new mail out of /var/spool/mail. So when everything is working right, even reading the mail locally with pine shouldn't mess things up as they have for you. I switched over to alpine since I do understand that pine is no longer supported. If other people have experienced this it would be nice to have at least a notice when it is installed. I have used pine for almost 10 years without this problem, but maybe this is an incompatability with a newer version of UW-IMAPD. Here is what I would do to start diagnosing my first guess at the problem: (1) Set up (or use) a clean vanilla user account, say fred. (2) Send fred mail. (3) log in as fred and have fred read mail with pine, with as close to a default configuration as possible. (4) See if fred can see his mail via squirrelmail. If so (5) Look around ~/fred to find where pine put the mail. (6) Compare the mail file locations for ~/fred and for you. (7) If there are difference (which is what I'm expecting), then look through your .pinerc Post back a report about how those steps go. If things break at step 4, then still do step (5) and report that back here. Good luck. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ I'll check it out. Alpine is doing the same thing. It worlks fine for a bit, an then no imap clients can access the mail. Only alpine can read the spool. I am not having any problems whith other users, I will have to try to test the spool with a fresh user like you suggested. I might use aliases to send mail to this account as well. Chris Maness (909) 223-9179 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB HD based backup schemes
I am hoping that this is on-topic for the questions list. If not, I apologize. I have a couple of FreeBSD systems, and I must confess that I haven't set systematic back-ups of them. I've taken a quick look at both the Bacula and Amanda documentation, but for reasons below I'll list why I don't think that they are idea for my rather simple situation. Each system has less than 20G to be backed up, including OS and ports. One of the systems, dobby, is physically difficult to get to. I would like dobby to be a network client for backup. The other, kreacher, is more conveniently placed, and actually has a cool little USB hard-drive drive dock. I've tested that and it works. I'd like this other machine So far, what I've been doing is running level 0 dumps on both kreacher and dobby. In each case, I've had enough space in /tmp to create dump files in /tmp. When done on kreacher, I've copied them over to a USB drive. The ones from dobby I've scp'ed over to kreacher. At worst I could script this, but it I can't be sure I'll always have the space in /tmp. I need to get the mounting of the USB drive clean and stuff like that. Also, always running Level 0 dumps is bad for a number of obvious reasons. My needs aren't to be able to always have the ability to recover some file to the state it was a week ago Thursday. (I wouldn't mind that, but that's not my primary goal). My primary goal is disaster recovery: In the event of a disk crash, fire, or I really mess up the system. Kreacher will shortly be running mysql-server with a couple of very small databases. Otherwise this are pretty static servers (light mail, DNS, DHCP, light HTTP). Neither machine can hold additional disks internally or is otherwise expandable. Both Amanda seems designed for back-up to tape. Bacula, frankly, seems too complicated. I'm sure that I could roll my own with dump or such, but I'm sure that I would leave important things out and that this has already been done by people who are smarter and more experienced than I am. So recommendations please. -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine Corupting Inbox
On Apr 26, 2008, at 2:58 PM, Chris Maness wrote: I am not having any problems whith other users, Then my suspicion grows stronger that something in your own particular pine configuration is putting your mail in a place where imapd can't see it. So in addition to what I've suggested, have you looked for any errors logged by imapd in your system logs? Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
2008/4/27 Jeffrey Goldberg [EMAIL PROTECTED]: I am hoping that this is on-topic for the questions list. If not, I apologize. I have a couple of FreeBSD systems, and I must confess that I haven't set systematic back-ups of them. I've taken a quick look at both the Bacula and Amanda documentation, but for reasons below I'll list why I don't think that they are idea for my rather simple situation. Each system has less than 20G to be backed up, including OS and ports. One of the systems, dobby, is physically difficult to get to. I would like dobby to be a network client for backup. The other, kreacher, is more conveniently placed, and actually has a cool little USB hard-drive drive dock. I've tested that and it works. I'd like this other machine So far, what I've been doing is running level 0 dumps on both kreacher and dobby. In each case, I've had enough space in /tmp to create dump files in /tmp. When done on kreacher, I've copied them over to a USB drive. The ones from dobby I've scp'ed over to kreacher. At worst I could script this, but it I can't be sure I'll always have the space in /tmp. I need to get the mounting of the USB drive clean and stuff like that. Also, always running Level 0 dumps is bad for a number of obvious reasons. My needs aren't to be able to always have the ability to recover some file to the state it was a week ago Thursday. (I wouldn't mind that, but that's not my primary goal). My primary goal is disaster recovery: In the event of a disk crash, fire, or I really mess up the system. Kreacher will shortly be running mysql-server with a couple of very small databases. Otherwise this are pretty static servers (light mail, DNS, DHCP, light HTTP). Neither machine can hold additional disks internally or is otherwise expandable. Both Amanda seems designed for back-up to tape. Bacula, frankly, seems too complicated. I'm sure that I could roll my own with dump or such, but I'm sure that I would leave important things out and that this has already been done by people who are smarter and more experienced than I am. So recommendations please. -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] We used to use RSnapshot http://www.rsnapshot.org/ to backup to an external disk, its a great tool that also does incremental via hard links which is a plus. Its done via rsync, so to recover, you have to reinstall the base OS and rsync the files back to get it up and running again. It may have problems locking active files, I've never tested it with a DB before. But since then, we've moved to bacula. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
On Apr 26, 2008, at 3:38 PM, David N wrote: We used to use RSnapshot http://www.rsnapshot.org/ to backup to an external disk, its a great tool that also does incremental via hard links which is a plus. Just after I posted, I started thinking about rsync. I hadn't known about rsync's hard link feature. So once I saw that, the trail did lead me to rsnapshot. The only thing I don't like about it is the security hole it demands of remote machines to be able to back up to them. so to recover, you have to reinstall the base OS and rsync the files back to get it up and running again. I'd be happy with that. It may have problems locking active files, I've never tested it with a DB before. I can also take a DB snapshot before running the dump. But since then, we've moved to bacula. Bacula does look impressive. I'll probably get there some day. If I can deal with the security issue for the remote back-up this will be a perfect solution. If I can't I won't do remote back-up on the machine that is awkward to reach, I'll just have to re-arrange things. Thanks. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
You haven't mentioned how large a USB drive you have available to use for this scheme, but it sounds to me like your situation can be summed up as follows: - you have two machines to back up, one is remote, but both have consistent network accessibility - you have a (removable) drive upon which you want to place regular backups, based on some use of dump/restore, and presumably this drive is large enough for all backup data, to be managed under some rotation scheme (old -vs- current directories, for example) - the main question is how to collect and organize the data onto this (removable) drive on a machine remote from the one being backed up If the above pretty much fits the bill, I would suggest a simple script to be run out of cron to copy the data. Keep in mind that you can easily transfer the data directly from dump to your remote machine by piping it into an ssh command. On your dobby machine, a command of the form: dump 1nuLf - /my/data | ssh -x kreacher /path/to/some/handler/script will present the dump output to a script run on the backup machine that can presumably ensure sane handling of the incoming data and potentially mount your USB device. Passing the mount point on dobby as an argument to your remote script will help you organize things if you have set up multiple filesystems on dobby that you need to dump separately. Note that I am assuming here that you have made a zero level dump and that it will be perpetually available in some safe place. I'm sure that I could roll my own with dump or such, but I'm sure that I would leave important things out and that this has already been done by people who are smarter and more experienced than I am. So recommendations please. As long as you are dumping whole filesystems, I don't really see how you can leave anything out -- recovery is then simply a case of: - boot off an install/live CD - fdisk, label, newfs - restore dump level 0, restore most recent dump level 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
I've taken a quick look at both the Bacula and Amanda documentation, but for reasons below I'll list why I don't think that they are idea for my rather simple situation. rsync is what you need. while r means remote you may use rsync between local filesystems too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
On Sat, 26 Apr 2008, Jeffrey Goldberg wrote: On Apr 26, 2008, at 3:38 PM, David N wrote: We used to use RSnapshot http://www.rsnapshot.org/ to backup to an external disk, its a great tool that also does incremental via hard links which is a plus. Just after I posted, I started thinking about rsync. I hadn't known about rsync's hard link feature. So once I saw that, the trail did lead me to rsnapshot. The only thing I don't like about it is the security hole it demands of remote machines to be able to back up to them. Take a look at rsync's -e feature. You can use it to pipe its output through an ssh tunnel much as I just posted a moment ago: rsync -e ssh -x ... kreacher:path/to/usb/storage Andrew. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
On Saturday 26 April 2008 16:26:53 Jeffrey Goldberg wrote: I am hoping that this is on-topic for the questions list. If not, I apologize. I have a couple of FreeBSD systems, and I must confess that I haven't set systematic back-ups of them. I've taken a quick look at both the Bacula and Amanda documentation, but for reasons below I'll list why I don't think that they are idea for my rather simple situation. Each system has less than 20G to be backed up, including OS and ports. One of the systems, dobby, is physically difficult to get to. I would like dobby to be a network client for backup. The other, kreacher, is more conveniently placed, and actually has a cool little USB hard-drive drive dock. I've tested that and it works. I'd like this other machine So far, what I've been doing is running level 0 dumps on both kreacher and dobby. In each case, I've had enough space in /tmp to create dump files in /tmp. When done on kreacher, I've copied them over to a USB drive. The ones from dobby I've scp'ed over to kreacher. At worst I could script this, but it I can't be sure I'll always have the space in /tmp. I need to get the mounting of the USB drive clean and stuff like that. Also, always running Level 0 dumps is bad for a number of obvious reasons. My needs aren't to be able to always have the ability to recover some file to the state it was a week ago Thursday. (I wouldn't mind that, but that's not my primary goal). My primary goal is disaster recovery: In the event of a disk crash, fire, or I really mess up the system. Kreacher will shortly be running mysql-server with a couple of very small databases. Otherwise this are pretty static servers (light mail, DNS, DHCP, light HTTP). Neither machine can hold additional disks internally or is otherwise expandable. Both Amanda seems designed for back-up to tape. Bacula, frankly, seems too complicated. I'm sure that I could roll my own with dump or such, but I'm sure that I would leave important things out and that this has already been done by people who are smarter and more experienced than I am. So recommendations please. I have the same basic needs. I have been getting some success using (honestly my linux desktop, FBSD 5.4 servers) rsnapshot http://www.rsnapshot.org/ http://www.debian-administration.org/articles/217 Dont get me wrong, I would really prefer a gui setup, which is in fact why I started with rsnapshot as I am using kubuntu and there is a (retrospekt) app to do as winserver2000 to browse and do restores, but now that kde4.0 is out and it doesnt work with dolphin I am just continueing to use it for the backups. I use a desktop search engine to find the files when I need to restore one.. I know not necessarily what you are looking for but just my .02. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB HD based backup schemes
On Sat, 26 Apr 2008 15:26:53 -0500 Jeffrey Goldberg [EMAIL PROTECTED] wrote: I'm sure that I could roll my own with dump or such, but I'm sure that I would leave important things out i don't know about that, jeffrey. i found dump to be very straightforward and i think it's great you can ssh backups elsewhere. i looked at some of the others (amanda, cpio i think) too and they looked involved to me (admittedly this was several years ago so i don't know if things have changed more recently). -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pine Corupting Inbox
On Sat, 26 Apr 2008, Jeffrey Goldberg wrote: On Apr 26, 2008, at 2:58 PM, Chris Maness wrote: I am not having any problems whith other users, Then my suspicion grows stronger that something in your own particular pine configuration is putting your mail in a place where imapd can't see it. So in addition to what I've suggested, have you looked for any errors logged by imapd in your system logs? Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ No, it is leaving it on the spool. Squirrel mail can read the headers, but it cannot open the mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports Question
Hi all, What is the proper method to pass configure arguments when installing a port? example, I am trying to build exim with mysql and spf support make -D WITH_SPF=YES -D WITH_MYSQL=YES Please help, been struggling with this for what seems like forever. -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports Question
On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote: Hi all, What is the proper method to pass configure arguments when installing a port? While you can supply arguments on the command line, it is hard to remember. Therefore I think it is best to set arguments in make.conf. For example; -- make.conf excerpt -- .if ${.CURDIR:M*/graphics/xpdf} A4=yes .endif .if ${.CURDIR:M*/mail/mutt-devel} WITH_MUTT_SLANG2=yes WITHOUT_MUTT_HTML=yes WITHOUT_MUTT_XML=yes WITHOUT_MUTT_COMPRESSED_FOLDERS=yes WITHOUT_NLS=yes NOPORTDOCS=yes .endif .if ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=true .endif -- make.conf excerpt -- The '.if' statement ensures that the variables are only set when make is called from the praticular port direction. 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) pgpNxpqgz4ona.pgp Description: PGP signature
Re: Ports Question
On Sat, 26 Apr 2008, Grant Peel wrote: What is the proper method to pass configure arguments when installing a port? example, I am trying to build exim with mysql and spf support make -D WITH_SPF=YES -D WITH_MYSQL=YES I think for this example the proper syntax would be: make -DWITH_SPF -DWITH_MYSQL or even make -DWITH_SPF -DWITH_MYSQL install clean ..although I know nothing of exim. HTH. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2008-04-06 - 2008-04-26
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Manpage for rpc.ypupdated?
With all the recent changeover in namespace for rpc/yp stuff, there's been a lot moved around, but in all my searches, the ypd.upupdated daemon is completely undocumented. (even with a grep through the rest of the man directories provides no mention). Near as I can tell, it allows nis clients to make updates to the NIS maps (which is a dangerous functionality)...shouldn't there be SOME docs for this? If this should be opened as a bug, let me know. -Dan Mahoney -- She's NOT my girlfriend! -Dan Mahoney, Quite a bit recently. Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sidetracked: why gjournal over soft-updates (Was: Re: UFS2 Journaling implementation detail)
SU requires that data it once sends to the drive gets written immediately, not cached by the drive. Modern desktop drives don't do that They do if you set them to write-through cache instead of write-back cache. Modern SATA drives also provide NCQ. When is FreeBSD going to support NCQ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Distributing makefiles
Hi all, I am planning to distribute some of the makefiles I wrote on various platforms, including FreeBSD. I need the help of some insightful soul to take a few decisions: --- Where to install? I think /usr/local/share/mk is fine; --- How to install? Users should put a `.MAKEFLAGS: -I/usr/local/share/mk' statement in their /etc/make.conf, are ports scripts allowed to do this automagically? If yes what's the best way to do this? (an ed script?) --- Being system or not? BSD Make has two search pathes, the system one (whith style inclusion) and the other one (with style incusion). I think I shall consider my files non system, preserving the pathes for BSD. But ther may be some pros and cons I am not aware. Note: I did submit this questions on `ports' about ten days ago, but I did not receive any answer for this. People subscribed to `ports' will see this message for the second time, I apologize for the annoyance. Any comments welcome, -- cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]