Re: /boot is full after running make installkernel on FreeBSD 8.0
Try rm -r /boot/kernel.old I bet that's the problem. -- James Bailie http://www.mammothcheese.ca -Original Message- From: Ed Flecko edfle...@gmail.com Sender: owner-freebsd-questi...@freebsd.org Date: Thu, 1 Jul 2010 11:24:46 To: freebsd-questions@freebsd.org Subject: /boot is full after running make installkernel on FreeBSD 8.0 Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K./tmp/.XIM-unix 33M./usr/bin 18M./usr/include 37M./usr/lib 20M./usr/libexec 267M ./usr/local 20M./usr/sbin 37M./usr/share 511M ./usr/src 450M ./usr/ports 10M./var/db 10M./var 1.7M./etc 1.1M./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M./lib 4.3M./rescue 4.4M./sbin It looks like the both kernels are eating up the entire / Right? What am I doing wrong? The isn't normal, is it? Thank you, Ed ___ 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: Sed in FreeBSD
Sebastian Tymków wrote: I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There are many axamples in internet but none of them work on FreeBSD. The inserted line needs to be on a separate physical line. sed -e '/PATTERN/a\ line' For /bin/csh, you need two backslashes because the shell recognizes backslashes inside single-quotes, which it shouldn't. -- James Bailie [EMAIL PROTECTED] http://www.mammothcheese.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Epoch - string convertion functions?
Gary Kline wrote: In looking over my old C code I've come across lots of unexpected functions, but nothing that, say, given the long int that represents the Epoch can turn it into something useful. Anybody know of any off-the-shelf conversion programs that can turn time integers into YYMMDDHHMMSS type strings? You should be able to write one yourself fairly quickly and easily with the help of strftime() and localtime(). See the man pages of these functions. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script(1) Why does it output in CR/LF?
Kristian Vaaf wrote: The last question though, don't you find it the least bit stupid? Sure is. One is probably not going to use script(1) very often with programs which take the terminal out of canonical mode, so it makes sense to normalize line terminators when writing to the log file. With those programs which do fiddle with the terminal settings, the CRs might have significance, though. It would not be difficult to add an option to screen(1) to tell it to normalize line terminators in the log file, or perhaps change it to normalize by default, and have the option shut it off. It's a very simple program (/usr/src/usr.bin/script/script.c). -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script(1) Why does it output in CR/LF?
James Bailie wrote: It would not be difficult to add an option to screen(1) to tell it to normalize line terminators in the log file... I had some time on my hands, so I made a patch to add a c option to script(1) to collapse CRNL into NL in the log file. If you're interested, it's sitting in the pr-queue at: http://www.freebsd.org/cgi/query-pr.cgi?pr=94052 -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script(1) Why does it output in CR/LF?
Glenn Dawson wrote: At 02:30 AM 2/28/2006, Kristian Vaaf wrote: Hello. I am just curious why the files I generate with script(1) output in CR/LF forcing me to run dos2unix on them everytime? Script just captures the output of your shell, and your shell has to send crlf in order to get the cursor back to the beginning of a line. No it doesn't. The script(1) utility interposes a pseudo-terminal between the program whose output is to be captured and itself, so the program thinks its running on a terminal device and behaves accordingly. Then script(1) acts like a transparent filter, shuttling data back-and-forth from the actual terminal to the pseudo-terminal, while sending a copy of the program's output to the log file as well. It is the terminal driver in canonical mode, inside the pseudo-terminal, that is expanding NLs in the proggy's output stream into CRNL pairs. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getline function
Tom Grove wrote: ##Error## /var/tmp//ccqxIZxQ.o(.text+0x25): In function `main': : undefined reference to `readline' ##Error## You forgot to pass -lreadline to the compiler. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading roots mail when connected remotely
Daniel A. wrote: Stupid question, I know :( mail -u root -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux Realplayer
For all those folks out there who could not get the standalone helix realplayer to display menu text or button images, or who had the acrobat plugin recognized by Firefox but not working, I have found installing the latest linux-pango and linux-gtk fixed things on my system. Since the RUN_DEPENDS of linux-realplayer and acroread7 specify a symbolic link which does not contain precise version info, the gtk+ dependency will be satisifed by older, incompatible versions of linux-gtk2. The mystery for me, was where the older version of the library came from. I originally tried to portupgrade linux-gtk2, but it told me that port wasn't installed. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux Realplayer
James Bailie wrote: The mystery for me, was where the older version of the library came from. I originally tried to portupgrade linux-gtk2, but it told me that port wasn't installed. It occurs to me, it was probably installed by sysinstall when I installed 5.x from scratch in the summer. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash plugin in 6.0
Dev Tugnait wrote: The port is not broken cvsup your tree Yes it is. While some things work, it still does not create the proper symbolic link for the acrobat plugin, nor is the path for it correct in the sample libmap.confs. Beecher's fix will correct. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCP!
Joshua Lewis wrote: So how do I sign on to freebsd and then scp the folder to the windows machine? more like a push. scp can push or pull. You just don't have a sshd running on your windows machine, so pushing back to it isn't possible. What you want is a version of sftp or scp for Windows, to allow you to pull from the remote host. On the PuTTY website, two such tools are available, pftp and pscp. You can download them here: distribution.http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changing shell
FreeBsdBeni wrote: [EMAIL PROTECTED]:/home/beni chsh -s /usr/local/bin/bash beni chsh: user information updated [EMAIL PROTECTED]:/home/beni This should work if you are truly root, as the prompt suggests. If you are not, then you need to modify /etc/shells to include bash before invoking chsh. [EMAIL PROTECTED]:~ echo $path [EMAIL PROTECTED]:~ Any hints on the why of this ? When not invoked as a login shell, bash does not read /etc/profile or ~/.profile. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm?
Constantine A. Murenin wrote: They map it perfectly fine as 127, it's only FreeBSD's ee(1) that has this problem, tcsh and others work fine. ee does not do this on the console on my 5.4 machine, nor does it do this in an XTerm over an ssh connection to my 4.11 machine, therefore I would suspect the problem must be with the terminal emulator key mappings or pseudo-terminal settings. In fact, since changing the value of TERM fixed things, it PROVES the problem is with one of these. If you go to the PuTTY website you will find a simple answer to your question in the online documentation. In the data panel of the configuration settings, you may change the terminal-type-string to vt200, to cause PuTTY to set TERM correctly for you. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: plugin in mozilla
Short version: - install the required ports: mozilla/firefox, linuxpluginwrapper (plugins should be installed automatically as its dependencies) linuxpluginwrapper does not install plugins as dependencies unless one passes the -DWITH_PLUGINS option to make. This may be the problem. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proposed license for IETF Contributions
Ted Mittelstaedt wrote: You might check this but I believe that the Copyright convention specifically excepts specifications from copyright coverage. I think there's some other classes of original work that fall under this. How about simply rewriting the ITEF license to designate any RFC as the complete RFC is a specification, and therefore uncopyrightable. I'm not a lawyer, but I strongly believe under the Berne convention RFCs have copyright. The technical details described in an RFC may be protected by other IP laws, such as patent law for example, if the originator chose to patent those details, but the text of the RFC document itself, describing those details, is an original composition which satisfies the terms of the convention. The only means of rescinding copyright is for the copyright owner to explicitly place the work into the public domain. Simon's proposed license seems reasonable to me. It is essentially a BSD-style license, allowing royalty-free redistribution and modification, but with a difference when it comes to attribution. Original unmodified text from a specification must contain an attribution to the source document, while any modified versions (which may contain inaccuracies) have to have all references to the source organizations removed. The Berne convention is online, at the WIPO site: http://www.wipo.int/treaties/en/ip/berne/trtdocs_wo001.html#P85_10661 -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: You have received an electronic postcard.
Chris wrote: Ohh! I have an electronic friend! I must go look! I had an electronic friend once, but I dismantled him when he started acting all funny and patronizing after watching Terminator 2. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pausing boot process
J. W. Ballantine wrote: Is there someway to pause the scrolling/process so the error is read-able?? No. After the system boots, log in as, or su to, root, and invoke dmesg to view kernel messages. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: readline problems in FreeBSD 5.4/6.0
Bryan Maloney wrote: ... I first noticed this when I went to portupgrade to the 11-10-05 dated readline port in ports - the first shell I opened up after the portupgrade completed exhibited this problem, as have all bash shells since (without readline disabled). This may be a silly question, but did you use portupgrade to rebuild the ports which depend on readline? -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printer prints garbage
Ron wrote: On restart of the printer, FreeBSD will send it printing information, but it should *not* do this, since the printer is out of sync with FreeBSD. The result is garbage pages. This is perfectly reasonable behavior. The print daemon does not know you are trying to stop it from printing. It simply stalls the print job when the printer stops responding, and then resumes it when the printer is available again. If you wish to stop a print job, use lpq to determine the job number and then feed that to lprm to dequeue the job. Then you reset the printer to clear out its own buffer. There is certainly a better way to do this than to yank the plug out of the wall. One usually presses a button to reset a printer. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printer prints garbage
Ron wrote: I am using Cups(I forgot to mention this). I know nothing of CUPS. The manual is online however, at: http://www.cups.org/doc-1.1/sum.html#3_7 After a quick perusal, it appears one uses lpstat to get a job id, and then one invokes cancel [id] and then lprm [id] to cancel the job. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thunderbird port problem ?
Frank Bonnet wrote: Hello I've compiled thunderbird 1.0.7 from ports at 6.0-R and I have a small problem which is when I click on an URL written in an email it does not start firefox or any other www browser. I thinks I miss something but ... what ??? The following web page describes the process of making FireFox launch Thunderbird, and vice versa, under Linux. The process is identical for FreeBSD: http://www.schwer.us/journal/2005/05/01/getting-firefox-and-thunderbird-to-play-nice-under-linux/ Note that one of the two shell scripts the author uses as wrappers, invokes /bin/bash. You must change that to /bin/sh. The sh on FreeBSD can handle the code in the file. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 and Objective C
Marc Argent wrote: This results in the following error message: /usr/lib/libobjc.so: undefined reference to `pthread_attr_destroy' /usr/lib/libobjc.so: undefined reference to `pthread_create' /usr/lib/libobjc.so: undefined reference to `pthread_attr_init' /usr/lib/libobjc.so: undefined reference to `pthread_exit' /usr/lib/libobjc.so: undefined reference to `pthread_getschedparam' /usr/lib/libobjc.so: undefined reference to `pthread_setschedparam' /usr/lib/libobjc.so: undefined reference to `pthread_attr_setdetachstate' Try adding -lpthread to the compiler command line? -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]