FreeBSD Release Date Challenge, plus other stuff the project needs
On topic... We do have these... http://www.freebsd.org/releases/9.1R/schedule.html http://wiki.freebsd.org/Releng/9.1TODO which serve well to illustrate at least a few parts of the problem: - Different dates listed for the same events. - Two different sites/pages for the same type of info. - Neither particularly utilized for/to their purpose (release commits this month not yet noted for the public, blanks in tables) - Ineffective decisions as to which of the two pages to adopt and to delete the other as a waste of commmunity resources and confusion as to which is authoritative. This is not meant to single out 9.1, but the aggregate of all releases, 9..8..7..6... viewed in sliding windows if need be to identify particular problem areas. And whatever 'other stuff' the project needs. A little criticism or kudos now and then is a good thing. I've used FreeBSD fulltime since at at least 10 years, it's that good. Off topic... No we don't. Really? Nothing wrong with this being a survey thread. Go back to posting your pictures of kiddie porn I prefer adults, exclusively. Sorry to disappoint the prurient interests that are clearly on your mind. anonymous. Sure 'illoai', what's your residence address again? ___ 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 Release Date Challenge, plus other stuff the project needs
We, the users of FreeBSD, *do hereby challenge* the FreeBSD project to meet its future release dates. Why: Because the FreeBSD project has not met a significant number of its release dates. It's an apalling state of affairs and makes you, the project, look silly. Business and personal users plan elements of their schedules, budgets and capabilities around OS updates. And the continual failure of FreeBSD to deliver causes us to have no alternative but to look at our bosses and just shrug. We've taken to padding it out a week, two weeks, a month, two months... just to cover the random slippage. Since there seems to be no public statements about this ongoing situation, we might as well pad it to a quarter or a half... FreeBSD's already a half behind on status reports. No one is asking for a commercial dictatorship here. But please FreeBSD, coordinate better amongst yourselves!!! Be honest about what is and isn't going to make it. Grow the wiki as your central coordination center [ie 1] and start moving dynamic docs from www to there (the community). Replace GNATS (omg, ugh), SVN, and even MoinMoin so the world can interface with some things that it has some (good / market leading) experience with [2]. Other than that, FreeBSD is great :) [1] http://wiki.freebsd.org/WhatsNew/FreeBSD10 [2] https://en.wikipedia.org/wiki/Comparison_of_wiki_software https://www.mediawiki.org/wiki/MediaWiki https://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems https://en.wikipedia.org/wiki/Comparison_of_help_desk_issue_tracking_software http://www.bestpractical.com/rt/ https://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software_(PHP) https://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software http://www.simplemachines.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: compare zfs xfs and jfs o
I think that XFS JFS are more mature filesystems than ZFS This is not up for discussion. but the feature set of ZFS i ahead in the future. Too many iPads, iPhones, etc? For a NFS server first I'll go with ZFS because the consistence in disk If not spelling, or grammar... and speed will gonna be the differentiator. A high-school education may well have been the differentiator, but that's not important right now. Journaling filesystems are not known for speed. EXT2 will probably outperform ZFS as far as NFS servers go. -- Speed Will Gonna Be The Differentiator ___ 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: CLANG vs GCC tests of fortran/f2c program
Besides, NetBSD and OpenBSD has already selected and using pcc now. And they are fine with that one. I wish that or something like that were true, but pcc is dead even in OpenBSD packages/ports. There was just some discussion on misc@ I am hoping for the day gcc is only used on Linux and many free compilers are used everywhere else. ___ 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: Why Clang
GPL protects the freedom of the programmer who licensed his code under those licenses: He wants it to be free for use, but not to be turned into closed source products. What a lying sonofabitch. That is not called freedom. That is called forcible, viral open source. I think we can all see the difference. Open your motherfucking eyes, communist goofball... A programmer who does not want to raise this barrier will typically use the BSD license which is more free. No, it's just plain free. BSDL in opposite is often criticized a rape me license. No, it is not, except perhaps by lying atheist Marxist bastards and his religious adherents. It explicitely (!) allows creating derivates in a closed source manner. This means that parts of BSD licensed code can be a key component in a proprietary closed source product that is for sale (e. g. a firewall appliance), and nobody will find out about that fact. Now you got it! GPL is about forcing people to do what /you/ want and BSD is about letting them do what /they/ want. Let's see if you can guess which one of those licenses is about freedom. Hint: freedom is not defined as forcing people to do what you want. ___ 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: UEFI Secure Boot Specs - And some sanity
Isn't there a lot of needless handwaving going on when the spec is pretty clear that installing your own complete PKI tree will all boil down to what is effectively a jumper on the motherboard? No, considering 99.99% of of current Windows victims can't even install a fresh copy of Windows. Users could fully utilize the UEFI Secure Boot hardware by say: - Using openssl to generate their keys - Jumper the board, burn it into the BIOS in UEFI SB SetupMode - Have all the MBR, slice, partition, installkernel, etc tools install and manage the signed disk/loader/kernel/module bits - Have the BIOS check sigs on whatever first comes off the media Yeah that's trivial for 99.99% of users. I have no idea what everyone is on about. I just program my own PROM and make my own motherboards. Now back to reality, most people don't know how to use openssl. They don't want to break the seal on their PC and void the warranty. They don't want to play with jumpers. They don't know how to use Linux fdisk or BSD disklabel. They can't set up their BIOS. They may not be the typical BSD or Linux poweruser but they represent most users. And sadly even a significant percentage of BSD and even a more significant percentage of Linux users (thank you Ubuntu) aren't capable of doing these things. And if they really were that dumb, there's Gigabyte, Asus, Msi, Supermicro, Biostar, etc who will not be so dumb and will soak up all the remaining sales gravy. We're going to see if that happens but it won't. The WinTel Mafia controls more than what you think and these vendors know they get many magnitudes more money from selling Windows commodity shitboxes than they ever will from all the BSD and Linux users multiplied together. ___ 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: Is this something we (as consumers of FreeBSD) need to be aware of?
Damien Fleuriot m...@my.gd wrote: On 6 Jun 2012, at 21:52, Dave U. Random anonym...@anonymitaet-im-inter.net wrote: Polytropon free...@edvax.de wrote: On Wed, 06 Jun 2012 11:47:11 +0100, Matthew Seaman wrote: Having to pay Verisign instead of Microsoft makes no difference: the point is why should I have to pay anything to a third party in order to run whatever OS I want on a piece of hardware I own? It's time to dump the Intel/Microshaft mafia forever. FreeBSD, OpenBSD, NetBSD, and even Linux have ports to many platforms. Why stay on Intel? It's an overgrown ugly mess. We need to stop buying Intel mafiaware with preinstalled Microshaft mafiware and run a free (or in the case of Linux apparently free) OS on free hardware. There are increasing numbers of SBCs and plenty of used servers on Ebay. They're all built better than commodity Intel mafiaware. Good riddance! You have no idea what you're talking about. I have no idea what you're talking about. Does that count? This kind of religious propaganda post is neither constructive nor helpful. But your expansive and well-reasoned rebuttal is? Is mafiaware a religious issue? I thought it was common sense. Thanks for your half-assed attempt to marginalize it. I don't think you were successful. If at first... I don't trust AMD with my servers' CPUs, not since many years ago when they had all these overheating problems. I don't really care about that. But I'm sure you feel better after getting it off your chest. Still, that doesn't have to do with two major corporations conspiring to butt-fuck the consumer. At most it involved one company. So, for now, this is more important than what you wanted to talk about. ___ 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: Anyone using freebsd ZFS for large storage servers?
Certainly with computers that never have hardware faults and assuming ZFS doesn't have any software bugs you may be right. That was part of their assumption. It's based on server grade hardware and ECC RAM, and lots of redundancy. They missed the part about their code not being perfect. But in real world you will be hardly punished some day ;) Yep, big time. Hardly as in hard, not as in barely. ___ 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: I have a question.
This doesn't answer your question but let me be the first to congratulate you on your wisdom of not posting this to m...@openbsd.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: T2000 Sparc FreeBSD8.2 installation failed
At this stage, your options appear to be: illumos/OpenIndiana Not being developed on SPARC Linux, AFAIK Gentoo, Funtoo, Debian are the only supporting distros and you will need to check if sun4v and your machine are supported NetBSD Not recommended, sorry to say or OpenBSD. Highly recommended. Note that I've not tried any of these. OpenBSD seems to work brilliantly on my sun4u machines, not sure how much of the sun4v are supported but you can ask on the sparc64 list openbsd.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: Installing free bsd
I recall having some trouble finding a decent ISO burner for Windows that didn't require paying but came across ActiveISO Burner. If Freeburner is still available it works pretty well on Winbloze. Alternatively have a friend burn it for you or boot a Linux live CD like Knoppix or Slax and use K3B since it's very user friendly. ___ 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: Diljot kor wants to chat
The invite everyone in your address book feature is evil, yes? Don't blame the invite feature, *google* is evil. Don't be evil? Your ass! Fuck you google! ___ 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: VESA and SDL in tty terminal
David Demelier demelier.da...@gmail.com writes: On 10/02/2011 15:37, Anonymous wrote: David Demelierdemelier.da...@gmail.com writes: Hello, The SDL's pkg-message says we can use video driver in tty terminal. To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable SDL_VIDEODRIVER=vgl. I tried it with mplayer : $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER $ mplayer -vo sdlthe file here [...] [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to requested mode. IIRC, vgl(3) mode setting unlike vidcontrol(8) doesn't work as regular user. Try running mplayer under root [...] Hi it works fine except after leaving mplayer or any SDL application my tty seems broken. I can't switch to a tty anymore my screen stays black and I must reboot/shutdown (no panic) I'd try changing ttyvN using chvt[1], e.g. $ sudo mplayer ...; sleep 2 sudo chvt 1 And as mode-setting is somewhat buggy I'd suggest to start with the least problematic mode, i.e. mode# flags typesize font window linear buffer 24 (0x018) 0x0001 T 80x25 8x16 0xb8000 32k 32k 0x 32k and scaling every video to the desired resolution using vf_scale [vo.sdl] #fs = false # implied #vm = false # implied # 1600x1200 (native) is broken, downscale vf-add = scale=1270:-2 vf-add = scale=-2:1020::1 [1] http://lists.debian.org/debian-bsd/2009/11/msg6.html the one I use - http://pastebin.com/f7ycYyxe Are you encountering the same issue? There is no way to use vgl as regular user or we could open a PR for it? ___ 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: VESA and SDL in tty terminal
David Demelier demelier.da...@gmail.com writes: Hello, The SDL's pkg-message says we can use video driver in tty terminal. To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable SDL_VIDEODRIVER=vgl. I tried it with mplayer : $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER $ mplayer -vo sdl the file here [...] [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to requested mode. IIRC, vgl(3) mode setting unlike vidcontrol(8) doesn't work as regular user. Try running mplayer under root, e.g. $ sudo mplayer -msgmodule -msglevel vo=9 -vo sdl the file here [...] DEMUX: VIDEO: [avc1] 1280x720 24bpp 23.976 fps0.0 kbps ( 0.0 kbyte/s) VIDEOOUT: SDL: Opening Plugin VIDEOOUT: [VO_SDL] Using driver: vgl. VIDEOOUT: X11 opening display: VIDEOOUT: vo: couldn't open the X11 display ()! [...] CPLAYER: Starting playback... CPLAYER: Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. CPLAYER: VO: [sdl] 1280x720 = 1280x720 Planar YV12 VIDEOOUT: SDL: Using 0x32315659 (Planar YV12) image format VIDEOOUT: SDL: using hardware-surface VIDEOOUT: SDL: setting zoomed fullscreen with modeswitching VIDEOOUT: SDL Mode: 0: 1600 x 1200 VIDEOOUT: SDL Mode: 1: 1280 x 1024 VIDEOOUT: SDL Mode: 2: 1024 x 768 VIDEOOUT: SDL Mode: 3: 800 x 600 VIDEOOUT: SDL Mode: 4: 640 x 400 VIDEOOUT: SDL Mode: 5: 640 x 480 VIDEOOUT: SDL Mode: 6: 320 x 240 VIDEOOUT: SDL Mode: 7: 320 x 400 VIDEOOUT: SDL Mode: 8: 320 x 200 VIDEOOUT: SET SDL Mode: 1: 1280 x 1024 In case your keymap doesn't work under vo_sdl(vgl) try below workaround %% Index: multimedia/mplayer/files/patch-vgl-xlate_keys === RCS file: multimedia/mplayer/files/patch-vgl-xlate_keys diff -N multimedia/mplayer/files/patch-vgl-xlate_keys --- /dev/null 1 Jan 1970 00:00:00 - +++ multimedia/mplayer/files/patch-vgl-xlate_keys 10 Feb 2011 14:34:43 - @@ -0,0 +1,62 @@ + use character codes for vgl driver + +--- configure~ configure +@@ -4579,6 +4579,19 @@ EOF + fi + fi + if test $_sdl = yes ; then ++ cat $TMPC EOF ++#ifdef CONFIG_SDL_SDL_H ++#include SDL/SDL.h ++#else ++#include SDL.h ++#endif ++int main(void) { SDL_VIDEO_DRIVER_VGL; return 0; } ++EOF ++ if cc_check -DCONFIG_SDL_SDL_H $_inc_tmp -lvgl || cc_check $_inc_tmp -lvgl ; then ++_ld_tmp=$_ld_tmp -lvgl ++ fi ++fi ++if test $_sdl = yes ; then + def_sdl='#define CONFIG_SDL 1' + extra_cflags=$extra_cflags $_inc_tmp + libs_mplayer=$libs_mplayer $_ld_tmp +--- libvo/sdl_common.c~ libvo/sdl_common.c +@@ -27,6 +27,11 @@ + #include input/mouse.h + #include video_out.h + ++#ifdef SDL_VIDEO_DRIVER_VGL ++#include sys/fbio.h ++#include vgl.h ++#endif ++ + static int old_w; + static int old_h; + static int mode_flags; +@@ -44,6 +49,9 @@ int vo_sdl_init(void) + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, 100 /*SDL_DEFAULT_REPEAT_INTERVAL*/); + + // Easiest way to get uppercase characters ++#ifdef SDL_VIDEO_DRIVER_VGL ++VGLKeyboardInit(VGL_XLATEKEYS); ++#endif + SDL_EnableUNICODE(1); + + // We don't want those in our event queue. +@@ -56,8 +64,12 @@ int vo_sdl_init(void) + + void vo_sdl_uninit(void) + { +-if (SDL_WasInit(SDL_INIT_VIDEO)) ++if (SDL_WasInit(SDL_INIT_VIDEO)) { ++#ifdef SDL_VIDEO_DRIVER_VGL ++VGLKeyboardInit(VGL_CODEKEYS); ++#endif + SDL_QuitSubSystem(SDL_INIT_VIDEO); ++} + } + + void vo_sdl_fullscreen(void) %% ___ 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: editors/openoffice-org-3.3.0: serious issue with X11
O. Hartmann ohart...@zedat.fu-berlin.de writes: Hello. I just upgraded openoffice-3.2.1 to openoffice-org-3.3.0 and found myself in a serious issue. Opening openoffice works only sporadically, in most cases I get the error: XDM authorization key matches an existing client!/usr/local/openoffice.org-3.3.0/openoffice.org3/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See man X resp. man xhost for details) Have you tried to add the following to xdm-config DisplayManager*authName: MIT-MAGIC-COOKIE-1 or adjusting permissions using xhost(1)? ___ 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: Why top(1) only shows time of the main thread?
Yuri y...@rawbw.com writes: TIME column is supposed to show time of the process (according to its man page). But it seems like it only shows the time of its main thread. Why? Bug in documentation? Wasn't this fixed in r182966? ___ 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: libm alternative in ports
Alexander Best arun...@freebsd.org writes: hi there, does anybody if there's an alternative for libm in the ports dir? i need it, because the newest snapshots of mplayer require log2() and log2f(), which the base libm doesn't support. for mplayer I'd suggest using code from x264 because both projects use GPLv2+ #if !HAVE_LOG2F #define log2f(x) (logf(x)/0.693147180559945f) #define log2(x) (log(x)/0.693147180559945) #endif ___ 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: extra open ports in rkhunter
Chuck Swiger cswi...@mac.com writes: Hi-- On Sep 18, 2010, at 4:27 PM, Carl Johnson wrote: The following are the ports if anybody has any ideas, but I would also like to know how to trace them down myself: tcp4 0 0 *.876 *.*LISTEN tcp6 0 0 *.921 *.*LISTEN udp4 0 0 *.608 *.* udp6 0 0 *.952 *.* udp6 0 0 *.804 *.* Do you have some networking FS enabled (NFS, AFS, Coda, etc)? Perhaps, one of them listens for connections from kernel and is not associated with userland process. But it's just a guess. Try: lsof -i tcp:876 ...and so forth for the other ports; this will give you the process ID of whatever is holding that socket. Speaking of processes, procstat(1) can show them, too. $ procstat -af | (IFS= read hdr echo $hdr; fgrep UDP) PID COMM FD T V FLAGSREF OFFSET PRO NAME 1023 syslogd 6 s - rw-- 1 0 UDP ::.514 ::.0 1023 syslogd 7 s - rw-- 1 0 UDP 0.0.0.0:514 0.0.0.0:0 1170 nfsuserd3 s - rw-- 8 0 UDP 0.0.0.0:998 0.0.0.0:0 ___ 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
Thank you all for FreeBSD
Thanks to all people who program, develop and h/-\ck for FreeBSD - it is a great free system and best choice ... Thanks! - anonymous ___ 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: autoconf 2.63
Leonardo M. Ramé martinr...@yahoo.com writes: Thanks, but I did a portsnap fetch update and the autotools wasn't updated. How can I get the correct port? The PR is not vetted by exp-run yet. If you're not gonna test the patch then better just wait for it to hit the ports tree. ___ 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: autoconf 2.63
Leonardo M. Ramé martinr...@yahoo.com writes: Hi, while trying to compile Firebird 2.1.x from sources I got this error: **Error**: You must have autoconf 2.63 or later installed. My first reaction was looking at /usr/ports/devel, but found that the highest version of autoconf available is 2.62. How can I get 2.63? The patch in ports/149861 contains autoconf-2.67. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149861 ___ 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: Bash Script Help - File Names With Spaces -- SOLVED
Drew Tomlinson d...@mykitchentable.net writes: It finally occurred to me that I needed the shell to see a new line as the delimiter and not whitespace. Then a simple search revealed my answer: O=$IFS IFS=$(echo -en \n\b) do stuff IFS=$O Old IFS value can be preserved by using `local' keyword or (...) braces, too. It's a bit better than polluting global scope with temporary variable. $ echo -n $IFS | (vis -w; echo) \040\^I\^J $ for i in $(find . -type f); do echo $i; done ./My Long File Name ./Another File $ f() { local IFS=; eval $@; } $ f 'for i in $(find . -type f); do echo $i; done' ./My Long File Name ./Another File $ (IFS=; for i in $(find . -type f); do echo $i; done) ./My Long File Name ./Another File $ echo -n $IFS | (vis -w; echo) \040\^I\^J ___ 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: awk problem
Len Conrad lcon...@go2france.com writes: awk 'FS=. { print $(NF-1).$NF }' rm90.steampick.info.rm90.steampick.info lanejive.info govdelivery.com orangetalon.info carespecial.info Hmm, I can't reproduce it on /head. What FreeBSD version you're using? Can you try with lang/nawk port? nawk is from the same vendor as /usr/src/contrib/one-true-awk. ___ 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: Documentation on how to build 32bit applications on amd64?
Yuri y...@rawbw.com writes: I need to build 32 bit apps the same way as they would be built on i386. When I run 64-bit gcc I get this: gcc -m32 -o m m.c /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc When I run 32bit gcc I get this: /gcc-4.5.0-32/bin/gcc -m32 -o m m.c /var/tmp//ccif89DB.s: Assembler messages: /var/tmp//ccif89DB.s:11: Error: suffix or operands invalid for `push' /var/tmp//ccif89DB.s:14: Error: `-12(%ebp)' is not a valid 64 bit base/index expression In first case libgcc.so isn't found, and specifying -L/usr/lib32 doesn't help. In the second case 32bit compiler runs 64-bit assembler which is wrong. This was already discussed several times. I only remember recent threads[1][2]. I've built a few ports with not many dependencies but stumbled on unrelated issues before ever trying smth like emulators/wine. [1] http://docs.freebsd.org/cgi/mid.cgi?201007291718.12687.tijl [2] http://docs.freebsd.org/cgi/mid.cgi?86tyobk6bu.fsf ftp://ftp.lissyara.su/users/Guest/cc32wrapper (improved wrapper) Is there a documentation how to cross compile 32 bit apps on 64 bit platform? The only documented way is by using 32bit chroot. ___ 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: awk problem
mer...@stonehenge.com (Randal L. Schwartz) writes: Len awk 'FS=. { print $(NF-1).$NF }' Len rm90.steampick.info.rm90.steampick.info Len lanejive.info Len govdelivery.com Len orangetalon.info Len carespecial.info Yes, that would be the expected behavior. You need to set the FS *before* processing the first line. Either use -F ., or a BEGIN block. Then it's already fixed in 8.1-RELEASE by update in r201951. contrib/one-true-awk/FIXES: Nov 26, 2009: fixed a long-standing issue with when FS takes effect. a change to FS is now noticed immediately for subsequent splits. ___ 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: Documentation on how to build 32bit applications on amd64?
Yuri y...@rawbw.com writes: --- output of 64 bit executable (gcc -o m m.c) --- match: off=0 so=3 eo=4 match: off=4 so=3 eo=4 --- output of 32 bit executable built on 64 bit system with flags (gcc -B/usr/lib32 -m32 -o m m.c) --- match: off=0 so=3 eo=0 I guess machine-dependent headers are involved. $ cc -m32 -B/usr/lib32 a.c $ ./a.out match: off=0 so=3 eo=0 $ ln -s /usr/src/sys/i386/include machine $ cc -m32 -B/usr/lib32 -isystem. a.c $ ./a.out match: off=0 so=3 eo=4 match: off=4 so=3 eo=4 Same thing is happening for mmap() http://docs.freebsd.org/cgi/mid.cgi?20100524.134955.230088351175323.okuno.kohji ___ 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: Grepping a list of words
Jack L. Stone ja...@sage-american.com writes: Kindly appreciate help with how to grep (or similar) a list of words to determine if any of them are in a file rather than grepping one word at a time. Perhaps, `-e' option? $ printf 'foo\nbar\n' | fgrep -e foo -e bar foo bar ___ 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: Grepping a list of words
Oliver Fromme o...@lurza.secnetix.de writes: John Levine jo...@iecc.com wrote: % egrep 'word1|word2|word3|...|wordn' filename.txt Thanks for the replies. This suggestion won't do the job as the list of words is very long, maybe 50-60. This is why I asked how to place them all in a file. One reply dealt with using a file with egrep. I'll try that. Gee, 50 words, that's about a 300 character pattern, that's not a problem for any shell or version of grep I know. But reading the words from a file is equivalent and as you note most likely easier to do. The question is what is more efficient. This might be important if that kind of grep command is run very often by a script, or if it's run on very large files. My guess is that one large regular expression is more efficient than many small ones. But I haven't done real benchmarks to prove this. BTW, not using regular expressions is even more efficient, e.g. $ fgrep -f /usr/share/dict/words /etc/group When using egrep(1) it takes considerably more time and memory. ___ 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: chflags(1) unaware utilties
Roland Smith rsm...@xs4all.nl writes: On Tue, Aug 10, 2010 at 05:22:47PM -0400, ill...@gmail.com wrote: On 9 August 2010 14:00, Alexander Best arun...@freebsd.org wrote: hi there, chflags(1) mentions that a few utilities including pax(1) aren't chflags aware yet. is there a list of all those utilties available somewhere? snip in fact the pax(1) manual states that `pax -p e` will preserve everything. this is plain wrong! AFIK, pax is a POSIX thing, and as such working correctly or sanely would violate its posix nature. (POSIX is an anagram of Pox? Si!) Is cpio chflags-aware? To the best of my knowledge the _only_ way to be sure you have backed up _all_ possible features (flags, extended attributes c) of a UFS filesystem is to use dump(8) restore(8). Since when did the thread switch to UFS-specific tools? Unless I'm missing smth dump(8)/restore(8) don't work on ZFS. You can use bsdtar(1) in order to save/restore chflags, ACLs and extattrs in a FS-agnostic way. ___ 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: Good Terminal for X?
Chip Camden sterl...@camdensoftware.com writes: Quoth Roland Smith on Friday, 06 August 2010: On Fri, Aug 06, 2010 at 03:12:11AM -0500, Depo Catcher wrote: I use Icewm, so don't want to install all that kde/gnome libs/dependencies and such to get konsole or gnome-console (but both are nice) xterm does display some things correctly (like sysinstall type command line GUIs). Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and it does handle unicode well. It's a lot lighter than xterm. And it has transparancy or backgrounds if you like that. On the subject of unicode, can anyone recommend a good terminal font that includes all (or most) unicode characters? If I'm not mistaken unicode coverage can be achieved by combining several fonts using fontconfig[1]. The good start would be to combine DejaVu Sans Mono with some CJK font of your choice. [1] This is where xterm sucks, it can only use normal + double-width font. ___ 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 subscribe to PR updates that are not assigned to a maillist?
I want to receive updates to a few PRs that are submitted by someone else. When such PR is assigned to a maillist (e.g. freebsd-ports-bugs@) I can subscribe to it and filter messages based on PR number. But what I'm supposed to do when it's assigned to a person with @FreeBSD.org address? Is querying CGI interface the only option? For example, in bugzilla I can add myself to CC list. ___ 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: Setting Debug flag in /etc/make.conf
Robert Bonomi bon...@mail.r-bonomi.com writes: I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? I am assuming that I can simply place that flag in the make.conf file. Do I have to also give it a value; i.e =1 or =yes also? What's wrong with the traditional way of doing this -- i.e., setting the environment variable CFLAGS to -g befoe your start make-inthings? Because you need to define empty STRIP, too. OTOH, setting WITH_DEBUG or DEBUG_FLAGS does this for you. ___ 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: TEKEN_UTF8 TEKEN_XTERM
Chris Telting christopher...@telting.org writes: Just wondering if anyone else has played with this? I compiled it into the kernel but the terms are still cons25. I think you need to change `cons25' to `xterm' in /etc/ttys, too. ___ 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: Setting Debug flag in /etc/make.conf
(resending, previous mail didn't show up in the list archive) Jerry freebsd.u...@seibercom.net writes: I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= You'd lose `-O2' compiler-specific optimization. If you want to retain it use DEBUG_FLAGS, e.g. DEBUG_FLAGS = -ggdb CFLAGS += ${DEBUG_FLAGS} Ports that build using bsdmake don't really need the second line as well as buildworld. in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? I am assuming that I can simply place that flag in the make.conf file. Do I have to also give it a value; i.e =1 or =yes also? Besides symbols some ports enable compile-time debugging and disable optimization using WITH_DEBUG ifdef that may impact performance. ___ 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: Emacs gnus in 8.1 not reading email
Carl Johnson ca...@peak.org writes: I am experimenting with 8.1 in VirtualBox, but I discovered that I can't get gnus to work. I just brought over my configuration from a working 7.3 system, but on 8.1 it won't read the mail from the system. Gnus will start up, but it just reports that there is no mail. It did work one time with a couple of test messages, but I have never gotten it to repeat since then. I tried sending a couple of messages and they show up in my system mailbox. I also tried reading my system mail with the command line mail program and emacs rmail to verify that the system is handling mail properly. I also tried using a blank .gnus file and there was no change. I verified with my 7.3 system that gnus will at least read mail with a blank .gnus file. Try without ~/.newsrc.eld. BTW, what backend do you use for reading mail? nnmaildir? Does anybody have any suggestions on what is different? I have been using gnus for many years and I don't really want to change to another mail program. Thanks for any ideas. ___ 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: I donot like using mergemaster ?
Frank Shute fr...@shute.org.uk writes: On Mon, Jul 26, 2010 at 06:18:22PM -0700, zaxis wrote: that's great ! I will use /etc/mergemaster.rc to upgrade my FB 8.0. You might also want to put this line in mergemaster.rc: DIFF_OPTIONS='-I$FreeBSD:.*[$]' I think it's already done by FREEBSD_ID (-F) in rc file. ___ 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: Bash logging: two questions
jimbob palmer jimbobpal...@gmail.com writes: Hello, I would like to run a bash script but to log output and exit codes. Essentially I would like to run the script with bash -x, but for that output to the log to go to a file, and the normal output as from running a normal script to go to the terminal. Dunno about bash but in zsh it's easy #! /usr/bin/env zsh PS4='+%i:%N:%? ' exec 2trace.log set -x # here goes the main script foo=5 bar=$(date) echo foo=$foo, $bar false echo It should work in sh(1) except you'll not see exit values in prompt. Seems like bash doesn't have tcsh-like features: `%?' and printexitvalue. I guess you'll have to write your own wrapper to put `$?' into stderr after each command. My second question is about history. Bash has a -h option to remember the location of commands as they are looked up. Is it possible for this to be recorded in the history? e.g. if I run ls, it would record /bin/ls to the bash history file. If bash has smth like zshaddhistory() it'd be easy... ___ 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: sockets stuck in use
Jim stapleton...@gmail.com writes: I was working on an application I've been developing, and I closed the last instance a bit over 12 hours ago, but some of the sockets are still stuck in use: [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612 tcp4 0 0 192.168.1.80.42464 192.168.1.2.9612 SYN_SENT tcp4 0 0 192.168.1.80.35742 192.168.1.2.9612 CLOSED tcp4 0 0 192.168.1.80.46116 192.168.1.2.9612 CLOSED tcp4 0 0 192.168.1.80.36792 192.168.1.2.9612 CLOSED Is there any way to get rid of them without restarting the machine? I was playing with sockopt SO_KEEPALIVE and SO_LINGER when I caused this issue.. Does tcpdrop(8) help? ___ 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: .sh check for sufix g or m on size field
Aiza aiz...@comclark.com writes: Have a .sh script that accepts an -s sparse file size. Only 2 suffix's are valid m and g. Been trying to get this line of code to strip out just the single letter. But it strips the letter and every thing to the right of it. Timagesize=`echo-n ${imagesize} | sed 's/g.*$//'` You didn't state what's your input. I guess smth like following will do strip() { local size= if printf - 2- %g ${size:=${1%[gm]}}; then echo it's a \`$size' without suffix else echo $1 has invalid suffix fi } $ strip 17m it's a `17' without suffix $ strip 33g it's a `33' without suffix $ strip 25gm 25gm has invalid suffix I plan to strip just the m or g if its there and the result should be numeric. If not numeric know invalid suffix. Need help with the sed syntax. Or if there is better way I want to learn it. ___ 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: livefs hard links
Warren Block wbl...@wonkity.com writes: The FreeBSD livefs ISO filesystem hides hard links, so they can't be accurately copied. Use `tar cf - | tar xf -' to copy them. Is relinking nearly everything in /rescue enough, or are there other former hard links waiting to pop up? There are some hardlinks in /bin, /sbin, /usr/bin, /usr/sbin dirs. ___ 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: livefs hard links
Warren Block wbl...@wonkity.com writes: On Thu, 8 Jul 2010, Anonymous wrote: Warren Block wbl...@wonkity.com writes: The FreeBSD livefs ISO filesystem hides hard links, so they can't be accurately copied. Use `tar cf - | tar xf -' to copy them. That was my first thought, too. Well, second thought, after 'rsync -aH'. But the mounted ISO filesystem doesn't show hard links as hard links: # ls -li /mnt/rescue 416796 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 [ 399564 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atacontrol 399690 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atmconfig 399816 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 badsect ... 414 is the number of hardlinks. You can as well try to use iso9660 reader in libarchive, e.g. $ bsdtar xvf /dev/cd0 --include rescue/\* $ bsdtar xvf /path/to/blah.iso --include rescue/\* And rsync or tar never see a hard link to copy. ___ 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: debugfsFreeBSD
Dmitry Lunts eingorn...@gmail.com writes: Hello,All! There is debugfs program dealing with ext2/ext3/ext4 filesystems. Is there some tool in FreeBSD with functionality analogous to debugfs which can operate on UFS2? Not sure but fsdb(8) may help. Could anyone give me a hint? The thing is that recently I found out (thru smartctl) several bad blocks on UFS2 partition. The problem is how to discover which file(s) they belong to. TIA ___ 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: Bourne .sh ?
Aiza aiz...@comclark.com writes: I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? Use... - glob expansion + echo builtin, e.g. $ cd /path/to/blah echo * or $ cd /path/to/blah for f in *; do echo $f; done - field splitting, e.g. $ ls -l | while read $(while [ $((i+=1)) -le 9 ]; do echo p$i; done); do echo $p9; done - stat(1) if you need not only filename but e.g. date Of course you can use smth like cut/sed/awk/whatever but they'll only make your script slower if you use them often. ___ 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: .sh check for numeric content
Giorgos Keramidas keram...@ceid.upatras.gr writes: On Thu, 24 Jun 2010 05:19:53 +0200, Thomas Keusch f...@bsd-solutions-duesseldorf.de wrote: t...@eternity:~$ b=5 t...@eternity:~$ case $b in [0-9] ) echo numeric ;; * ) echo alpha ;; esac numeric t...@eternity:~$ Works for me. Depending on what numeric means, this may be ok. For other numeric values (e.g. floating point numbers) There are simple, fast and correct ways to check but you have to escape from the shell, e.g.: $ var=3.1415926535897931 $ python -c $var + 0.0 /dev/null 21 ; echo $? 0 $ printf %g $var 2- - ; echo $? 0 $ var=3a.1415926535897931 $ python -c $var + 0.0 /dev/null 21 ; echo $? 1 $ printf %g $var 2- - ; echo $? 1 It also understands %e and %a -notation, e.g. 3.14e+2 and 0x1.3ap+8. $ python -c 0x1.3ap+8 2- - ; echo $? 1 $ printf %g 0x1.3ap+8 2- - ; echo $? 0 The overhead of spawning a full-blown language interpreter like Perl or Python may be acceptable if you have to check a few values. Then it may be overkill if you want to check a million values. It's really up to you, as a programmer, to pick the right method. Besides, printf(1) is also builtin in some shells which can reduce overhead of spawning process. IIRC, there is some support for builtin printf in our /bin/sh but it's disabled. ___ 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
disklabel output format ? How to see in G M ..
Using disklabel -A /dev/da0s1 I would like to see the sizes in G or M format, how can I do this? Also, googling arround i found output showing the cylinder space occupied by a partition (like : # cyl* X - Y ). How do I see that ? PS: i did man disklabel and bsdlabel but i didnt find the correct arguments. thank you. ___ 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
your message to anon@ecn.org
You have contacted an anonymous remailing service. If you are trying to send anonymous mail, please send a message with subject remailer-help to [EMAIL PROTECTED] for more information. Problems or inappropriate use of the service should be reported to the administrator at [EMAIL PROTECTED]. -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LTmodem port
I recently installed FreeBSD 4.8 and I have a Lucent WinModem. Are there any detailed instructions on installing the LTModem port for FreeBSD? __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]