Re: devel/boost -- where is tools/build/v2?

2007-12-15 Thread Emanuel Haupt
 I'm trying to walk through the tutorial of Boost.Python
 (the devel/boost-python port)... and unless I'm running
 out of coffe right now, it seems as if the boost port
 is not fully installed/specified!
 
 Isn't boost supposed to come with a tools/build/v2
 directory? Where is it?

Unless you built devel/boost with NOPORTDOCS defined it should be
installed under:

/usr/local/share/doc/boost/tools/build/v2

Emanuel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions please for what POP or IMAP servers to use

2007-12-15 Thread Gerard
 On December 14, 2007 at 11:25PM Ted Mittelstaedt wrote:

[ snip ]

 It is dangerous to put any webmail application on a mailserver
 for a couple reasons.  First it is possible for users of the
 app (assuming the app has the ability to save mail) to overflow
 directories on the mailserver.  However more seriously, any
 www application is always subject to security issues - a hole in
 the application, even if the apache version your using is secure -
 allows spammers to relay through your mailserver.  Mailservers are
 of course, the most desired of spam relays.

If you are using Postfix, placing the following in the 'main.cf' file can
significantly reduce the potential regarding relaying from Apache. Of course,
insure that the group is correct.

authorized_submit_users = !www, static:all


-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apparently, csh programming is considered harmful.

2007-12-15 Thread Gerard Seibert
 On December 14, 2007 at 08:03PM Frank Shute wrote:

 On Fri, Dec 14, 2007 at 06:00:14PM -0500, Gerard Seibert wrote:
 
   On December 14, 2007 at 04:10PM Frank Shute wrote:
  
  [ snip ]
  
   I'm happy with sh as the system shell though; it's light weight:
   
   $ ls -l /bin/sh
   -r-xr-xr-x  1 root  wheel  111028 Nov 30 00:10 /bin/sh

~ $ ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  111788 Oct  5 13:55 /bin/sh*


   $ ls -l /bin/ksh
   -r-xr-xr-x  1 root  wheel  681584 Oct  6 12:33 /bin/ksh
   
   How about giving us all a laugh and posting the results for bash ;)
  
  ~ $ ls -l /usr/local/bin/bash
  -rwxr-xr-x  1 root  wheel  643984 Sep 12 15:51 /usr/local/bin/bash*
  
 
 pdksh has put on weight. Used to be ~300k in the 4.* days and bash
 about 500k IIRC. On my machine bash is bigger than yours (newer version?):

~ $ bash --version
bash --version
GNU bash, version 3.2.25(0)-release (i386-portbld-freebsd6.2)
Copyright (C) 2005 Free Software Foundation, Inc.

 
 $ ls -l /usr/local/bin/bash
 -rwxr-xr-x  1 root  wheel  676752 Nov  9 11:57 /usr/local/bin/bash
 
 Don't know why bash is writable by root but sh  ksh aren't. 
 
 Seems like I've ended up with bash installed whether I like it or not:
 
 $ pkg_info -R bash-3.2.25
 Information for bash-3.2.25:
 
 Required by:
 gnome-doc-utils-0.12.0
 libgnome-2.20.1.1_1
 rarian-0.6.0_1

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Distributing directory over multiple discs ?

2007-12-15 Thread Frank Staals
Since one of my discs is filling up rather quickly (Say disc A ) while 
an other one stays quite empty (say disc B ) I would like to distribute 
the content of a directory on disc A over both A and B. I know I can 
simply move some of the files over to a sperate directory on disc B but 
is is possible to somehow merge the 2 ? So for example if I would do an 
ls in discA/dir I would also see the files that are stored on 
discB/an/other/dir ? And off-course if this is possible how can I 
acchieve something like that


Regards,

--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ksh - was: Re: csh progermming considered harmful

2007-12-15 Thread Bill Vermillion
Shakespeare wrote plays and sonnets which will last
an eternity, but on Fri, Dec 14, 2007 at 22:33 ,
[EMAIL PROTECTED] wrote these truly forgetable
lines:

 Date: Fri, 14 Dec 2007 21:10:08 +
 From: Frank Shute [EMAIL PROTECTED]
 Subject: Re: Apparently, csh programming is considered harmful.
 To: Mike Jeays [EMAIL PROTECTED]
 Cc: FreeBSD Questions freebsd-questions@freebsd.org

 On Thu, Dec 13, 2007 at 08:12:32PM -0500, Mike Jeays wrote:

  On December 13, 2007 08:05:42 pm Chad Perrin wrote:
   I ran across this today:


[much deleted - wjv]


  flamebaitBash has all the features one is likely to need for
  interactive use as well, and one could make a good case for it being
  the 'standard' shell now./flamebait 
 
 Standard shell for what? Linux maybe but not FreeBSD or any of the
 other BSDs for that matter. It being GPL guarantees that quite apart
 from it general suckiness.
 
 I used bash for an interactive shell for about 5 years until I
 discovered the goodness of pdksh. About half the size, statically
 linked, not full of bugs and better editing features. Plus it's not
 GPL.
 
 I tried replacing /bin/bash with /bin/ksh on a Linux system and it
 almost completely broke it. Suggests the Linux folks can't write
 boot scripts without bashisms.
 
 I'm tempted to try doing the same on FreeBSD (replace sh with pdksh)
 just for the hell of it and see what happens.

I tried the pdksh once and didn't like it.  I went back to the
genuine ksh [from ATT] that I had been using for years, and I have
it on all the *n*x systems I mainatain.

Even though it's bigger then the pdksh [and I always compile my
shells statically just in case] I'd be lost without it.

Bill

-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.]

2007-12-15 Thread Frank Shute
On Sat, Dec 15, 2007 at 04:13:49AM +0200, Giorgos Keramidas wrote:

 On 2007-12-14 21:10, Frank Shute [EMAIL PROTECTED] wrote:
  I used bash for an interactive shell for about 5 years until I
  discovered the goodness of pdksh. About half the size, statically
  linked, not full of bugs and better editing features. Plus it's not
  GPL.
 
 Hi Frank,
 
 Now that you mention pdksh, have you tried mksh (in Ports too)?

No I haven't but I'll certainly give it a look. I've just upgraded my
window manager: blackbox - fluxbox, so I might aswell upgrade my
shell ;)

 
 I've installed it and successfully run moderately large ksh scripts
 (like the webrev(1) utility of OpenSolaris), and it is about an order of
 magnitude smaller than pdksh here:

Sounds good, thanks for the tip Giorgos.

 
 % [EMAIL PROTECTED]:/usr/local/bin$ ls -ld mksh bash ksh
 % -rwxr-xr-x  1 root  wheel  -  684699 Dec  9 19:51 bash
 % -r-xr-xr-x  1 root  wheel  - 2390645 Aug 31 17:07 ksh
 % -r-xr-xr-x  1 root  wheel  -  236202 Dec  9 18:34 mksh

Wow. My pdksh is much smaller:

$ ls -ld /usr/local/bin/ksh
-r-xr-xr-x  1 root  wheel  681584 Jan 23  2007 /usr/local/bin/ksh

$ pkg_info -W /usr/local/bin/ksh
/usr/local/bin/ksh was installed by package pdksh-5.2.14p2_2

It's also statically compiled. I wonder what is bloating yours so
much. Was it built with debugging code or something?

 % [EMAIL PROTECTED]:/usr/local/bin$ ldd mksh bash ksh
 % mksh:
 % libc.so.7 = /lib/libc.so.7 (0x280ae000)
 % bash:
 % libncurses.so.7 = /lib/libncurses.so.7 (0x28101000)
 % libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28144000)
 % libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28156000)
 % libc.so.7 = /lib/libc.so.7 (0x2824b000)
 % ldd: ksh: not a dynamic executable
 % [EMAIL PROTECTED]:/usr/local/bin$


-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: devel/boost -- where is tools/build/v2?

2007-12-15 Thread cpghost
On Sat, Dec 15, 2007 at 10:27:30AM +0100, Emanuel Haupt wrote:
  I'm trying to walk through the tutorial of Boost.Python
  (the devel/boost-python port)... and unless I'm running
  out of coffe right now, it seems as if the boost port
  is not fully installed/specified!
  
  Isn't boost supposed to come with a tools/build/v2
  directory? Where is it?
 
 Unless you built devel/boost with NOPORTDOCS defined it should be
 installed under:
 
 /usr/local/share/doc/boost/tools/build/v2
 
 Emanuel

Hmm... no, sorry, it's not:

  1. I didn't set NOPORTDOCS in /etc/make.conf, yet there's nothing there
 besides some html files.

  2. /usr/ports/devel/boost-python/work/boost_1_34_1/tools/build/v2/tools
 for example contains plenty of .jam files that are needed by bjam to
 run. Those are *not* copied over. A few html files are put in doc/,
 but not the real stuff (which belongs elsewhere, see 3.).

  3. Those files are NOT doc files: they are needed by bjam.
 Their right place should be something like, say,
 /usr/local/lib/boost/tools/...

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apparently, csh programming is considered harmful.

2007-12-15 Thread Frank Shute
On Sat, Dec 15, 2007 at 06:57:09AM -0500, Gerard Seibert wrote:

  On December 14, 2007 at 08:03PM Frank Shute wrote:
 
  On Fri, Dec 14, 2007 at 06:00:14PM -0500, Gerard Seibert wrote:
  
On December 14, 2007 at 04:10PM Frank Shute wrote:
   
   [ snip ]
   
I'm happy with sh as the system shell though; it's light weight:

$ ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  111028 Nov 30 00:10 /bin/sh
 
 ~ $ ls -l /bin/sh
 -r-xr-xr-x  1 root  wheel  111788 Oct  5 13:55 /bin/sh*

I can understand why the size of sh might be different. Different
patch levels. (Built almost 2 months apart).

 
 
$ ls -l /bin/ksh
-r-xr-xr-x  1 root  wheel  681584 Oct  6 12:33 /bin/ksh

How about giving us all a laugh and posting the results for bash ;)
   
   ~ $ ls -l /usr/local/bin/bash
   -rwxr-xr-x  1 root  wheel  643984 Sep 12 15:51 /usr/local/bin/bash*
   
  
  pdksh has put on weight. Used to be ~300k in the 4.* days and bash
  about 500k IIRC. On my machine bash is bigger than yours (newer version?):
 
 ~ $ bash --version
 bash --version
 GNU bash, version 3.2.25(0)-release (i386-portbld-freebsd6.2)
 Copyright (C) 2005 Free Software Foundation, Inc.

Same as mine:

$ bash --version
GNU bash, version 3.2.25(0)-release (i386-portbld-freebsd6.2)
Copyright (C) 2005 Free Software Foundation, Inc.

I'm not too sure why my bash is different in size. I guess it sucked
in slightly different code when built due to our base systems being the
2 months apart.

[snip]

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I use my USB microphone and motherboard audio out?

2007-12-15 Thread Watanabe Kazuhiro
At Fri, 14 Dec 2007 14:02:42 -0800,
Rudy wrote:
 Watanabe Kazuhiro wrote:
  At Thu, 13 Dec 2007 12:16:45 -0800,
  Rudy wrote:
  Watanabe Kazuhiro wrote:
  Hi.
 
  At Tue, 11 Dec 2007 22:16:58 -0800,
  Rudy wrote:
  After reading some more man pages, I am still stumped but can better 
  phrase my question:
   how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default 
  INPUT?
  ...
 
  Audacity will be able to specify a different dsp device for the
  recording and playback device via the Audacity Preferences panel
  (Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
  and /dev/dsp1 for recording.
 
  Have you tried such configulation?
  ---
  Watanabe Kazuhiro ([EMAIL PROTECTED])
  No luck.  I only see '/dev/dsp'.  It seems that dsp likes to automatically 
  do stuff, but is not 
  smart enough to always do the right thing.
  
  OK.  My understanding is:
  
   * There is /dev/dsp0 which corresponds to pcm0 (snd_hda).
  
   * /dev/dsp and /dev/dsp0 are the same.  e.g.:
  
  $ ls -l /dev/dsp /dev/dsp0
  crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp
  crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp0
  $ 
  
   * There is no /dev/dsp1.  But there is /dev/dsp1.1 which corresponds
 to pcm1 (snd_uaudio).
  
  If these are correct, will you try to make a symlink /dev/dsp1 which
  points to /dev/dsp1.1 via devfs.conf(5)?  i.e. Add the following line
  to /etc/devfs.conf and then reboot the system:
  
  link dsp1.1 dsp1
  
 
 I entered these lines:
 
   # attempt to override the dsp0 input with the dsp1 input... doesn't work
   link dsp1.1 dsp0.1
   # this didn't do anything
   link dsp1.1 dsp1
   # this works... wanted to make sure I could do something.  :)
   link dsp1.1 microphone
 
 and ran
   /etc/rc.d/devfs restart
 
 # ll /dev/ | grep dsp
 crw-rw-rw-  1 root  wheel0, 121 Dec 14 13:55 /dev/dsp0.0
 crw-rw-rw-  1 root  wheel0, 122 Dec 14 09:33 /dev/dsp0.1
 crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 /dev/dsp0.2
 crw-rw-rw-  1 root  wheel0, 145 Dec 14 09:31 /dev/dsp1.0
 crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 /dev/dsp1.1
 lrwxr-xr-x  1 root  wheel 6 Dec 14 13:52 /dev/microphone - dsp1.1
 
 # cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: NVidia MCP51 High Definition Audio Controller at memory 0xfe024000 
 irq 21 kld snd_hda 
 [20071129_0050] [MPSAFE] (1p:2v/1r:1v channels duplex default)
 pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
  mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz
 
 # pcm0 is the motherboard sound/mic/lineout/etc
 # pcm1 is the usb mircophone
 
 # cd /dev
 # ln -s dsp1.1 dsp0.111
 # ln -s dsp1.1 dsp0.1
 # ll dsp*
 crw-rw-rw-  1 root  wheel0, 121 Dec 14 14:01 dsp0.0
 lrwxr-xr-x  1 root  wheel 6 Dec 14 14:01 dsp0.111 - dsp1.1
 crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 dsp0.2
 crw-rw-rw-  1 root  wheel0, 149 Dec 14 09:31 dsp1.0
 crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 dsp1.1
 
 I can't seem to force the dsp1.1 to be the dsp0.1
 
 :(

Hmm... I don't know what to do any more.  Sorry.

As a last proposal, how about audacity-devel
(ports/audio/audacity-devel)?  

AFAIK, there is a limitation for the stable version of Audacity
(ports/audio/audacity) to use USB microphones.  See the URLs below.

 USB-microphone in Open Sound System
 
http://audacityteam.org/wiki/index.php?title=USB_mic_on_Linux#USB-microphone_in_Open_Sound_System

 [Portaudio] Prompting for all output and input devices separately
 http://techweb.rfa.org/pipermail/portaudio/2006-February/005237.html

I don't know whether the limitation is applied to FreeBSD or not.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Eric Masson
Frank Staals [EMAIL PROTECTED] writes:

Hi,

 And off-course if this is possible how can I acchieve something like
 that

Take a look at the handbook, sections regarding GEOM (stripe) or VINUM.

If you plan to use 7.0 or later, zfs can help too.

-- 
 B Le jour où un bidet comprendra un tabouret,
 B l'ethnologie aura fait un grand pas.
 Et ils eurent beaucoup de petites chaises percées.
 -+-vt in: http://www.le-gnu.net - Lachaise Père  fils -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel compile problems

2007-12-15 Thread s.huckenholz

Hi Ryan,

I presume you do something like :

make -jX KERNCONF=newkernel kernel

where  X is a number larger than 2 ??

Run it without the j flag and then other errors will show up.
These errors are caused by a misconfigured kernel and reading your  
kernel conf I found at least 2:


I suggest that you either enable

device  scbus  and
device  da

or disable
device  umass

and the next :
if you disable device wlan
you need to disable
 device ural
 too
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it safe yet!

2007-12-15 Thread Randy Pratt
On Fri, 14 Dec 2007 22:59:49 -0800
Gary Kline [EMAIL PROTECTED] wrote:

   People, 
 
   I'd like to do a complete upgrade to see if I can fix whatever is
   broken with evolution.

Evolution was updated a few days ago but there's no guarantee that
it will fix whatever.  You might try asking on a more specific question
on freebsd-gnome mailing list.  The more information you supply will
help those who can answer.

   I'm considerned about the MGA driver NOT having been backed up to
   what worked.  My xf86-video-mga is back-patched to v 1.4.7, IIRC
   Everything works correcctly.  But looking at the newest version of
   xf86-video-mga (and mga-new) it looks  like both ports are what
   they were.

Florent Thoumie has requested feedback from those using the patch from
ports/117726 for x11-drivers/xf86-video-mga:

  
http://docs.freebsd.org/cgi/mid.cgi?a01628140712120517k667af97clddb475aca3b644d8

It appears that the current version in the ports tree,
xf86-video-mga-1.9.100, works for some using a dual-head configuration
while some have trouble using it with a single monitor.

A ports update may try to update your patched version to the latest.
Its possible to 'hold' a port from updating.  If you're using
portupgrade, the easiest might be to add an entry to the HOLD_PKGS
section of /usr/local/etc/pkgtools.conf :

  HOLD_PKGS = [
'bsdpan-*',
'x11-drivers/xf86-video-mga',
  ]

There are other port update tools and methods to prevent a port
from being updated but the preceeding is my preference.

It would also be up to you to determine when to remove the entry
and update.  I'd suggest following the freebsd-x11 mailing list
online for mga driver discussions:

  http://docs.freebsd.org/mail/current/freebsd-x11.html

Is it safe yet?  I'm presuming you mean is it safe to update ports
at this time.  The ports tree is in thaw state after the tree was
tagged for the 6.3 and 7.0 releases so new commits are being made.
I'm just not sure how to answer the 'safe' part though.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/local/rc.d/apache22 start doesn't start Apache

2007-12-15 Thread Yuri
Quoting Erik Cederstrand [EMAIL PROTECTED]:

 I've been bitten by this a couple of times. Can anyone give me a hint to 
 where in the rc scripts I can add that one-liner to at least print 
 something like:
 
 $app not started. Please add $rcvar to /etc/rc.conf.
 
 instead of just silently failing?

I would love to see this too.
This is definitely a usability issue when somethis is not working silently.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: Remote Code Execution...

2007-12-15 Thread Tino Engel

Remko Lodder schrieb:

On Fri, December 14, 2007 5:37 pm, W. D. wrote:
  

At 09:50 12/12/2007, Remko Lodder wrote:


W. D. wrote:
  


  

Well, it's been 2 days now.  When will the code be updated
in the FreeBSD ports?  The version on the Samba website is
3.0.28.  (http://www.Samba.org/)  Why is the FreeBSD ports
version stuck at 3.0.26a_2,1?



I figure you have some spare time to help maintain these issues?
As you might be aware we are in the process of having a release
cycle and we are investigating which ports need to be upgraded
to do this properly without breaking an entire release.

THAT takes a little including rebuilding ports.

  

If there are fixes available already on the Samba websites,
why can't they be integrated into the ports?



They can, we are working on it Just have a little patience

  

I neet to get a fileserver going right away.  I would like
to use Samba.  Perhaps I should just load Windows on it?



Ah yes make my day and make it happen, just dont come back whining in case
it does not do what you would have expected or something. If you need the
thing urgently install it manually and be done with it.

  

It seems to me that leaving a port broken like this is
very unprofessional.  I would expect more from the folks
maintaing FreeBSD.



Exactly; please go to the Windows team and install windows on your machine
to get more professional support, including paying for everything

You tend to forget that we are volunteers and cannot handle it all; if you
know better, please step up and work on it else stfu.

  

When is it going to be fixed?  Does soon mean this century?
This year?  When?




For you i'll make an exception for 2010...

For every other person, we will have this incorporated ASAP.

  



Start Here to Find It Fast!™ -
http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/





*rofl*
Perfect answer though...
Regards, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing /var/mail to a symlink

2007-12-15 Thread Tino Engel

V.I.Victor schrieb:

Because of /var size considerations, I'd like to use a symlinked
/usr directory for email instead of /var/mail.

Based on today's research, I think the following will work.


With mail delivery off, I 'su' and:

  mkdir  /usr/var.mail
  cd  /var
  cp  -p  mail/*  /usr/var.mail/
  mv  mail  mail.bak
  ln  -s  /usr/var.mail  mail

Since 'ls -l /var' shows:

  drwxrwxrwt  2 root mail  512 Dec 14 14:24 mail

I should then:

  cd  /usr
  chmod  1777  var.mail
  chown  root:mail  var.mail

No changes are made to the /var/mail symlink.

Then, if everything works, I just delete /usr/mail.bak.


Does this seem OK?


Sorry to bother everyone with what's probably a trivial question, but
I *really* want to avoid screwing-up.  The machine is remote; accessed
via ssh.

Thanks!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

Sounds reasonable to me.
I'd just check afterwards if the permissions are like you want them to 
be, i.e. as they have been before...


And you might send one or another testmail to the an account on the 
system to see if everything works as before, before you delete the 
mail.mak directory...


Rg, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: drm locking up the desktop?

2007-12-15 Thread Tino Engel

Paul Schmehl schrieb:
I recently upgraded to 6.2 release (i386) on my desktop workstation, 
and I'm experiencing occasional lockups that require restarting X to 
resolve. I can ssh in to the box and kill the process and force a 
restart, but the desktop is completely unusable - both mouse and 
keyboard don't function - so I can't restart X with Ctrl-Alt-Bkspc.  
When I ssh in, performance is normal and top doesn't show any unusual 
memory or CPU usage.  PID974 was the pid for X.


I found these errors in /var/log/messages:
Dec 12 09:36:51 utd59514 kernel: error: [drm:pid974:drm_lock_take] 
*ERROR* 1 holds heavyweight lock
Dec 12 09:36:51 utd59514 kernel: error: [drm:pid974:drm_lock_take] 
*ERROR* 1 holds heavyweight lock


Although these showed up on the 12th, the desktop just locked up a few 
minutes ago, so they *may* be unrelated.  I tried unloading drm 
(kldunload drm.ko), but that failed.


When I grep the Xorg log I see these errors:
[EMAIL PROTECTED] grep EE /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): Unable to write to DVO Slave 112.
(EE) RADEON(0): Unable to write to DVO Slave 112.
(EE) RADEON(0): Unable to write to DVO Slave 112.

I don't know if these are related to the problem either.  I'm 
wondering 1) has anybody else experienced this problem and 2) does 
anyone have any suggestions as to where to start looking for the answer?



As far as I remember you can disable drm in your xorg.conf...
I do not have it there, so I could not look it up...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: copying DVD material :: somewhat OT.

2007-12-15 Thread Tino Engel

Predrag Punosevac wrote:
Any video posted on Youtube will work for youtube-dl . It will snap 
the file in .flv format which can be player only with VLC and MPlayer. 
Nothing else. Clive is capable of snapping videos from Google video as 
well and has an additional capabilities to converting .flv files to 
more friendly video formats like .MPG So what do you think? That I can 
not watch YouTube because I use FreeBSD? Funny...




But there has been an issue, a friend of mine reported to me. I do not 
know anything about this topic, but I wanted to post it here for 
convenience.


I have been told that there are various adult tubes on the net, that 
require flash  7. Since flash9 is obviously not working on freebsd (at 
list it wasn't one month ago) this friend of mine is not able to watch 
those adult tubes.
Due to his reporting, also tools like unplug-xpi did not do the job 
(btw, does this tool EVER download a flv file??)


Well, this of course does not affect me at all, but I wanted to forward 
the issue/feedback to the list.

Of course I will forward the replies back...

At last I can say, I am happy not having any interest in adult tubes and 
therefore not being affected by this topic...

(And I told my friend, he should not be wine-ing about this topic... ^^)



Greez, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Tino Engel

Frank Staals schrieb:
Since one of my discs is filling up rather quickly (Say disc A ) while 
an other one stays quite empty (say disc B ) I would like to 
distribute the content of a directory on disc A over both A and B. I 
know I can simply move some of the files over to a sperate directory 
on disc B but is is possible to somehow merge the 2 ? So for example 
if I would do an ls in discA/dir I would also see the files that are 
stored on discB/an/other/dir ? And off-course if this is possible how 
can I acchieve something like that


Regards,

I think on debian it used to be (or it is, dunno, I use freebsd now) 
possible to mount 2 filesystems on one mount point. the OS then took 
care of assigning the space. Well, I do not want to try it on my system 
though...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anybody connected Nikon D300 to FreeBSD as umass?

2007-12-15 Thread Yuri
When I connect the USB cable 'usbdevs -v' shows the line:
port 4 addr 2: high speed, self powered, config 1, NIKON DSC D300(0x041a),
NIKON(0x04b0), rev 1.00

But dmesg only shows:
ugen0: NIKON NIKON DSC D300, class 0/0, rev 2.00/1.00, addr 2 on uhub4

Older camera (SONY 828) that I connected before showed up as umass0.

Why FreeBSD doesn't recognize it as mass storage device?

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anybody connected Nikon D300 to FreeBSD as umass?

2007-12-15 Thread Yuri
I think I figured out the reason by just looking at the kernel source.
I need to add device vendor/product ids into umass.c.

Yuri


Quoting Yuri [EMAIL PROTECTED]:

 When I connect the USB cable 'usbdevs -v' shows the line:
 port 4 addr 2: high speed, self powered, config 1, NIKON DSC D300(0x041a),
 NIKON(0x04b0), rev 1.00
 
 But dmesg only shows:
 ugen0: NIKON NIKON DSC D300, class 0/0, rev 2.00/1.00, addr 2 on uhub4
 
 Older camera (SONY 828) that I connected before showed up as umass0.
 
 Why FreeBSD doesn't recognize it as mass storage device?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: csh programing book

2007-12-15 Thread stgib
Zbigniew Komarnicki [EMAIL PROTECTED] writes:

 Is there a good programming book for csh as for example for bash (free 
 available) ?

 For bash is here:
 http://tldp.org/LDP/abs/html/

 Is such book for csh on the net (free available) ?

http://www.grymoire.com/Unix/Csh.html ?

There are some other under index.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions please for what POP or IMAP servers to use

2007-12-15 Thread Matt LaPlante
On Dec 14, 2007 11:45 PM, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Andrew Falanga
  Sent: Friday, December 14, 2007 7:35 PM
  To: Ted Mittelstaedt
  Cc: Rob; FreeBSD Questions
  Subject: Re: Suggestions please for what POP or IMAP servers to use
 
 
  On Dec 13, 2007 10:06 PM, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
The developer is very adamant about writing dovecot strictly to
the letter of the IMAP specification.  He's also discovered many
of the popular clients have bugs, and are unable to work (or at
least have issues) with an IMAP server that goes purely by the rules.
   
He refused to break his software to work around bugs on the
client side, but ultimately compromised by writing in
work-arounds that you can enable in the config file.  You can
enable them all if you like.
   
  
   Which is a really dumb attitude since the dovecot developer was
   not the author of the IMAP standard and probably was in diapers
   when the standard was first written:
 
 
  I agree with your sentiment that, who can use a server that no client can
  connect to?  However, that being said, why write a standard you don't
  intend to adhere too?  It's a crying shame that folks write standards for
  things like IMAP and e-mail client providers don't follow them.  I wished
  more people were like this fellow who writes Dovecot!  If more people were
  strict about server interfaces, then perhaps more vendors would
  write their
  code to the standard instead of those who write the standards
  enabling poor
  compliance by dumbing down their servers.
 

 It's a chicken and egg problem.

 There's nothing wrong with writing an extremely strict standard.
 The issue is the implementation.

 If your server implementation is so strict that most clients have
 difficulty, then users will find something else and your standard
 will end up on the dustbin.

 It's better to start out with a strict standard and a forgiving
 server implementation, then as it falls into mainstream use, work
 with the client developers to correct their stuff.

You've effectively described dovecot here.  Its codebase is perhaps
designed to be very strict, however the same codebase also includes
configurable 'workarounds' (enabled by default in many distros) for
clients that are not up to spec.  They're trivial to toggle and well
documented.

So, this meets both criteria that it will just work with clients
now, and the clients themselves could theoretically (good luck with
Outlook) fix their code in the future.  As far as I'm concerned, it's
a fairly ideal environment, and I'm glad the developer has gone to the
trouble to 1) stick to standards in the core code and 2) made a point
of documenting and providing workarounds for buggy clients.

I personally use dovecot (+postfix) with great success.  Dovecot is
modern, featureful, well documented, and its SASL impementation is
particularly useful with postfix.  I've had no difficulty with clients
not being able to connect.


 We don't want to end up like Microsoft - which writes very lax
 and contradictory standards, then makes up strict implementations.
 Then every new release of their stuff breaks things.


 Ted
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.503 / Virus Database: 269.17.2/1184 - Release Date: 12/14/2007
 11:29 AM

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron pile up! Lot's of cron: running job (cron)

2007-12-15 Thread Kevin Kinsey

Rudy wrote:
The thing is, sometimes it runs fine, other times it backlogs (It may 
complete at a latter date... the PID 82253 is still waiting ... Gonna 
see it it completes instead of killing all the stuck crons...).




All the crons are cleared out right now... 'ps' shows only crond.  
Related to putting the other cron job in  marks???




Well, I think I messed up in my suggestion, by omitting the
CRON at the end.  My point/thought was, put the entire command
/path/to/script.sh  ARG in quotes.

Cron is pretty archaic, and I wondered if it was trying to
run /path/to/script.sh and ARG as two jobs instead of
one, and hanging on ARG since CRON is something of a 
reserved word.  IANAE, YMMV, and all that.


Kevin Kinsey
--
I like myself, but I won't say I'm as handsome as the bull
that kidnapped Europa.
-- Marcus Tullius Cicero
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OS bug in taskq

2007-12-15 Thread Elliot Finley
Hello,

After turning tls/ssl on in Exim and installing dovecot (with pop3s
and imaps) I've been getting a panic:

kernel trap 12 with interrupts disabled

Fatel trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address = 0x104
fault code= supervisor read, page not present
instruction pointer   = 0x20:0xc06730cd
stack pointer = 0x28:0xea1ddc90
frame pointer = 0x28:0xea1ddc9c
code segment  = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
processor eflags  = resume, IOPL = 0
current process   = 5 (thread taskq)

It's always the same. Same cpuid, same pointers, etc...

I have:

dumpdev=AUTO

in /etc/rc.conf and:

options KDB
options DDB # debugging kernel

in the kernel and I'm still unable to obtain a crash dump.  Hopefully
there is enough info in this email for a hacker to point me in the
right direction to debug this.

dmesg:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p5 #1: Mon Nov 19 11:16:44 MST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DDB-SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.20-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf4a  Stepping = 10

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Logical CPUs per core: 2
real memory  = 3220963328 (3071 MB)
avail memory = 3150856192 (3004 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
amr0: LSILogic MegaRAID 1.53 mem
0xd80f-0xd80f,0xdfdc-0xdfdf irq 46 at device 14.0 on
pci2
amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4e/Di Firmware 522A, BIOS H430, 256MB RAM
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib6
em0: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0xecc0-0xecff mem 0xdfae-0xdfaf irq 64 at device 7.0 on pci6
em0: Ethernet address: 00:18:8b:34:70:50
pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5
pci7: ACPI PCI bus on pcib7
em1: Intel(R) PRO/1000 Network Connection Version - 6.2.9 port
0xdcc0-0xdcff mem 0xdf8e-0xdf8f irq 65 at device 8.0 on pci7
em1: Ethernet address: 00:18:8b:34:70:51
pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0
pci8: ACPI PCI bus on pcib8
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xbce0-0xbcff
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xbcc0-0xbcdf
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xbca0-0xbcbf
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801EB/R (ICH5) USB 2.0 controller mem

Re: OS bug in taskq

2007-12-15 Thread Jeremy Chadwick
On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote:
 I have:
 dumpdev=AUTO
 in /etc/rc.conf and:
 ... 
 in the kernel and I'm still unable to obtain a crash dump.  Hopefully
 there is enough info in this email for a hacker to point me in the
 right direction to debug this.

I can't help with the panic itself, but the reason for the inability to
obtain a crash dump is mentioned in a thread I started in November:

http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html

The explanation of the problem was documented best by Doug Barton in
this thread (over at freebsd-rc@):

http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html

Open PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=118255

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/local/rc.d/apache22 start doesn't start Apache

2007-12-15 Thread Satria Bramana
Hello Yuri, perhaps you should try this command : 
apachectl start|stop|restart|graceful
That works for me :)




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Panic on boot

2007-12-15 Thread jekillen

Hello;
I have had an AMD64 754 system that I have 64 bit SCSI card and
two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0
for about two years now. I have several things I wanted to change
and reconfigure, software wise, and hardware wise. The first was a new
case which I got today. I shut down the system, put everything in the 
new

case and booted. It booted without any complaint. I got the V6.2 install
cd and put it in. The system froze during boot process after an entry
for mpt 0. I turned off the power and tried rebooting into the install 
cd.
This time it made  it to sysinstall and went through slice and 
partitioning

and was in the process of installing the base system and it froze again,
no error messaged to console.  I rebooted and started again. The second
time I got all the way through the install process.

Now on reboot the system is panicking just after the line
mtp0 hidden device members(6)
The error is:
Fatal Trap 12 (the screen does not persist
long enough to transcribe it all.)
Three tries, the same thing in the same place in the boot
process.

does this mean the scsi drives or card is  going bad? (I nope not)
the card is LSI Logic 64 bit card (installed in a standard PCI slot but
has been working with an inch of the card hanging off the end
of the slot. I only have one internal bus  available this way, but that 
is

all I need.
Thanks in advance for info
Jeff K
(chewing my fingernails)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Panic on boot

2007-12-15 Thread jekillen


On Dec 15, 2007, at 5:21 PM, jekillen wrote:


Hello;
I have had an AMD64 754 system that I have 64 bit SCSI card and
two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0
for about two years now. I have several things I wanted to change
and reconfigure, software wise, and hardware wise. The first was a new
case which I got today. I shut down the system, put everything in the 
new
case and booted. It booted without any complaint. I got the V6.2 
install

cd and put it in. The system froze during boot process after an entry
for mpt 0. I turned off the power and tried rebooting into the install 
cd.
This time it made  it to sysinstall and went through slice and 
partitioning
and was in the process of installing the base system and it froze 
again,

no error messaged to console.  I rebooted and started again. The second
time I got all the way through the install process.

Now on reboot the system is panicking just after the line
mtp0 hidden device members(6)
The error is:
Fatal Trap 12 (the screen does not persist
long enough to transcribe it all.)
Three tries, the same thing in the same place in the boot
process.


I tried it agian and the same thing happened.
This time I got more of the error message.
'page fault while in kernel mode'



does this mean the scsi drives or card is  going bad? (I nope not)
the card is LSI Logic 64 bit card (installed in a standard PCI slot but
has been working with an inch of the card hanging off the end
of the slot. I only have one internal bus  available this way, but 
that is

all I need.
Thanks in advance for info
Jeff K
(chewing my fingernails)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distributing directory over multiple discs ?

2007-12-15 Thread Pieter de Goeje
On Saturday 15 December 2007, Tino Engel wrote:
 Frank Staals schrieb:
  Since one of my discs is filling up rather quickly (Say disc A ) while
  an other one stays quite empty (say disc B ) I would like to
  distribute the content of a directory on disc A over both A and B. I
  know I can simply move some of the files over to a sperate directory
  on disc B but is is possible to somehow merge the 2 ? So for example
  if I would do an ls in discA/dir I would also see the files that are
  stored on discB/an/other/dir ? And off-course if this is possible how
  can I acchieve something like that
 
  Regards,

 I think on debian it used to be (or it is, dunno, I use freebsd now)
 possible to mount 2 filesystems on one mount point. the OS then took
 care of assigning the space. Well, I do not want to try it on my system
 though...

On FreeBSD this is called unionfs. Take a look at mount_unionfs(8) and 
mount(8)'s union option.

HTH,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[snd_emu10k1] SB Audigy 3D sound in default ?

2007-12-15 Thread Jan Sebosik

Hi

I`m using Creative SoundBlaster Audigy 1 card within FreeBSD RELENG-7. 
When I hear to music from web radio, or watch some movie, sound from 
Audigy card sounds like 3D or something like this on headphones.


When I tried my Realtek ALC888 on-board codec with snd_hda, sound in 
headphone was allright - classical flat stereo.


Is there any way how to force audigy to play in stereo mode ? Or turn 
off those 3D effects ?


Best regards

---
Jan Sebosik, Slovakia
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OS bug in taskq

2007-12-15 Thread Elliot Finley
On Sat, 15 Dec 2007 15:58:10 -0800, you wrote:

On Sat, Dec 15, 2007 at 01:03:14PM -0700, Elliot Finley wrote:
 I have:
 dumpdev=AUTO
 in /etc/rc.conf and:
 ... 
 in the kernel and I'm still unable to obtain a crash dump.  Hopefully
 there is enough info in this email for a hacker to point me in the
 right direction to debug this.

I can't help with the panic itself, but the reason for the inability to
obtain a crash dump is mentioned in a thread I started in November:

http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038069.html

The explanation of the problem was documented best by Doug Barton in
this thread (over at freebsd-rc@):

http://lists.freebsd.org/pipermail/freebsd-rc/2007-November/001263.html

In this thread it states:

Short term fix is to disable swapping on the system long enough to get
the dump, then reboot with swapping turned back on.

how do I turn swapping off?  I don't think I can just not mount it,
because then it wouldn't exist for the dump.


Open PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=118255

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it safe yet!

2007-12-15 Thread Gary Kline
On Sat, Dec 15, 2007 at 10:26:01AM -0500, Randy Pratt wrote:
 On Fri, 14 Dec 2007 22:59:49 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
 
  People, 
  
  I'd like to do a complete upgrade to see if I can fix whatever is
  broken with evolution.
 
 Evolution was updated a few days ago but there's no guarantee that
 it will fix whatever.  You might try asking on a more specific question
 on freebsd-gnome mailing list.  The more information you supply will
 help those who can answer.
 
  I'm considerned about the MGA driver NOT having been backed up to
  what worked.  My xf86-video-mga is back-patched to v 1.4.7, IIRC
  Everything works correcctly.  But looking at the newest version of
  xf86-video-mga (and mga-new) it looks  like both ports are what
  they were.
 
 Florent Thoumie has requested feedback from those using the patch from
 ports/117726 for x11-drivers/xf86-video-mga:
 
   
 http://docs.freebsd.org/cgi/mid.cgi?a01628140712120517k667af97clddb475aca3b644d8
 
 It appears that the current version in the ports tree,
 xf86-video-mga-1.9.100, works for some using a dual-head configuration
 while some have trouble using it with a single monitor.
 
 A ports update may try to update your patched version to the latest.
 Its possible to 'hold' a port from updating.  If you're using
 portupgrade, the easiest might be to add an entry to the HOLD_PKGS
 section of /usr/local/etc/pkgtools.conf :
 
   HOLD_PKGS = [
 'bsdpan-*',
 'x11-drivers/xf86-video-mga',
   ]
 
 There are other port update tools and methods to prevent a port
 from being updated but the preceeding is my preference.
 
 It would also be up to you to determine when to remove the entry
 and update.  I'd suggest following the freebsd-x11 mailing list
 online for mga driver discussions:
 
   http://docs.freebsd.org/mail/current/freebsd-x11.html
 


Well, after upgrading the upgradable--without touching the
drivver--I finally wrote Florent Thoumie a note and explained my
quandrry.  The docs.freebsd.org URL  was no longer valid, and it's
hard to tell much more from the ports listings.  

My overnight portupgrade did not  fiix the evo problems, but tolf
me that I  was missing several ``things-Gnome'' ...  so I've been
rebuilding a slew of things.

Getting there!

gary


 Is it safe yet?  I'm presuming you mean is it safe to update ports
 at this time.  The ports tree is in thaw state after the tree was
 tagged for the 6.3 and 7.0 releases so new commits are being made.
 I'm just not sure how to answer the 'safe' part though.
 
 HTH,
 
 Randy
 -- 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.]

2007-12-15 Thread Giorgos Keramidas
On 2007-12-15 13:54, Frank Shute [EMAIL PROTECTED] wrote:
 % [EMAIL PROTECTED]:/usr/local/bin$ ls -ld mksh bash ksh
 % -rwxr-xr-x  1 root  wheel  -  684699 Dec  9 19:51 bash
 % -r-xr-xr-x  1 root  wheel  - 2390645 Aug 31 17:07 ksh
 % -r-xr-xr-x  1 root  wheel  -  236202 Dec  9 18:34 mksh
 
 Wow. My pdksh is much smaller:
 
 $ ls -ld /usr/local/bin/ksh
 -r-xr-xr-x  1 root  wheel  681584 Jan 23  2007 /usr/local/bin/ksh
 
 $ pkg_info -W /usr/local/bin/ksh
 /usr/local/bin/ksh was installed by package pdksh-5.2.14p2_2
 
 It's also statically compiled. I wonder what is bloating yours so
 much. Was it built with debugging code or something?

Yes.  All my ports are build with DEBUG_FLAGS='-g' this time, so it may
be the cause of the pdksh bloat.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2007-11-25 - 2007-12-15

2007-12-15 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

9-Dec : IMAP - getting Dovecot running
 POP implies one computer.  IMAP allows many. 
 http://freebsddiary.org/dovecot.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron pile up! Lot's of cron: running job (cron)

2007-12-15 Thread Ian Smith
On Sat, 15 Dec 2007 16:18:31 -0600 Kevin Kinsey [EMAIL PROTECTED] wrote:
  Rudy wrote:
   The thing is, sometimes it runs fine, other times it backlogs (It may 
   complete at a latter date... the PID 82253 is still waiting ... Gonna 
   see it it completes instead of killing all the stuck crons...).
  
   
   All the crons are cleared out right now... 'ps' shows only crond.  
   Related to putting the other cron job in  marks???
   
  
  Well, I think I messed up in my suggestion, by omitting the
  CRON at the end.  My point/thought was, put the entire command
  /path/to/script.sh  ARG in quotes.
  
  Cron is pretty archaic, and I wondered if it was trying to
  run /path/to/script.sh and ARG as two jobs instead of
  one, and hanging on ARG since CRON is something of a 
  reserved word.  IANAE, YMMV, and all that.

MMV :)  The following has been merrily running on three boxes, the
oldest of them for, um, 9.5 years: 

*/5 *   *   *   *   root/root/bin/ipfwsnap cron

Yes, 'cron' is a checked and logged argument to ipfwsnap.  Various other
/etc/crontab entries demonstrate no need to enclose arguments in quotes,
except where they'd be necessary anyway - as per examples in crontab(5)

Cheers, Ian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


missing shared lib...??

2007-12-15 Thread Gary Kline
Can anybody explain what causes xmms to give me this output::

Gtk-WARNING **: Failed to load module libgnomebreakpad.so: Shared object
libgnomebreakpad.so not found, required by xmms

and then to proceed to work very well?  I thought xmms was'
window-manager agnostic, yet evidently it's looking for
*something* gnome.

Anybody?  (Ideally, I'd like xmms to be able to play ANYTHING from
realauiodio to windoze to mp4  But would be happy to just get
rid of this stderr output.


tia, gentlemen,


gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]