Re: bash bug - or what?
Wojciech Puchar wrote: look at this $SORT is sort -S 512m $tmp2 is input filename (being 2GB size), $tmp3 is output this fragment tries (with success) to randomize lines from $tmp2 and write it to $tmp3 while read ll;do echo $RANDOM $RANDOM $ll done <$tmp2 | $SORT |cut -f 3- -d " " >$tmp3 this works but why bash sucks VM space? 69274 test 1 -80 1862M 98008K pipewr 1 8:17 40.28% bash this 1862 is growing until it finishes, resident size is 100M because it gets swapped out. it looks like echo'ed data is kept in bash memory I think that's the way it should be, because sort needs the whole output of the loop before it can begin sorting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing in a logical partition
Hi. I try to install FreBSD 6.2 as third OS on my laptop (after Windows XP and Gentoo Linux). I only have a logical partition left for it. sysinstall only shows four slices on my hard drive, ad4s1 - ad4s4. ad4s4 is correctly recognized as a DOS extended partition, but the logical partitions inside it are not displayed - so I can't select the slice I have set aside for FreeBSD. Is this possible? I don't find that limitation in the handbook, and it seems utterly anachronistic to me. What can I do to get around this? Thanks, Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Connecting to internet.
Thanks for the reply Ruben (and others). I did see these sections when having a cursory look at the docs but was hoping for something simpler. On some older versions of Linux that I have installed there was a program called adsl-setup that I used to get connected. Sounds like you're on a DSL line. The proper way to connect depends on what what your ISP is set up for. Mine uses a straight ethernet-to-ATM bridge, so I just ifconfig and I'm off. I hear a lot of ISPs use PPP over ethernet, and other stuff as well. Best would be to find out what your ISP uses. If it's PPP over ethernet, search the web site (and/or archives) for that phrase, or for PPPoE. I thought FreeBSD would have something similar and I was just not finding it. Not quite so automated here. There is dhclient, the DHCP client, which allows your machine to get a dynamic IP from your ISP. I've never used it but I know it exists. Works very simple: In sysinstall, when you configure your network card, you simply answer 'yes' to the question whether you want to use DHCP. In my case, that sets the gateway to the internet correctly, and everything works out of the box, at home and in my office. I don't know about something such as adsl-setup though. Best bet is to choose a provider whose ADSL-modem functions as a DHCP server, i think. Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Howto monitor system security
[...] > > FreeBSD security email is rather anoying, because it keeps sending > > messages even if nothing has changed. I need an email sent to me only > > if there is something abnormal. > > What happens when someone breaks in and disables it from sending email? > > Think of it as a kind of heartbeat. Well, different minds work differently, but for me it adds vastly to the noise level. If everything is normal, I get a mail. If there is something wrong, I get a mail. A different one, for sure, but I have to actually read it to know. If I only get a mail in a special case, I am much more inclined to read it than if I get a mail every day for 300 days and on the 301st there is a mail with a warning. I've stopped paying attention long before that. Just my thoughts Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gdbe - how?
I feel I'm bombarding the list with stupid questions, but I really can't find an answer to this. I'd like to use the gdbe disk encryption. I have activated GEOM_BDE in my kernel and would like to go ahead with the procedure described in the handbook. But I don't have a gdbe executable anywhere on my system. Neither a manpage or a port with a name obviously related to gdbe, for that matter. Where do I find it? Thanks Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portinstall: fetch(1) doesn't fetch
> > I don't understand the behaviour of fetch(1). Whenever I try to fetch > > from an URL, I get anwers like > > > fetch http://www.google.com > > fetch: http://www.google.com: No address record > > Do you have any weird environment variables set ? Like > FETCH_BIND_ADDRESS or maybe HTTP_PROXY ? Oh my, HTTP_PROXY was the culprit. Thanks. Strange wget doesn't use the proxy though. This brings me to another question. In my /etc/hosts i have lines like 192.168.1.44 sue.microsoft.com sue but sue is not resolved. the /etc/host.conf looks like # Auto-generated from nsswitch.conf, do not edit hosts bind and /etc/nsswitch.conf is group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files What am I missing here? I want sue to be resolved without DNS... Thanks Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portinstall: fetch(1) doesn't fetch
Hi, I don't understand the behaviour of fetch(1). Whenever I try to fetch from an URL, I get anwers like > fetch http://www.google.com fetch: http://www.google.com: No address record I have set up my network correctly though. If, in contrast, I use wget, I get > wget http://www.google.com --11:20:32-- http://www.google.com/ => `index.html' Resolving www.google.com... done. Connecting to www.google.com[66.102.9.99]:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 2,298 10.69K/s 11:20:39 (10.69 KB/s) - `index.html.1' saved [2298] ... as expected. What have I done wrong? Where can I configure fetch to honor my network setup? Or can I configure portinstall to use wget instead of fetch? TIA Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configuration of current kernel
> # Redirected to freebsd-questions, from freebsd-newbies. > # Please do NOT post technical questions to the freebsd-newbies list. Uh, OK, I don't quite get what freebsd-newbies is for then... thought this was a newbie question. > The GENERIC kernel is just what the name suggests: a generic kernel > configuration. It's also the one that is distributed with the FreeBSD > release CD-ROMs as the default kernel. Thanks for answering my implicit question as well :-) > Anything that is not compiled in the kernel by the kernel config file > is built as a module and installed as a *.ko file in /boot/kernel. Great. Shouldn't that mean I could use gdbe right away, though? I can't. I'm not going to go OT now, though, I'll recompile, reboot and see what happens. > > Also, there are some features, which don't seem to be documented... > > at least not in the NOTES file. > > You're looking at the wrong NOTES file. There are two NOTES files on > any given architecture that FreeBSD supports: > > 1) The architecture-independent NOTES file, listing options common > to all the possible architectures: /usr/src/sys/conf/NOTES. > Ah right. There we are. Interesting. Thanks! Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"