Re: / almost out of space just after installation

2009-10-10 Thread RW
On Sat, 10 Oct 2009 19:43:25 -0700 (PDT)
Richard Mahlerwein  wrote:

> --- On Sat, 10/10/09, RW  wrote:
> 

> >But it wouldn't actually be a ram disk, that's just just a misnomer
> >that people, who ought to know better, are throwing around. It
> >would probably be tmpfs.
> 
> Correction (or at least correction to precision) noted.  I'd still
> rather use it as RAM the regular way.  :)

You can't, there is no "regular way", it's not 1975 anymore:

http://varnish.projects.linpro.no/wiki/ArchitectNotes

If you allocate 1.5 x RAM to swap, your system will grind to a halt
long before you half-fill it with conventional paging, so you might as
well allow tmpfs to use a substantial amount to back /tmp.
___
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: conky calendar

2009-10-10 Thread Karl Vogel
You can use the terminal standout codes to highlight today's date, but you
need either the Linux compatibility stuff or a recent version of ncurses
installed:

  #!/bin/ksh
  PATH=/usr/compat/linux/usr/bin:/usr/local/bin:/bin:/usr/bin
  export PATH

  DAY=$(date +%d | sed 's/0\([123456789]\)/ \1/')
  SMSO=$(tput smso)
  RMSO=$(tput rmso)
  cal | sed -e 's/^/ /' -e "3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/"
  exit 0

-- 
Karl Vogel  I don't speak for the USAF or my company

Letterman's top signs your cat is trying to kill you #9:
 To tune of Meow Mix song sings, "Kill kill kill kill, kill kill kill kill"
___
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: / almost out of space just after installation

2009-10-10 Thread Richard Mahlerwein
--- On Sat, 10/10/09, RW  wrote:

>From: RW 
>Subject: Re: / almost out of space just after installation
>To: freebsd-questions@freebsd.org
>Date: Saturday, October 10, 2009, 8:43 PM
>
>On Sat, 10 Oct 2009 12:28:08 -0700 (PDT)
>Richard Mahlerwein  wrote:
>
>> The only time I can
>> really think I'd want /tmp to be in RAM is if I already had too much
>> RAM for the needs of the box - otherwise, just give me the RAM...
>
>But it wouldn't actually be a ram disk, that's just just a misnomer
>that people, who ought to know better, are throwing around. It
>would probably be tmpfs.

Correction (or at least correction to precision) noted.  I'd still rather use 
it as RAM the regular way.  :)

>> While I'm reasonably happy rolling my own FS sizes, I would be even
>> happier if I didn't have to.  As long as we're doing the wish list,
>> I'd guess for this (all numbers significantly flexible):
>> 
>> Drive < 16 GB = keep current layout?
>> 
>> Drive > 16 and < 40 GB = 
>> / = 1 GB
>> swap = 1.5x RAM 
>> /tmp = 2 GB
>> /var = 2 GB
>> /usr = remaining space
>
>2 GB each for /var and /tmp is far too high for such  small disks, I
>wouldn't want to squander 4GB like that much below a TB. It's a figure
>that's hardly ever going to be "about right" either for /tmp or /var,
>when it isn't far too big, it's likely to be too small.

So, your opinion is that if 768 MB (or 512 MB, or 1G, whatever) isn't enough, 
then it's likely that 2 GB also isn't enough?  That those who need more than 
the default /var and /tmp often (or usually) need a LOT more?  Reasonable, and 
I am not sure I could disagree with that completely.   

I was approaching it from perhaps a slightly different tack, though.  What I 
was thinking of was of defaults for people who will use the defaults.  Someone 
running  a mail server is unlikely to use the defaults, and you are completely 
correct that they'd need a lot more space in /var.  But, average Joe may just 
use it for fiddling around with.  Maybe one day he'll start fiddling with MySQL 
or perhaps even trying to partially or completely host his own email.  I'd like 
him, with his 250 GB drive, to have enough space to at least play with that for 
a while without worrying overly much about running out of room or having to 
move DB files or something.

For that matter, I wonder if the solution for those sorts is to make a 'simple' 
mode that does swap and one big partition for everything else?   Or make 'auto' 
do that, and let everyone else use their own sizes?

Thinking out loud here: What if 'auto' did one big /, and 'advanced' only laid 
in the partitions without sizes at all, then for each you'd have to just tell 
it how big to make it.  A special option would be on the /home one, which would 
be to symlink it to /usr/home.  Not that this would happen any time soon - that 
code doesn't look to be easily convertable to somethign like this. 

>> Drive > 40 GB = 
>> / = 1 GB
>> swap = 1.5x RAM 
>> /tmp = 2 GB
>> /var = 2 GB
>> /usr = 1/2 of remaining space, min 20 GB, max 35 GB
>> /home = everything else.
>
>
>Having a home directory separate from /usr is often a good idea, but
>making it part of the default install is a really bad idea IMO. 
>
>A desktop user with a largish disk may want  98% of it
>under /home, a server may need next to nothing under /home. The amount
>needed for /usr also varies enormously.

I had been assuming that someone setting up a server was unlikely to accept the 
default 'a'uto sizes and would have rolled their own.  Under the scheme I had 
above, the desktop user with a large disk - say 1 TB - would have ended up with 
1TB - (1 GB / + ~4 GB swap + 2 GB /var + 2 GB /tmp + 35 GB /usr) = about 950 GB 
in /home.  (Or, well, that'd be what, 870MB out of 925MB or something?) 

A server with that same drive would likely never have had the 'a' key pressed 
inside disklabel. 

>It's so hard to come-up with sensible values that the only sensible
>thing to do is leave them on the same partition by default. It's not
>exactly rocket science to add your own /home partition.

I do agree to some extent.  On the other hand, what's the 'a'uto key do now?  / 
seems a bit small, notice the OP's subject?  I've never had this problem, 
though... 

Hmm.  All food for thought.  




___
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"


ASUS M4A78T-E Motherboard

2009-10-10 Thread Robert Huff

Robert Huff writes:

>   The machine on which I am composing this has a different
>  motherboard (ASrock AOD290GX) 

s/AOD290GX/AOD790GX/


Robert Huff

___
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"


ASUS M4A78T-E Motherboard

2009-10-10 Thread Robert Huff
Bryan Cassidy writes:

>  ... I am wondering if I will have any problems with this
>  motherboard amd its chipset. North Bridge is AMD 790GX and South
>  Bridge is AMD SB750. it comes with a VIA VT1708S onboard
>  soundcard and the handbook states the VIA VT1708 is supported so
>  I am hoping it is the case with this one. Second, ATI Radeon HD
>  3300 onboard video.

The machine on which I am composing this has a different
motherboard (ASrock AOD290GX) but the same NorthBridge and
integrated graphics.
Works fine.
(Except for one teeny thing, which I'm hoping is due to a bad
BIOS setting.
Symptom:
"shutdown -p now" works as expected.
"shutdown -r now" ... tha machine shuts down but does not
restart.  No screen messages, no nothing - just a one-way trip into
the Twilight Zone.
A teeny problem, since ot pnly gets rebooted
on kernel upgrade.)


Robert Huff

___
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: best FBSD version for commercial use.

2009-10-10 Thread Marwan Sultan


 

> From: keram...@ceid.upatras.gr
> To: ross.came...@linuxpro.co.za
> CC: dead_l...@hotmail.com; freebsd-questions@freebsd.org
> Subject: Re: best FBSD version for commercial use.
> Date: Sat, 10 Oct 2009 23:41:26 +0300
> 
> On Fri, 9 Oct 2009 23:08:42 +0200, Ross Cameron  wrote:
> >On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan  wrote:
> >> Hello Gurus,
> >> Im planing to move out of my FreeBSD 4.8-R! which served me like a
> >> charm for many years.
> >>
> >> But not sure if I should go for 6.3 or 7.2
> >>
> >> This server will be a DNS server, apache, shell accounts..php, mysql.
> >
> > I would definitely go with a 7.2 install (until 8.0 is marked as
> > production ready by the fBSD dev team).
> 
> Excellent advice :-)
> 
> To the original poster:
> 


And the original poster thanks you back,

and thanks everyone replied or gave my email attention.

 

Yes FBSD 7.2 could be the best for now..

 

Why did i send the email in the first place?

some releases may have issues! I remember 5.2 and 5.1..I had problems with it. 
this is why i stuck to my old 4.8

also I had a new project with radius, accounting, chillispot..when i installed 
7.0 things didnot work as i expected..

take a note it was identical configuration  to 6.2..so i had to roll back to 
6.2..

 

This time its a commercial use, and remote administration, so i didnot want to 
take the risk of having a wrong

"commercial version"

 

Thanks everyone.


Marwan Sultan

System Administrator
  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/___
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"


ASUS M4A78T-E Motherboard

2009-10-10 Thread Bryan Cassidy
Hi, I am in the process of building a new PC and I am building this 
machine (one of three... second will be OpenBSD Firewall for FreeBSD and a
third one for Windows.. you know games and all that stuff) and I am wondering
if I will have any problems with this motherboard amd its chipset. North Bridge
is AMD 790GX and South Bridge is AMD SB750. it comes with a VIA VT1708S 
onboard soundcard and the handbook states the VIA VT1708 is supported so I am
hoping it is the case with this one. Second, ATI Radeon HD 3300 onboard video.
I keep coming up with info that states it is suppported and last is the
Atheros L1E onboard LAN card.

I will give you a rundown of what I want to do and maybe I can get some advice
on hardware and how I approach this. I mainly use FreeBSD for my daily machine
because I just enjoy using FreeBSD and it is just what I need for a day to day
use. I have a 23" LCD right now hookup via VGA on my laptop and when the 
machine I am building is done I would like to run a triple LCD setup. I've 
always wanted to run OpenBSD as a firewall and so I would like to build a basic
machine with no sound, and no video to serve this purpose. I would like to also
run Apache and run my own website. The third machine for Windows I might just
partition one of my hard drives (I will be getting 3 Seagate Barracuda 
LP ST32000542AS 2TB hard drives. Total 6 TBs.) and put Windows on it and just 
by another
video card for extreme gaming or something. I am kinda new to building my own
PC so some opinions on this would be greatly appreciated.

Also, as a side note, the specs above would be just to get it started and I 
would eventually add my own PCI NIC card, PCI sound, and PCI Video card. Any
and all thoughts are welcome. Thanks for any help.

hoping that everything will work out of box with FreeBSD. 

___
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: Tcpwrappers, sendmail, and unknown hosts...

2009-10-10 Thread Kevin Kinsey

Jeff Laine wrote:

On Sat,10-10-2009 [12:31:01], Kevin Kinsey wrote:

Seems like a lot of the spam we fight comes from
hosts with no DNS entries.  What about using this?

--
$grep sendmail /etc/hosts.allow

sendmail : KNOWN : allow
sendmail : UNKNOWN : deny
-

Comments?  anyone tried it?



Hi Kevin!

What you need is 'require_rdns' feature.
Also from my own expirience, dnsbl feature of 

> Sendmail works great for spammers scum.

TYTY!  Bang-Smack-Out of the park.  Lemme
know where I can send {$beverage}.

Mail queue (Sendmail dual + amavid-new + spamassassin)
is down from 100+ to < 10 after adding that to .mc
and rebooting.  Thanks a bunch  :-)

Kevin Kinsey
DaleCo, S.P.
___
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: / almost out of space just after installation

2009-10-10 Thread RW
On Sat, 10 Oct 2009 12:28:08 -0700 (PDT)
Richard Mahlerwein  wrote:

> The only time I can
> really think I'd want /tmp to be in RAM is if I already had too much
> RAM for the needs of the box - otherwise, just give me the RAM...

But it wouldn't actually be a ram disk, that's just just a misnomer
that people, who ought to know better, are throwing around. It
would probably be tmpfs.

> While I'm reasonably happy rolling my own FS sizes, I would be even
> happier if I didn't have to.  As long as we're doing the wish list,
> I'd guess for this (all numbers significantly flexible):
> 
> Drive < 16 GB = keep current layout?
> 
> Drive > 16 and < 40 GB = 
> / = 1 GB
> swap = 1.5x RAM 
> /tmp = 2 GB
> /var = 2 GB
> /usr = remaining space

2 GB each for /var and /tmp is far too high for such  small disks, I
wouldn't want to squander 4GB like that much below a TB. It's a figure
that's hardly ever going to be "about right" either for /tmp or /var,
when it isn't far too big, it's likely to be too small.

> Drive > 40 GB = 
> / = 1 GB
> swap = 1.5x RAM 
> /tmp = 2 GB
> /var = 2 GB
> /usr = 1/2 of remaining space, min 20 GB, max 35 GB
> /home = everything else.


Having a home directory separate from /usr is often a good idea, but
making it part of the default install is a really bad idea IMO. 

A desktop user with a largish disk may want  98% of it
under /home, a server may need next to nothing under /home. The amount
needed for /usr also varies enormously.

It's so hard to come-up with sensible values that the only sensible
thing to do is leave them on the same partition by default. It's not
exactly rocket science to add your own /home partition.


___
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: text2html ?

2009-10-10 Thread Gary Kline
On Fri, Oct 09, 2009 at 08:50:22PM -0500, Paul Schmehl wrote:
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of stan
> Sent: Friday, October 09, 2009 6:20 PM
> To: Free BSD Questions list
> Subject: text2html ?
> 
> I had a contractor uppgrade a freebsd machine a while back. Now I am
> finding things that did not get done corectly.
> 
> The latest is that I have some other machines that create text files copy
> them over to this machine, and put them iin the webservers space. Looks
> like in the past, these files were procesed by /usr/local/bin/text2html,
> which O would almost certainly have installed from a port.
> 
> But, I cannot seem to find this port. 
> 
> Can anyone sugest either where I can find this utlity, or what I might use
> as an alternative? The text files to process are very simple reports of
> system statistics.
> 
> Thanks for any ideas.


My ascii-to-markup [atom] was ported a few months ago.  It was ported 
as v1.0 but I have been working on it since 1994.  It maybe overkill,
but maybe not... .

hth,

gary



> 
> 
> pa...@utd65257# cd /usr/ports/
> pa...@utd65257# make search name=text2html
> pa...@utd65257# make search name=txt2html
> Port:   txt2html-2.51
> Path:   /usr/ports/textproc/txt2html
> Info:   Convert raw text to something with a little HTML formatting
> Maint:  jada...@freebsd.org
> B-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19
> p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05
> perl-5.8.9
> R-deps: p5-ExtUtils-CBuilder-0.24 p5-ExtUtils-ParseXS-2.19
> p5-Getopt-ArgvFile-1.11 p5-Module-Build-0.30 p5-YAML-0.68 p5-YAML-Syck-1.05
> perl-5.8.9
> WWW:http://txt2html.sourceforge.net/
> 
> 
> Paul Schmehl (pschmehl_li...@tx.rr.com)
> In case it isn't already obvious, my opinions
> are my own and not those of my employer
> 
> ___
> 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"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: No buffer space available

2009-10-10 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Thiago ...

  What version of kernel did you end up going back to?

- --On Wednesday, April 04, 2007 10:15:48 -0300 "Marc G. Fournier" 
 wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> I'm seeing the same effect (haven't tried older kernel, mind you) almost like
> clockwork, every 72 hours after reboot ... at least now I don't feel so
> crazy,  knowing it isn't just me ...
>
> - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira
>  wrote:
>
>> I've tried to increase the kern.ipc.nmbclusters value but it worked only when
>> I changed the kernel to an older one.
>>
>> netstat -m (Now it's working with the same values.)
>> -
>> 515/850/1365 mbufs in use (current/cache/total)
>> 512/390/902/65024 mbuf clusters in use (current/cache/total/max)
>> 512/243 mbuf+clusters out of packet secondary zone in use (current/cache)
>> 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
>> 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
>> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
>> 1152K/992K/2145K bytes allocated to network (current/cache/total)
>> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
>> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
>> 0/0/0 sfbufs in use (current/peak/max)
>> 0 requests for sfbufs denied
>> 0 requests for sfbufs delayed
>> 2759 requests for I/O initiated by sendfile
>> 2982 calls to protocol drain routines
>>
>> Ethernet adapters
>> -
>> em0:  port
>> 0xec80-0xecbf m em 0xfebe-0xfebf irq 10 at device 4.0 on pci7
>> em0: Ethernet address: 00:04:23:c3:06:78
>> em0: [FAST]
>> skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem
>> 0xfebd8000-0xfebdbfff  irq 15 at device 6.0 on pci7
>> skc0: 3Com Gigabit NIC (3C2000) rev. (0x1)
>> sk0:  on skc0
>> sk0: Ethernet address: 00:0a:5e:65:ad:c3
>> miibus0:  on sk0
>> e1000phy0:  on miibus0
>> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
>> auto
>>
>> P.S.: I am using the FreeBSD/amd64.
>>
>> Brian A. Seklecki wrote:
>>> Show us netstat -m on the broken kernel?  Show us your dmesg(8) for
>>> em(4).
>>>
>>> TIA,
>>> ~BAS
>>>
>>> On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:
 Hello,

 I've had a problem with one of my FreeBSD servers, the machine has stopped
 its network services and then sent these messages:

 -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available
 -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0,
 146.164.92.255.520): No buffer space available

 The messages were repeated a lot of times before a temporary solution. I've
 changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then
 it's been working well. What happened?

 P.S.: I can give more informations if necessary.
 ___
 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"
>
>
>
> - 
> Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
> Email . scra...@hub.org  MSN . scra...@hub.org
> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (FreeBSD)
>
> iD8DBQFGE6UE4QvfyHIvDvMRAlutAJ0WzVTYq99hmx1km2mdXE7pdUC8IgCgt4O1
> eG6kXgqHveumXjkL0t+Q8Q8=
> =sieE
> -END PGP SIGNATURE-
>
> ___
> 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"



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGE/ZC4QvfyHIvDvMRAsWoAJwJpD8nCtG0iv5U6LY8ISyyDKxgegCg1eti
SezStun7CLDA9pgfrp8GloM=
=UwSU
-END PGP SIGNATURE-

___
freebsd-sta...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-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: / almost out of space just after installation

2009-10-10 Thread Richard Mahlerwein
> From: Polytropon 
> Subject: Re: / almost out of space just after installation
> Date: Saturday, October 10, 2009, 4:00 PM
> On Sat, 10 Oct 2009 12:28:08 -0700
> (PDT), Richard Mahlerwein 
> wrote:
> According to your suggestion:
> 
> > Drive > 16 and < 40 GB = 
> > / = 1 GB
> > swap = 1.5x RAM 
> 
> I know that there was the idea of saying "swap = 2 x the maximum
> of RAM you could put into the box", but is this approach still
> valid today?

Unknown, but since most servers support more RAM than you are likely to put in 
them*, I think it would make more sense to set swap to 2x the largest _likely_ 
amount of RAM (assuming the 2x rule IS good in a general sense).  I seem to 
recall the reason for the 2x was a combination of reasons, but it seemed the 
most important internally was because the memory management routines in place 
when the rule was created were built to be most effective at that particular 
ratio.  This was many, many years ago, and heaven knows I could be totally 
wrong ... so some research may be warranted.

*The HP DL380 G6s we've been buying now support something like 128 GB.

> > Drive > 40 GB = 
> > /var = 2 GB
> 
> There could be a different requirement, especially when
> someone wants to run
>     a) an anonymous FTP server (/var/ftp subtree)
>     b) database operations (/var/db subtree)
> and have the /var sizes grow very fast. Of course, there's no
> problem putting databases and FTP stuff somewhere under
> /home (which is in /usr in your example).

Excellent point.  I was trying to stay away from usage patterns, though, and 
just stick with predetermined items like "how much space do I have 
available?".  Once you get past that, you have an order of magnitude more 
things to consider, IMO.  

I think the most commonly increased partition would be /var.  Again, I think 
something reasonably simple like being able to delete the last partition (we'll 
assume /home at the moment), then just "resize" /var to be bigger, let all the 
intermediary partitions slide "up" and then recreating /home to be whats left 
now would be simple and may work to handle these cases more cleanly. 

> > And, as long as this is a wish list, how about...
> > 
> > 1) When I create, I would love to not to *always* have to
> > backspace over like 17 digits every time to type something
> > short like "16G".  Can we just make it operate in MB or
> > something instead of blocks? 
> 
> There is an easier approach, I'd call it "overwrite with first
> keystroke". This is common for many dialog libraries, such as
> in Midnight Commander. 

That would be stellar.  I hadn't even realized it but so many things (in all 
*sorts* of places!) use that method.  A quick glance at the code that seems to 
be responsible for the keystroke handling 
(/usr/src/gnu/lib/libdialog/lineedit.c) seems to indicate it's fairly stateless 
- it doesn't seem to know things like if the dialog still has the oroginal 
input values in it or if you've already typed something.  Also, changes here 
may affect all sorts of things (since it's as far from 
/usr/src/usr.sbin/sysinstall/ as you can get, tree-wise).

> Maybe Meta-Backspace (Esc, then Backspace) would
> be available to erase the whole content of the input field
> as you suggested in 1.2.

This would be fairly easy to implement, I think.  Unfortunately, I would feel 
horrible for implementing something like this when there's so many serious bugs 
in sysinstall.
http://www.freebsd.org/cgi/query-pr-summary.cgi?text=sysinstall
I wonder if the delete key, when pressed at the end of the input, would do?  
Seems like a magic key, but on the other hand, it also seems pretty innocuous.  

I'm still thinking that using MB or GB as the default might be easier.

> Maybe this is a nice item for a dialog wishlist for
> sysinstall. :-)

I couldn't agree more.  Does anyone really know what the plans for either 
sysinstall or a replacement is?  There's a ton of bugs in it...

> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...





___
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: / almost out of space just after installation

2009-10-10 Thread RW
On Sat, 10 Oct 2009 11:27:31 -0600
Chad Perrin  wrote:

> On Fri, Oct 09, 2009 at 10:15:22PM +0100, RW wrote:
> > On Fri, 9 Oct 2009 17:28:09 +0200 (CEST)
> > Oliver Fromme  wrote:

> > > Depending on the size of installed RAM, /tmp could also
> > > be a memory disk by default. 
> > 
> > I don't see why it should depend on the amount of RAM, since it
> > would normally be swap-backed.
> 
> It should depend on the amount of RAM because putting /tmp in memory
> takes away from the RAM available to the rest of the system.  If your
> system typically runs processes that consume a lot of RAM (like
> Firefox, ha ha), your system could bog down a lot during typical use
> if you use a RAM disk for /tmp without considering how much RAM you
> have and need to use.  By default, I think, /tmp should be on the
> hard drive -- perhaps with an option when partitioning to set it up
> to use RAM instead of physical storage.

But it's not really a true RAM disk unless you use specify a malloc
backed md device - which you should never do because it keeps the /tmp
data in RAM unconditionally. 

tmpfs and swap-backed md devices normally used for /tmp are similar to
conventional partitions in that they are disk-based storage cached in
RAM. The difference is that because swap is ephemeral there's no need
to commit updates to the backing store except for memory management
reasons.

Most people's  /tmp requirements are pretty modest compared to
modern swap and RAM sizes, but my /tmp device is ~3 times RAM size and
it doesn't seem to create problems when I fill 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: / almost out of space just after installation

2009-10-10 Thread Bruce Cran
On Sat, 10 Oct 2009 22:00:53 +0200
Polytropon  wrote:

> On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein
>  wrote:
> > I agree completely.  I also go a step farther and put most other
> > things that I consider user data in there.  Like Subversion
> > repositories and non-user-specific Samba shares (E.g. "public"
> > type shares).
> 
> Historically, there was /export in Solaris. The home directory
> was /export/home, because it was usually distributed via NFS to
> other machines. Things that were shared, but not primarily under-
> stood as "user data", went there, too, such as repositories,
> file collections and exported storages - files that have not
> been "connected" to a specific user.
> 
> 
> 
> > While I'm reasonably happy rolling my own FS sizes, I would be
> > even happier if I didn't have to. 
> 
> In ZFS, you don't have to. :-)
> 
> 
> 
> According to your suggestion:
> 
> > Drive > 16 and < 40 GB = 
> > / = 1 GB
> > swap = 1.5x RAM 
> 
> I know that there was the idea of saying "swap = 2 x the maximum
> of RAM you could put into the box", but is this approach still
> valid today?

Having just built a desktop PC which can fit 24GB RAM (but has 6GB
installed currently), I don't think having 48GB swap really makes any
sense. With minidumps you don't even need swap=1x RAM any more, so I've
started allocating up to 4GB swap in my machines, which should still
provide enough warning of a runaway process.

-- 
Bruce
___
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: binutils

2009-10-10 Thread Chuck Swiger

On Oct 10, 2009, at 10:55 AM, Jerry wrote:

That's not a bad idea, although you can likely export PREFIX=/usr and
install the binutils port, and get the desired result.


The only problem with that is that it would get over written when
updating 'world'. I am not sure if a user could exclude binutils from
being installed when building world. Nor, am I certain that it would
not cause a problem somewhere down the line. I don't like messing with
system files.


While you bring up a perfectly valid concern, if you want to avoid  
interfering with the base system version, the default behavior of  
ports ought to be to install both binutils and a gcc which uses that  
under /usr/local.  You might also look into the -B flag to gcc.



In any case, the FreeBSD developers are going to eventually develop a
working relationship with software written using the GPLv3 license.



Faced with the decision between adopting GPLv3 code or writing a BSD- 
licensed replacement such as Tim Kientzle did with bsdtar, well, the  
project is actively pursuing the latter option.  GPLv2 and CDDL code  
can and has been included with the baseline system for a few cases  
where the exceptional utility of that software (such as ZFS, DTrace,  
and the GNU compiler toolchain) justifies doing so, but if you check  
the list archives, producing a BSD-licensed operating system is  
described as an important goal of the project.


It sounds like you are currently free to run and use GPLv3 code for  
what you are doing, and you are welcome to do so-- either by rolling  
your own or by taking advantage of ports to set things up the way you  
want.  Keeping GPLv3 code in ports allows you to make that decision  
without affecting other users of FreeBSD which cannot use GPLv3 code  
in their situation.


I hope that this addresses your concerns, and that you do obtain the  
SSE3-aware compiler toolchain you are (or whoever the OP was :-)  
looking for


Regards,
--
-Chuck

___
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: best FBSD version for commercial use.

2009-10-10 Thread Giorgos Keramidas
On Fri, 9 Oct 2009 23:08:42 +0200, Ross Cameron  wrote:
>On Fri, Oct 9, 2009 at 8:28 PM, Marwan Sultan  wrote:
>> Hello Gurus,
>> Im planing to move out of my FreeBSD 4.8-R! which served me like a
>> charm for many years.
>>
>> But not sure if I should go for 6.3 or 7.2
>>
>> This server will be a DNS server, apache, shell accounts..php, mysql.
>
> I would definitely go with a 7.2 install (until 8.0 is marked as
> production ready by the fBSD dev team).

Excellent advice :-)

To the original poster:

The place to look for information about supported releases, the latest
release versions, planned release life-time and support cycles, etc. is
the FreeBSD web site.  If you haven't already found the relevant pages,
please visit http://www.freebsd.org/releases/ and have a look around.

___
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: best FBSD version for commercial use.

2009-10-10 Thread Giorgos Keramidas
On Fri, 9 Oct 2009 21:40:32 +0200, Polytropon  wrote:
> But allow me a follow-up question: Is 8.0-RC1 already recommendable
> for a home desktop, or would 7.2 be the version of choice? I'm asking
> this because of the many improvements especially the USB subsystem has
> gotten in 8 which would be important for the "plug and play
> experience" for USB devices...

There are a few rough edges that you may or may not hit by testing the
pre-release RC versions.  They are mostly related to recent work in
networking code, USB disk detection at boot time and a couple of other
annoyances.  So if you can help with the testing of these pre-release
snapshots it may be worth to prepare for at least *some* problems with
the latest 8.X-STABLE code.

Having said that, the release engineering team is actively working to
get these issues resolved.  The FreeBSD Wiki shows a list of things that
the RE team know as `being fixed and still being researched' at:

http://wiki.freebsd.org/8.0TODO/#head-4fd8d27523492bffb9c0064bf41575c6db8fd194

Having said that, it is worth noting that if you can _help_ by running
one of the RC versions and reporting back to us, you are more than
welcome.  The more testing the RC versions get, the greater number of
pre-release issues we will discover and fix _before_ the final images
are cut.




pgpIqg7Ko5pU5.pgp
Description: PGP signature


Re: best FBSD version for commercial use.

2009-10-10 Thread Nerius Landys
>> My 2 cents, as far as I know 7.1 will be maintained longer than 7.2
>> according to the freebsd.org website.  That is, security fixes will be
>> rolled out for 7.1 a while after 7.2 reaches End Of Life.  That made
>> me decide to go with 7.1 when I had to make the switch from 7.0 a few
>> months ago.  8.0 was not out at that time.
>
> I don't think that is correct.  There must be something unclear there.


http://security.freebsd.org/

Near the bottom of the page mentioned above, there is a table.
RELENG_7_1 EoL is January 31, 2011, RELENG_7_2 EoL is May 31, 2010
according to the chart.  That is a difference of 8 months.
___
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"


gpart mbr scheme

2009-10-10 Thread Anselm Strauss

Hi,

I'm trying to partition a compact flash card with gpart. When I want  
to create a new MBR scheme it always complains:


-> gpart create -s mbr da0
gpart: scheme 'mbr': Invalid argument

The GPT scheme works fine:

-> gpart create -s gpt da0
da0 created
-> gpart show da0
=> 34  8027645  da0  GPT  (3.8G)
   34  8027645   - free -  (3.8G)
-> gpart destroy da0
da0 destroyed

The kernel driver seems to be loaded:

-> kldstat -v | grep mbr
278 g_mbr
277 g_mbrext

Does gpart in 7.2 not support MBR partitioning?


Cheers,
Anselm
___
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: / almost out of space just after installation

2009-10-10 Thread Polytropon
On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein 
 wrote:
> I agree completely.  I also go a step farther and put most other
> things that I consider user data in there.  Like Subversion
> repositories and non-user-specific Samba shares (E.g. "public"
> type shares).

Historically, there was /export in Solaris. The home directory
was /export/home, because it was usually distributed via NFS to
other machines. Things that were shared, but not primarily under-
stood as "user data", went there, too, such as repositories,
file collections and exported storages - files that have not
been "connected" to a specific user.



> While I'm reasonably happy rolling my own FS sizes, I would be
> even happier if I didn't have to. 

In ZFS, you don't have to. :-)



According to your suggestion:

> Drive > 16 and < 40 GB = 
> / = 1 GB
> swap = 1.5x RAM 

I know that there was the idea of saying "swap = 2 x the maximum
of RAM you could put into the box", but is this approach still
valid today?



> Drive > 40 GB = 
> /var = 2 GB

There could be a different requirement, especially when someone
wants to run
a) an anonymous FTP server (/var/ftp subtree)
b) database operations (/var/db subtree)
and have the /var sizes grow very fast. Of course, there's no
problem putting databases and FTP stuff somewhere under /home
(which is in /usr in your example).



> And, as long as this is a wish list, how about...
> 
> 1) When I create, I would love to not to *always* have to
> backspace over like 17 digits every time to type something
> short like "16G".  Can we just make it operate in MB or
> something instead of blocks? 

There is an easier approach, I'd call it "overwrite with first
keystroke". This is common for many dialog libraries, such as
in Midnight Commander. For example, the content of the input
field is

33554432

and the cursor is at the last position; if I press "1", the content
is then

1

so I can easily continue entering "g" and have

1g

with 2 keystrokes. The backspace and navigation keys should work
as they do now. Maybe Meta-Backspace (Esc, then Backspace) would
be available to erase the whole content of the input field as you
suggested in 1.2.

Maybe this is a nice item for a dialog wishlist for sysinstall. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: best FBSD version for commercial use.

2009-10-10 Thread Jerry McAllister
On Fri, Oct 09, 2009 at 07:44:04PM -0700, Nerius Landys wrote:

> My 2 cents, as far as I know 7.1 will be maintained longer than 7.2
> according to the freebsd.org website.  That is, security fixes will be
> rolled out for 7.1 a while after 7.2 reaches End Of Life.  That made
> me decide to go with 7.1 when I had to make the switch from 7.0 a few
> months ago.  8.0 was not out at that time.

I don't think that is correct.  There must be something unclear there.

jerry


> ___
> 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"


Please help me win Ipod nano :)

2009-10-10 Thread gosha-necr
Hello friends! I want to ask you for help in winning ipod nano, if you register 
on biggest social network here: http://vkontakte.ru/reg632660 i'm can win :) 
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"


Re: / almost out of space just after installation

2009-10-10 Thread Richard Mahlerwein
--- On Sat, 10/10/09, Polytropon  wrote:

> From: Polytropon 
> Subject: Re: / almost out of space just after installation
> To: "Chad Perrin" 
> Cc: freebsd-questions@freebsd.org
> Date: Saturday, October 10, 2009, 2:04 PM
> On Sat, 10 Oct 2009 11:36:08 -0600,
> Chad Perrin 
> wrote:
> > Someone mentioned giving the `home` directory its own
> partition.  I think
> > a separate partition for /usr/home, mounted within
> /usr, is a great idea.
> > It would help substantially with system rebuilds,
> backups, and using
> > separate drives for `home`, because that's where the
> majority of the
> > stuff you want to keep between installs will
> reside.  Basically
> > everything else within /usr (with the possible
> exception of
> > /usr/local/etc) is just what happens when you install
> and configure your
> > system in the first place.
> 
> If you can estimate disk requirements good enough, or
> simply
> have huge hard disks that can compensate any requirements,
> there's
> no problem giving /home a separate partition. There's no
> need
> to put the mountpoint into /usr, because /home could
> "physically"
> exist; in the "home in usr" setting, /home is just a
> symlink to
> /usr/home.
> 
> Personally, I often put /home on a separate partition,
> simply
> because of comfortability. If I can't say enough about how
> /usr
> and /home will grow, I go with the default approach. I
> sometimes
> even use the "one big /" setting.
> 
> One advantage of /home as a separate partition is that you
> can
> easily use dump to create a backup - you simply backup the
> whole
> partition. You could have a directory, let's say
> /home/settings,
> where you keep duplicates of /etc, /usr/local/etc and other
> files
> that contain settings you consider worth being backed up.
> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

I agree completely.  I also go a step farther and put most other things that I 
consider user data in there.  Like Subversion repositories and 
non-user-specific Samba shares (E.g. "public" type shares).  I do not generally 
want /tmp on memory, though.  While it can be fun and quite a festive thing, I 
have far too many systems too limited in RAM to want to do this (my current 
"production" system at home is 512 MB of RAM, my "play" box is 256 MB).  The 
only time I can really think I'd want /tmp to be in RAM is if I already had too 
much RAM for the needs of the box - otherwise, just give me the RAM...

While I'm reasonably happy rolling my own FS sizes, I would be even happier if 
I didn't have to.  As long as we're doing the wish list, I'd guess for this 
(all numbers significantly flexible):

Drive < 16 GB = keep current layout?

Drive > 16 and < 40 GB = 
/ = 1 GB
swap = 1.5x RAM 
/tmp = 2 GB
/var = 2 GB
/usr = remaining space

Drive > 40 GB = 
/ = 1 GB
swap = 1.5x RAM 
/tmp = 2 GB
/var = 2 GB
/usr = 1/2 of remaining space, min 20 GB, max 35 GB
/home = everything else.

And, as long as this is a wish list, how about...

1) When I create, I would love to not to *always* have to backspace over like 
17 digits every time to type something short like "16G".  Can we just make it 
operate in MB or something instead of blocks?  Does anyone need smaller than 1 
MB divisions now?  
1.1) If it would take a decimal point, I'd be fine with GB, for that matter.  
(For compatibility, allow either , or . as decimal.)
1.2) Or if there was just a quick key to delete all 14 digits of "number of 
blocks left" at once.

2) When I 'auto' size, I end up deleting most except / and swap partition and 
remaking (it is just habit I 'a'uto before I think, and no harm in it) except 
the last few times I've done it, as I deleted all the other partitions, / kept 
expanding from the default (512 MB?) until it was 1.5 GB.  So I had to deleted 
them ALL and start over.  Bug or Feature?

3) Ability to resize any partition directly, if there's empty space left.  So 
if I have 30 GB of my 400 GB drive already decided upon, and I decide that I 
want /var to be 5 GB instead of 2 GB, I would love to be able to just highlight 
it and press some key to "Resize" and it would just move the rest of them up to 
fit.

Of course, Just because this is a bike shed doesn't mean I will get upset if 
any or even all of this is too much to implement and doesn't make it in any 
revision of sysinstall.  It's just a wish list.  In fact, I may pull open the 
code myself... though I've heard it's pretty nasty...

-Rich



___
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"


release listing available for freebsd-update(8)

2009-10-10 Thread hulibyaka hulibyaka
Whether there is a method of reception of the list of the releases
accessible to updating through freebsd-update(8)? For example, if open
http://update5.freebsd.org catalogs "to-N.M-RELEASE\*" are visible -
where it is possible to be updated. But it well thanking for Indexes
options on the WEB server - for an example http://update1.freebsd.org/
will not allow to see anything. It would be fine to deduce the list of
accessible releases by freebsd-update (8)
___
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: binutils

2009-10-10 Thread Polytropon
On Sat, 10 Oct 2009 13:55:25 -0400, Jerry  wrote:
> The only problem with that is that it would get over written when
> updating 'world'. I am not sure if a user could exclude binutils from
> being installed when building world.

Maybe further problems arise when using freebsd-update which
relies on several default settings (e. g. GENERIC kernel)...




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: / almost out of space just after installation

2009-10-10 Thread Polytropon
On Sat, 10 Oct 2009 11:36:08 -0600, Chad Perrin  wrote:
> Someone mentioned giving the `home` directory its own partition.  I think
> a separate partition for /usr/home, mounted within /usr, is a great idea.
> It would help substantially with system rebuilds, backups, and using
> separate drives for `home`, because that's where the majority of the
> stuff you want to keep between installs will reside.  Basically
> everything else within /usr (with the possible exception of
> /usr/local/etc) is just what happens when you install and configure your
> system in the first place.

If you can estimate disk requirements good enough, or simply
have huge hard disks that can compensate any requirements, there's
no problem giving /home a separate partition. There's no need
to put the mountpoint into /usr, because /home could "physically"
exist; in the "home in usr" setting, /home is just a symlink to
/usr/home.

Personally, I often put /home on a separate partition, simply
because of comfortability. If I can't say enough about how /usr
and /home will grow, I go with the default approach. I sometimes
even use the "one big /" setting.

One advantage of /home as a separate partition is that you can
easily use dump to create a backup - you simply backup the whole
partition. You could have a directory, let's say /home/settings,
where you keep duplicates of /etc, /usr/local/etc and other files
that contain settings you consider worth being backed up.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Tcpwrappers, sendmail, and unknown hosts...

2009-10-10 Thread Jeff Laine
On Sat,10-10-2009 [12:31:01], Kevin Kinsey wrote:
> Seems like a lot of the spam we fight comes from
> hosts with no DNS entries.  What about using this?
> 
> --
> 
> $grep sendmail /etc/hosts.allow
> 
> sendmail : KNOWN : allow
> sendmail : UNKNOWN : deny
> 
> -
> 
> Comments?  anyone tried it?
> 

Hi Kevin!

What you need is 'require_rdns' feature.
Also from my own expirience, dnsbl feature of Sendmail works great for spammers 
scum.



-- 
Best regards,
Jeff

| "Nobody wants to say how this works.  |
|  Maybe nobody knows ..."  |
|   Xorg.conf(5)|
___
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: binutils

2009-10-10 Thread Jerry
On Sat, 10 Oct 2009 10:35:01 -0700
Chuck Swiger (cswi...@mac.com) replied:

>On Oct 10, 2009, at 9:34 AM, Jerry wrote:
>> On Sat, 10 Oct 2009 10:53:35 -0400
>> Lowell Gilbert (freebsd-questions-lo...@be-well.ilk.org) replied:
>>> Unfortunately, it's under an unacceptable license.
>>
>> I was not aware of that. What is the problem?
>
>Somewhere around binutils-2.17, it switched to using GPLv3.
>
>> Perhaps, if it is not all
>> ready available, the FreeBSD developers can devise some directive to
>> place in the '/etc/make.conf' file that would force the use of the
>> 'port' version instead if it was available in a fashion similar to  
>> what
>> is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps,
>> "WITH_BINUTILS_PORT=yes".
>
>That's not a bad idea, although you can likely export PREFIX=/usr and  
>install the binutils port, and get the desired result.

The only problem with that is that it would get over written when
updating 'world'. I am not sure if a user could exclude binutils from
being installed when building world. Nor, am I certain that it would
not cause a problem somewhere down the line. I don't like messing with
system files.

In any case, the FreeBSD developers are going to eventually develop a
working relationship with software written using the GPLv3 license.

-- 
Jerry
ges...@yahoo.com

A widow is more sought after than an old maid of the same age.

Addison
___
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: postfix/amavids/sa/etc in FreeBSD jail?

2009-10-10 Thread Patrick Lamaiziere
Le Fri,  9 Oct 2009 20:35:20 +0200,
"Len Conrad"  a écrit :

> is a FreeBSD jail enough of a virtualized OS to run a full filtering
> MX config setup exactly as on a native FreeBSD?

Yes. Here I use one jail acting as a mail gateway
and one for mail delivery. Works like a charm as it should.
___
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: / almost out of space just after installation

2009-10-10 Thread Chad Perrin
On Thu, Oct 08, 2009 at 11:39:58PM -0700, Randi Harper wrote:
> 
> I was thinking that a more acceptable default layout (leaving swap at it's
> current default size) would be:
> 
> / = 1GB
> /var = 2GB
> /tmp = 2GB
> 
> One thing to remember is that these are just suggested defaults. Most
> experienced users are going to use a custom layout when setting up a new
> server, so the goal here is to have partition sizes that work for everyone
> else. Although FreeBSD does work on older hardware, I'd guess that most of
> the hardware it is being installed on now is less than 10 years old. The
> defaults we currently have in place are outdated. They are targeted more for
> older systems, perhaps because sysinstall hasn't been touched in quite a
> while.
> 
> I'm looking for community input on this, so feel free to pipe up with your
> $.02.

I think that's a great idea.  As you pointed out, the defaults should be
for most users, who don't really want to have to think about it, don't
really want to have to deal with shuffling partitions around, et cetera.
If you have an abnormal setup (say, a computer with a 2GB hard drive or
one with 8GB of RAM so you want 2GB of RAM dedicated to swap), you should
alter your partitioning scheme to suit.

Someone mentioned giving the `home` directory its own partition.  I think
a separate partition for /usr/home, mounted within /usr, is a great idea.
It would help substantially with system rebuilds, backups, and using
separate drives for `home`, because that's where the majority of the
stuff you want to keep between installs will reside.  Basically
everything else within /usr (with the possible exception of
/usr/local/etc) is just what happens when you install and configure your
system in the first place.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpFlW5yiinpn.pgp
Description: PGP signature


Tcpwrappers, sendmail, and unknown hosts...

2009-10-10 Thread Kevin Kinsey

Seems like a lot of the spam we fight comes from
hosts with no DNS entries.  What about using this?

--

$grep sendmail /etc/hosts.allow

sendmail : KNOWN : allow
sendmail : UNKNOWN : deny

-

Comments?  anyone tried it?

Kevin Kinsey
DaleCo, S.P.
___
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: binutils

2009-10-10 Thread Chuck Swiger

On Oct 10, 2009, at 9:34 AM, Jerry wrote:

On Sat, 10 Oct 2009 10:53:35 -0400
Lowell Gilbert (freebsd-questions-lo...@be-well.ilk.org) replied:

Unfortunately, it's under an unacceptable license.


I was not aware of that. What is the problem?


Somewhere around binutils-2.17, it switched to using GPLv3.


Perhaps, if it is not all
ready available, the FreeBSD developers can devise some directive to
place in the '/etc/make.conf' file that would force the use of the
'port' version instead if it was available in a fashion similar to  
what

is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps,
"WITH_BINUTILS_PORT=yes".


That's not a bad idea, although you can likely export PREFIX=/usr and  
install the binutils port, and get the desired result.


Regards,
--
-Chuck

___
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: / almost out of space just after installation

2009-10-10 Thread Chad Perrin
On Fri, Oct 09, 2009 at 10:15:22PM +0100, RW wrote:
> On Fri, 9 Oct 2009 17:28:09 +0200 (CEST)
> Oliver Fromme  wrote:
> 
> > Randi Harper wrote:
> >  > / = 1GB
> >  > /var = 2GB
> >  > /tmp = 2GB
> > 
> > Depending on the size of installed RAM, /tmp could also
> > be a memory disk by default. 
> 
> I don't see why it should depend on the amount of RAM, since it would
> normally be swap-backed.

It should depend on the amount of RAM because putting /tmp in memory
takes away from the RAM available to the rest of the system.  If your
system typically runs processes that consume a lot of RAM (like Firefox,
ha ha), your system could bog down a lot during typical use if you use a
RAM disk for /tmp without considering how much RAM you have and need to
use.  By default, I think, /tmp should be on the hard drive -- perhaps
with an option when partitioning to set it up to use RAM instead of
physical storage.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpqwLNGkePpj.pgp
Description: PGP signature


Re: binutils

2009-10-10 Thread Alex R

Lowell Gilbert wrote:

Unfortunately, it's under an unacceptable license.

  
Wow. thats a great way to keep the operating system software up to date, 
use ancient versions of software to get around a stupid license 
agreement. What's being done to rectify that issue?


___
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: binutils

2009-10-10 Thread Jerry
On Sat, 10 Oct 2009 10:53:35 -0400
Lowell Gilbert (freebsd-questions-lo...@be-well.ilk.org) replied:

>Unfortunately, it's under an unacceptable license.

I was not aware of that. What is the problem? Perhaps, if it is not all
ready available, the FreeBSD developers can devise some directive to
place in the '/etc/make.conf' file that would force the use of the
'port' version instead if it was available in a fashion similar to what
is done with OpenSSL; i.e. "WITH_OPENSSL_PORT=yes". Perhaps,
"WITH_BINUTILS_PORT=yes".

-- 
Jerry
ges...@yahoo.com

Men never do evil so completely and cheerfully as when they do it
from religious conviction.

Blaise Pascal, "Pens_es", 1670
___
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: best FBSD version for commercial use.

2009-10-10 Thread Marwan Sultan


 Thank you all for your quick replies,

 I will go for 7.2 and will see the progress of 8.

 Above all, a special thanks to FreeBSD developers.

 

 Best resgards,

 Marwan Sultan.

 
> Date: Sat, 10 Oct 2009 06:06:39 -0400
> From: jh...@dataix.net
> To: kra...@googlemail.com
> CC: b...@izb.knu.ac.kr; freebsd-questions@freebsd.org; dead_l...@hotmail.com
> Subject: Re: best FBSD version for commercial use.
> 
> 
> On Sat, 10 Oct 2009 04:46, kraduk@ wrote:
> > 2009/10/10 ?? 
> >
> >> Marwan Sultan wrote:
> >>
> >>>
> >>> Im planing to move out of my FreeBSD 4.8-R! which served me like a charm
> >>> for many years.
> >>> But not sure if I should go for 6.3 or 7.2
> >>> This server will be a DNS server, apache, shell accounts..php, mysql..
> >>>
> >>
> >> IMHO, i think that you should wait until 8.0-R out.
> >>
> >> Sincerely,
> >>
> >
> > Never ideal to play the waiting game, as there is always something bigger
> > and better round the corner. Best to go with something tried and tested.
> >
> 
> I will agree with that. And raise that its not a good idea to be part of 
> the early adopter club for commercial use.
> 
> -- 
> 
> ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
> ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1
> ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E
> 
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/___
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"


VirtualBox build failure on 7.2-stable (amd64)

2009-10-10 Thread Doug Poland
Hello,

I'm trying to build VirtualBox 3.0.51.r22902_2 on 7.2-stable amd64 and
I keep getting the following failure:


kBuild: Compiling RuntimeR0Drv -
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c
In file included from
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:60,
 from
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c:34:
/sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory
kmk[2]: ***
[/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o]
Error 1
The failing command:
@cc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused
-Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes
-Wnested-externs -O2 -fformat-extensions -ffreestanding
-fno-strict-aliasing -fno-common -finline-limit=8000
-fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer
-nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -Wundef
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/gen-sys-hdrs
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/include
-I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/include
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox\"
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox\" -DRT_OS_FREEBSD
-D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -D_KERNEL -DKLD_MODULE
-DIN_RING0 -DIN_RT_R0 -DIN_RT_R0 -DRT_WITH_VBOX
-DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL
-Wp,-MD,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o.dep
-Wp,-MT,/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o
-Wp,-MP -o
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
kmk[2]: *** Waiting for unfinished jobs
In file included from
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:60,
 from
/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c:34:
/sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory
kmk[2]: ***
[/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/assert-r0drv-freebsd.o]
Error 1
The failing command:
@cc -c -O2 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused
-Wno-trigraphs -Wpointer-arith -Winline -Wno-pointer-sign
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes
-Wnested-externs -O2 -fformat-extensions -ffreestanding
-fno-strict-aliasing -fno-common -finline-limit=8000
-fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer
-nostdinc -std=c99 -m64 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -Wundef
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/gen-sys-hdrs
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/src/VBox/Runtime/include
-I/sys -I/sys/contrib/altq -I/sys/../include -I/usr/include
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/include
-I/usr/tmp/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox\"
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\"
-DRTPATH

Re: binutils

2009-10-10 Thread Lowell Gilbert
Jerry  writes:

> On Sat, 10 Oct 2009 15:45:39 +0200 (CEST)
> Alexander Best (alexbes...@math.uni-muenster.de) replied:
>
>>there's a project called binutils in p4 but i don't know anything
>>about it (version, status, etc.). the problem with binutils from the
>>portsdir is that even when it's installed gcc still uses the the
>>base-binaries because gcc is statically linked. so in order to use the
>>binutils from the ports dir you also have to install a gcc port (which
>>gets linkey dynamically).
>>
>>a very dirty workaround is to install binutils from the ports, rename
>>the base binary you don't want to use anymore and instead create a
>>link to /usr/local/bin/*.
>>
>>here's an example. this way i could build mplayer with sse3 support.
>>although the base gcc (4.2.1 in my case running 9-current) supports
>>sse3, the base GNU assembler version (2.15) doesn't.
>>
>>what i did was to install the binutils port,
>>`mv /usr/bin/as /usr/bin/as_old` and `ln
>>-s /usr/local/bin/as /usr/bin/as`.
>>
>>now the base gcc picks up the new GNU assembler binary.
>>
>>cheers.
>>alex
>>
>>
>>oh...and i agree: binutils should be updated. actually a lot of base
>>code needs to be updated. some of it hasn't been touched for over a
>>decade. ;)
>
> Is FreeBSD-8.0 also going to continue to use the older version {GNU
> assembler 2.15 [FreeBSD] 2004-05-23} or are they updating to the latest
> version. If the obsolete version is all ready causing compiler
> problems, it would seem like the logical thing to do.

Unfortunately, it's under an unacceptable license.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: conky calendar

2009-10-10 Thread Richard Mahlerwein
>From: Roland Smith 
>Subject: Re: conky calendar
>To: "PJ" 
>Cc: freebsd-questions@freebsd.org
>Date: Saturday, October 10, 2009, 9:27 AM
>
>On Sat, Oct 10, 2009 at 05:01:34AM -0400, PJ wrote:
>> I'm having a bit of a time with the calendar.sh script I 
>> found on the Net; it doesn't display quite correctly.
>> It should have brackets around the current date, but I 
>> can't figure out what is not functioning correctly:
>> 
>> #!/bin/sh
>> cal | awk 'NR>2' | sed -e 's/   /    /g' -e 's/[^ ] /& /g' -e 's/..*/  & /' 
>> -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/'
>
>Look at the output of the date command:
>Sat Oct 10 15:12:39 CEST 2009
>
>Change 'print $2' to 'print $3' to get the numercal date.
>Or even simpler: use "date +%d" instead of "date | awk '{print $3}'".
>
>Roland

I could not get it to work until I changed the single quotes in the last -e 
expression to double quotes.  (This either interactively under csh or as a 
script under sh).  BTW, using `date +%s` and with an additional minor change to 
make the numbers continue to line up ... Oh!  This will not fix mis-alignments 
on days when it is not the end of the week, I don't think ... anyway.

cal | awk 'NR>1' | sed -e 's/   //g' -e 's/[^ ] /& /g' -e 's/..*/  &/' -e 
"s/\ `date +%d`/\[`date +%d`\]/"

Gives
$ sh newcal.sh
  Su  Mo  Tu  We  Th  Fr  Sa
   1   2   3
   4   5   6   7   8   9 [10]
  11  12  13  14  15  16  17
  18  19  20  21  22  23  24
  25  26  27  28  29  30  31

Now, if you had a space character at the end of each line, you could do 
something like ...

cal | awk 'NR>1' | sed -e 's/   //g' -e 's/[^ ] /& /g' -e 's/..*/  &/' -e 
"s/\ `date +%d`\ /\[`date +%d`\]/"

And then it would replace (underscore is space) "_8_" with "[8]" so it would 
always line up.  You can't do that without the space at the end of the line 
because the trailing numbers look like this "_17" not "_17_".  But, fix that, 
and you can use the above.  That is left as an exercise for the reader.  

-Rich


 
___
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: binutils

2009-10-10 Thread Jerry
On Sat, 10 Oct 2009 15:45:39 +0200 (CEST)
Alexander Best (alexbes...@math.uni-muenster.de) replied:

>there's a project called binutils in p4 but i don't know anything
>about it (version, status, etc.). the problem with binutils from the
>portsdir is that even when it's installed gcc still uses the the
>base-binaries because gcc is statically linked. so in order to use the
>binutils from the ports dir you also have to install a gcc port (which
>gets linkey dynamically).
>
>a very dirty workaround is to install binutils from the ports, rename
>the base binary you don't want to use anymore and instead create a
>link to /usr/local/bin/*.
>
>here's an example. this way i could build mplayer with sse3 support.
>although the base gcc (4.2.1 in my case running 9-current) supports
>sse3, the base GNU assembler version (2.15) doesn't.
>
>what i did was to install the binutils port,
>`mv /usr/bin/as /usr/bin/as_old` and `ln
>-s /usr/local/bin/as /usr/bin/as`.
>
>now the base gcc picks up the new GNU assembler binary.
>
>cheers.
>alex
>
>
>oh...and i agree: binutils should be updated. actually a lot of base
>code needs to be updated. some of it hasn't been touched for over a
>decade. ;)

Is FreeBSD-8.0 also going to continue to use the older version {GNU
assembler 2.15 [FreeBSD] 2004-05-23} or are they updating to the latest
version. If the obsolete version is all ready causing compiler
problems, it would seem like the logical thing to do.

-- 
Jerry
ges...@yahoo.com

There is brutality and there is honesty.
There is no such thing as brutal honesty.
___
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: binutils

2009-10-10 Thread Alexander Best
there's a project called binutils in p4 but i don't know anything about it
(version, status, etc.). the problem with binutils from the portsdir is that
even when it's installed gcc still uses the the base-binaries because gcc is
statically linked. so in order to use the binutils from the ports dir you also
have to install a gcc port (which gets linkey dynamically).

a very dirty workaround is to install binutils from the ports, rename the base
binary you don't want to use anymore and instead create a link to
/usr/local/bin/*.

here's an example. this way i could build mplayer with sse3 support. although
the base gcc (4.2.1 in my case running 9-current) supports sse3, the base GNU
assembler version (2.15) doesn't.

what i did was to install the binutils port, `mv /usr/bin/as /usr/bin/as_old`
and `ln -s /usr/local/bin/as /usr/bin/as`.

now the base gcc picks up the new GNU assembler binary.

cheers.
alex


oh...and i agree: binutils should be updated. actually a lot of base code
needs to be updated. some of it hasn't been touched for over a decade. ;)
___
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: conky calendar

2009-10-10 Thread Roland Smith
On Sat, Oct 10, 2009 at 05:01:34AM -0400, PJ wrote:
> I'm having a bit of a time with the calendar.sh script I found on the
> Net; it doesn't display quite correctly.
> It should have brackets around the current date, but I can't figure out
> what is not functioning correctly:
> 
> #!/bin/sh
> cal | awk 'NR>2' | sed -e 's/   //g' -e 's/[^ ] /& /g' -e 's/..*/  &
> /' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/'

Look at the output of the date command:
Sat Oct 10 15:12:39 CEST 2009

Change 'print $2' to 'print $3' to get the numercal date.
Or even simpler: use "date +%d" instead of "date | awk '{print $3}'".

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)


pgp3BcgoKyz5L.pgp
Description: PGP signature


Re: best FBSD version for commercial use.

2009-10-10 Thread Jerry
On Sat, 10 Oct 2009 06:06:39 -0400
jhell  wrote:

[snip]

> I will agree with that. And raise that its not a good idea to be part
> of the early adopter club for commercial use.

Somebody has got to go first. As so aptly stated by Robert Crandell,
chairman of American Airlines in the late 1990's, "If you're not the
lead dog, the view never changes."

-- 
Jerry
ges...@yahoo.com

Let others praise ancient times; I am glad I was born in these.

Ovid (43 B.C. - A.D. 18)
___
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: conky calendar

2009-10-10 Thread jhell


On Sat, 10 Oct 2009 05:01, af.gourmet@ wrote:

I'm having a bit of a time with the calendar.sh script I found on the
Net; it doesn't display quite correctly.
It should have brackets around the current date, but I can't figure out
what is not functioning correctly:

#!/bin/sh
cal | awk 'NR>2' | sed -e 's/   //g' -e 's/[^ ] /& /g' -e 's/..*/  &
/' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/'

Change the NR>2 to NR1 and the printout includes the days of the week:
 Su  Mo  Tu  We  Th  Fr  Sa
  1   2   3
  4   5   6   7   8   9  10
 11  12  13  14  15  16  17
 18  19  20  21  22  23  24
 25  26  27  28  29  30  31

Since today is the 10th, we should be seeing [10] - but we are not.
Also, there is the problem of the 1,2,3 not showing in the right days -
in conky this can be fixed by not using xft... but then I'm not sure of
how to change the font size... perhaps the xorg screen size is the
default ???

I'm not very good at programming, but I did look up the man pages for
cal, sed and awk but it is a little complicated for my little brain.
Can anyone help, please?



Where did you Saturday go to ? I would love for some of my Thursdays and 
sometimes Fridays to just disappear like this but Saturday ? come on now 
what is the world coming to ? ;)


--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

___
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: best FBSD version for commercial use.

2009-10-10 Thread jhell


On Sat, 10 Oct 2009 04:46, kraduk@ wrote:

2009/10/10 ?? 


Marwan Sultan wrote:



  Im planing to move out of my FreeBSD 4.8-R! which served me like a charm
for many years.
  But not sure if I should go for 6.3 or 7.2
  This server will be a DNS server, apache, shell accounts..php, mysql..



IMHO, i think that you should wait until 8.0-R out.

Sincerely,



Never ideal to play the waiting game, as there is always something bigger
and better round the corner. Best to go with something tried and tested.



I will agree with that. And raise that its not a good idea to be part of 
the early adopter club for commercial use.


--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

___
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"


conky calendar

2009-10-10 Thread PJ
I'm having a bit of a time with the calendar.sh script I found on the
Net; it doesn't display quite correctly.
It should have brackets around the current date, but I can't figure out
what is not functioning correctly:

#!/bin/sh
cal | awk 'NR>2' | sed -e 's/   //g' -e 's/[^ ] /& /g' -e 's/..*/  &
/' -e 's/ \('`date | awk '{print $2}'`'\) /\['`date | awk '{print $2}'`'\]/'

Change the NR>2 to NR1 and the printout includes the days of the week:
  Su  Mo  Tu  We  Th  Fr  Sa
   1   2   3
   4   5   6   7   8   9  10
  11  12  13  14  15  16  17
  18  19  20  21  22  23  24
  25  26  27  28  29  30  31

Since today is the 10th, we should be seeing [10] - but we are not.
Also, there is the problem of the 1,2,3 not showing in the right days -
in conky this can be fixed by not using xft... but then I'm not sure of
how to change the font size... perhaps the xorg screen size is the
default ???

I'm not very good at programming, but I did look up the man pages for
cal, sed and awk but it is a little complicated for my little brain.
Can anyone help, please?
___
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: best FBSD version for commercial use.

2009-10-10 Thread krad
2009/10/10 牛粥 

> Marwan Sultan wrote:
>
>>
>>   Im planing to move out of my FreeBSD 4.8-R! which served me like a charm
>> for many years.
>>   But not sure if I should go for 6.3 or 7.2
>>   This server will be a DNS server, apache, shell accounts..php, mysql..
>>
>
> IMHO, i think that you should wait until 8.0-R out.
>
> Sincerely,
>
> --
> Byung-Hee HWANG
> ∑ WWW: http://izb.knu.ac.kr/~bh/ 
>
> ___
> 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"
>

Never ideal to play the waiting game, as there is always something bigger
and better round the corner. Best to go with something tried and tested.
___
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: Security blocking question

2009-10-10 Thread Matthew Seaman

Svante Kvarnstrom wrote:


On Oct 9, 2009, at 11:56 PM, Matthew Seaman wrote:

plus you'll need to add a cron job to clear old entries out of the 
ssh-bruteforce

table after a suitable amount of time has passed.  Use expiretable to do
that.


I believe that security/expiretable is superfluous nowadays since pfctl 
supports the -T expire directive.


Yes -- that is true.  Seems '-T expire' works in 7-STABLE and 7.1-RELEASE,
7.2-RELEASE -- not sure about older versions though.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature