USB-boot flash memory stick - Fixit mode do not start

2010-06-25 Thread Alexender
I try both 8.0-RELEASE and 8.1-RC official memstick images. I try write them to 
memory stick by that commands:
# dd if=memstick.img of=/dev/da0 bs=10240
# dd if=memstick.img of=/dev/da0 bs=512
I also try to write image from Windows by win32diskimager-RELEASE-0.2-r23-win32

I think all was writen well in all cases - in /dev appear /dev/da0a - i try to 
mount it - all was fine. I try to boot from it - all was fine too - appear 
sysinstall.

But when I try to go to Fixit mode and choose USB - sysinstall tell me that 
there is no USB-device. I try that on 3 different PC - all the same. What I did 
wrong?
___
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


mod_proxy_html upgrade/reinstall outcomments line

2010-06-25 Thread n dhert
upgrading or reinstalling port  www/mod_proxy_htmlevery time outcomments the
line
LoadModule proxy_html_module  libexec/apache22/mod_proxy_html.so
if you had it previously in your apache.conf file ...
At your next run of # apachectl graceful, httpd gives an error and doesn't
start ...
I've noticed this a few times..
Can't this be fixed ?

BTW how to know the e-mail address of the maintainer of a freebsd port?
___
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: Icelandic FTP server doesn't work? I don't think it's been up for a while?

2010-06-25 Thread Craig Butler


On Thu, 2010-06-24 at 23:28 +, Svavar Ingi Hermannsson wrote:
 Hi,
 
 I just wanted to notify you that the Icelandic ftp mirror site doesn't seam
 to be working.
 
 ftp.is.freebsd.org
 
 Best regards,
 Svavar Ingi
 

Seems to be working ok from here -

[cr...@x60:~] $ ftp ftp.is.freebsd.org
Trying 130.208.16.26...
Connected to ftp1.is.freebsd.org.
220-

Velkomin(n) á FTP þjón Rannsóknar og Háskólanets Íslands (RHnet)

Þeir sem hafa aðgang að rsync ættu að prófa rsync ftp.rhnet.is::


Eftirfarandi söfn eru á þessum þjóni:

Nafn:Slóð:
Upprunastaður:



FreeBSD  /pub/FreeBSD
(ftp.freebsd.org)
NetBSD   /pub/NetBSD
(ftp.netbsd.org)
OpenBSD  /pub/OpenBSD
(ftp.openbsd.org)
Fedora   /pub/fedora
(fedora.redhat.com)
Debian   /pub/debian
(ftp.debian.org)
Debian-non-US/pub/debian-non-US
(ftp.debian.org)
SuSE /pub/suse
(ftp.suse.com)
Linux-Kernel /pub/kernel.org
(ftp.kernel.org)
GNU  /pub/gnu  (ftp.gnu.org)
PHP  /pub/php  (www.php.net)
XFree86  /pub/XFree86
(ftp.xfree.org)
X11  /pub/X11  (ftp.x.org)
X11-Contrib  /pub/X11-Contrib  (ftp.x.org)
KDE  /pub/kde  (ftp.kde.org)
CPAN /pub/CPAN
(ftp.funet.fi)
perl /pub/CPAN/src
(ftp.funet.fi)
OpenSSH  /pub/OpenSSH
(ftp.openbsd.org)
SSH  /pub/ssh  (ftp.ssh.com)
rsync/pub/rsync
(rsync.samba.org)
Samba/pub/samba
(rsync.samba.org)
proFTPD  /pub/proftpd
(ftp.proftpd.org)
Bind /pub/bind (ftp.isc.org)
Bind-9   /pub/bind9(ftp.isc.org)
DHCP /pub/dhcp (ftp.isc.org)
INN  /pub/inn  (ftp.isc.org)
Sendmail /pub/sendmail
(ftp.sendmail.org)
Squid/pub/squid
(ftp.squid-cache.org)
PostgreSQL   /pub/postgresql
(ftp.postgresql.org)
MySQL/pub/mysql(mysql.com)
OpenOffice   /pub/OpenOffice
(openoffice.org)
RFC  /pub/rfc  (ftp.isi.edu)
Internet-Drafts  /pub/internet-drafts  (ftp.isi.edu)
noattach /pub/noattach




Tenging þín hefur verið skráð frá 93.141.187.81.in-addr.arpa

Heildarfjöldi notenda er 1

Allar aðgerðir eru skráðar.

ftp...@rhnet.is

220 ftp.rhnet.is FTP server (tnftpd 20061204) ready.
Name (ftp.is.freebsd.org:craig): anonymous 
331 Guest login ok, type your name as password.
Password:
230-
Please read the file README
  it was last modified on Sun May 13 23:22:44 2007 - 1138 days ago
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp cd pub/FreeBSD
250-
Please read the file README.TXT
  it was last modified on Sat Jun 19 01:54:21 2004 - 2195 days ago
250 CWD command successful.
ftp ls
229 Entering Extended Passive Mode (|||61008|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 50
-rw-rw-r--   1 cvsupin  cvsupin   262 Jan 28 05:41 .message
-r--rw-r--   1 cvsupin  cvsupin 0 Nov  7  1996 .notar
drwxrwxr-x   6 cvsupin  cvsupin   512 May 11 14:57 CERT
lrwxrwxr-x   1 cvsupin  cvsupin15 Oct 26  2006 CTM -
development/CTM
lrwxrwxr-x   1 cvsupin  cvsupin17 Oct 26  2006 CVSup -
development/CVSup
drwxrwxr-x   4 cvsupin  cvsupin   512 Oct 26  2006 ERRATA
lrwxrwxr-x   1 cvsupin  cvsupin17 Oct 26  2006 FreeBSD-current
- branches/-current
lrwxrwxr-x   1 cvsupin  cvsupin19 Oct 26  2006 FreeBSD-stable -
branches/4.0-stable
lrwxrwxr-x   1 cvsupin  cvsupin25 Oct 26  2006 ISO-IMAGES-alpha
- releases/alpha/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin25 Oct 26  2006 ISO-IMAGES-amd64
- releases/amd64/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin24 Oct 26  2006 ISO-IMAGES-i386
- releases/i386/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin24 Oct 26  2006 ISO-IMAGES-ia64
- releases/ia64/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin24 Oct 26  2006 ISO-IMAGES-pc98
- releases/pc98/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin27 Jan 20  2007
ISO-IMAGES-powerpc - releases/powerpc/ISO-IMAGES
lrwxrwxr-x   1 cvsupin  cvsupin27 Oct 26  2006
ISO-IMAGES-sparc64 - 

Re : mod_proxy_html upgrade/reinstall outcomments line

2010-06-25 Thread Alexandre L.
I don't know how to fix this, but you can find information about the maintainer 
on this website : http://www.freshports.org/www/mod_proxy_html/

Have you updated your tree port ?
The port has been updated : 03 June 2010

--- En date de : Ven 25.6.10, n dhert ndhert...@gmail.com a écrit :

 De: n dhert ndhert...@gmail.com
 Objet: mod_proxy_html upgrade/reinstall outcomments line
 À: freebsd-questions@freebsd.org
 Date: Vendredi 25 juin 2010, 8h29
 upgrading or reinstalling port 
 www/mod_proxy_htmlevery time outcomments the
 line
 LoadModule proxy_html_module 
 libexec/apache22/mod_proxy_html.so
 if you had it previously in your apache.conf file ...
 At your next run of # apachectl graceful, httpd gives an
 error and doesn't
 start ...
 I've noticed this a few times..
 Can't this be fixed ?
 
 BTW how to know the e-mail address of the maintainer of a
 freebsd port?
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 




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


Re: Is it appropriate to mount /var and /usr on ext2fs partition ?

2010-06-25 Thread andrew clarke
On Thu 2010-06-24 18:36:13 UTC-0700, zaxis (z_a...@163.com) wrote:

 /dev/ad4s8 on /media/G (ext2fs, local)
 
 The /dev/ad4s8 is an empty partition. Now i want to move /var and /usr to
 it. Do i need to format /dev/ad4s8 to UFS ?

I would reformat it as UFS unless you plan on dual-booting Linux on
the same machine.

You can use the -U argument with the newfs command to enable
softupdates.  AFAIK the default is off.  Alternatively you can use
tunefs to do this after you run newfs, but before you mount 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: Is it appropriate to mount /var and /usr on ext2fs partition ?

2010-06-25 Thread RW
On Thu, 24 Jun 2010 18:36:13 -0700 (PDT)
zaxis z_a...@163.com wrote:


 The /dev/ad4s8 is an empty partition. Now i want to move /var
 and /usr to it. Do i need to format /dev/ad4s8 to UFS ?

I would, there are FreeBSD specific file flags, that I don't think are
supported by  ext2fs. UFS with soft-updates is going to be faster than
synchronously mounted ext2. And it's very easy to do.
___
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: Icelandic FTP server doesn't work? I don't think it's been up for a while?

2010-06-25 Thread andrew clarke
On Thu 2010-06-24 23:28:27 UTC+, Svavar Ingi Hermannsson 
(sva...@security.is) wrote:

 I just wanted to notify you that the Icelandic ftp mirror site doesn't seam
 to be working.
 
 ftp.is.freebsd.org

21:48 ozzmo...@blizzard [~]host ftp.is.freebsd.org
ftp.is.freebsd.org is an alias for ftp1.is.freebsd.org.
ftp1.is.freebsd.org has address 130.208.16.26
ftp1.is.freebsd.org has address 130.208.16.31
ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::31
ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::26
ftp1.is.freebsd.org mail is handled by 10 durinn.rhnet.is.

I get Connection refused with 130.208.16.31.

130.208.16.26 is OK.
___
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: USB-boot flash memory stick - Fixit mode do not start

2010-06-25 Thread Ian Smith
In freebsd-questions Digest, Vol 316, Issue 8, Message: 18
On Fri, 25 Jun 2010 12:12:28 +0400 Alexender ag...@yandex.ru wrote:

  I try both 8.0-RELEASE and 8.1-RC official memstick images. I try 
  write them to memory stick by that commands:
  # dd if=memstick.img of=/dev/da0 bs=10240
  # dd if=memstick.img of=/dev/da0 bs=512
  I also try to write image from Windows by 
  win32diskimager-RELEASE-0.2-r23-win32
  
  I think all was writen well in all cases - in /dev appear /dev/da0a - 
  i try to mount it - all was fine. I try to boot from it - all was 
  fine too - appear sysinstall.

Looks good.

  But when I try to go to Fixit mode and choose USB - sysinstall tell 
  me that there is no USB-device. I try that on 3 different PC - all 
  the same. What I did wrong?

This is a known bug that only happens with some, mostly older systems, 
and/or with some (slower?) types of USB stick, including mine.  I don't 
know if this just-informational patch might make it into 8.1-RELEASE ..

--- media.c.1.128   Mon Dec 14 20:04:38 2009
+++ media.c Mon Dec 14 20:50:14 2009
@@ -241,7 +241,8 @@
cnt = deviceCount(devs);

if (!cnt) {
-   msgConfirm(No USB devices found!);
+   msgConfirm(No USB devices found!\n
+  (try Options menu: Rescan devices));
return DITEM_FAILURE | DITEM_CONTINUE;
}
else if (cnt  1) {

.. ie running 'Options menu: Rescan devices' fixes this issue for some.

cheers, Ian
___
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


partition / is full

2010-06-25 Thread Paweł Grzyb
My dear friends,

Tool df showed me that the partition / has 102% of the occupied space
(102% Capacity). Added a fileŁ rc.conf -- clear_tmp_enable=YES but
nothing that could not (although it has been emptied tmp). Personally, I
think that you need to remove the old kernel (I did freebsd-update fetch and
install), but I do not know how. Perhaps the reason is quite different - I'm
just guessing. Do you know how to fix it?

Sorry for my english
Best regards,
Pawel
___
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: partition / is full

2010-06-25 Thread Jerry McAllister
On Fri, Jun 25, 2010 at 04:19:56PM +0200, Pawe? Grzyb wrote:

 My dear friends,
 
 Tool df showed me that the partition / has 102% of the occupied space
 (102% Capacity). Added a file? rc.conf -- clear_tmp_enable=YES but
 nothing that could not (although it has been emptied tmp). Personally, I
 think that you need to remove the old kernel (I did freebsd-update fetch and
 install), but I do not know how. Perhaps the reason is quite different - I'm
 just guessing. Do you know how to fix it?

That could fill up your root (/) partition.  Getting rid of obsolete kernels
could help.

Another thing is to think out what you have in root.   Does it include
such things as /var, /tmp, /home, /usr (including /usr/local maybe) 
You may wany to move something like /home or /var or /usr/local to
another large partition and make a syn link.

Another option is just making separate partitions for /tmp, /home
/var and /usr or at least /usr/local.   Of course, that would
require taking the system down, backing up all affected partitions
with dump(8), revising the partition structure, editing /etc/fstab and 
then restoring everything with restore(8).

jerry


 
 Sorry for my english
 Best regards,
 Pawel
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: partition / is full

2010-06-25 Thread Robert Huff

Jerry McAllister writes:

   Tool df showed me that the partition / has 102% of the occupied space
   (102% Capacity). Added a file? rc.conf -- clear_tmp_enable=YES but
   nothing that could not (although it has been emptied tmp). Personally, I
   think that you need to remove the old kernel (I did freebsd-update fetch 
 and
   install), but I do not know how. Perhaps the reason is quite different - 
 I'm
   just guessing. Do you know how to fix it?
  
  That could fill up your root (/) partition.  Getting rid of obsolete kernels
  could help.

Try:

du -x / | sort -nr | head -n 30 

and then figure out whether each of those directories is the
correct size.


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: since when did alt-shift-tab quit working?

2010-06-25 Thread Steve Franks
 Or maybe change settings in your (unspecified) window manager.  It's really
 hard to tell without any detail about the problem or the environment.

Yes, forgot that was an aspect of the wm, not xorg.  It's xfwm4, and
now it only alt-tabs thru windows in one direction, which is alot of
fun when you have 20 windows open.

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


ports issue with gegl

2010-06-25 Thread Chip Camden
Greetings.

uname -a:

FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE 
#1: Thu Jun 24 13:38:09 PDT 2010 
sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC  amd64

As of a portsnap fetch update this morning, the gegl port will not build

===  gegl-0.1.2_1 is marked as broken: ffmpeg support is currently
broken.

gimp depends on gegl, so the latest update to gimp will not build.

Known problem?

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
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: ports issue with gegl

2010-06-25 Thread Ivan Klymenko
В Fri, 25 Jun 2010 10:06:21 -0700
Chip Camden sterl...@camdensoftware.com пишет:

 Greetings.
 
 uname -a:
 
 FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD
 8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010
 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC
 amd64
 
 As of a portsnap fetch update this morning, the gegl port will not
 build
 
 ===  gegl-0.1.2_1 is marked as broken: ffmpeg support is currently
 broken.
 
 gimp depends on gegl, so the latest update to gimp will not build.
 
 Known problem?
 

reconfigure graphics/gegl whit out ffmpeg support

cd /user/ports/graphics/gegl  make WITHOUT_FFMPEG=yes config
___
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: since when did alt-shift-tab quit working?

2010-06-25 Thread Warren Block

On Fri, 25 Jun 2010, Steve Franks wrote:


Or maybe change settings in your (unspecified) window manager.  It's really
hard to tell without any detail about the problem or the environment.


Yes, forgot that was an aspect of the wm, not xorg.  It's xfwm4, and
now it only alt-tabs thru windows in one direction, which is alot of
fun when you have 20 windows open.


Check Settings/Window Manager/Keyboard for

Cycle windows AltTab
Cycle windows (Reverse)   AltShiftTab

Might also need to check Settings/Keyboard for that combination.___
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: since when did alt-shift-tab quit working?

2010-06-25 Thread Michelle Konzack
Hello Steve Franks,

Am 2010-06-24 14:17:08, hacktest Du folgendes herunter:
 I thought it was the kludged state of my desktop, but the 8-release
 server I just brought up fresh yesterday is doing it too: alt-tab
 works, alt-shift-tab does not.  For those of us who are not into
 gnome/kde/cutesy menus  panels, this is a major PITA.  No doubt it
 came in from linux-land with the latest xorg revision, and I'm going
 to have to add another esoteric knob to my xorg.conf...

I use FVWM under FreeBSD and Debian GNU/Linux and have  the  problem  on
both installations since I switched from XFree86 to X.org (first version
was working and then it was gone).

Exactly, both alt-tab AND alt-shift-tab do not more work.  For me it
is not ony a PITA it is a nighmare exspecialy if you use 6 Desktop pages
or more

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.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: since when did alt-shift-tab quit working?

2010-06-25 Thread Michelle Konzack
Hello Steve Franks,

Am 2010-06-25 09:11:39, hacktest Du folgendes herunter:
  Or maybe change settings in your (unspecified) window manager.  It's really
  hard to tell without any detail about the problem or the environment.
 Yes, forgot that was an aspect of the wm, not xorg.  It's xfwm4, and
 now it only alt-tabs thru windows in one direction, which is alot of
 fun when you have 20 windows open.

Me currently 48... :-/

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

http://www.itsystems.tamay-dogan.net/  http://www.flexray4linux.org/
http://www.debian.tamay-dogan.net/ http://www.can4linux.org/

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.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: check for numeric content in a shell script (FreeBSD sh)

2010-06-25 Thread parv
in message 20100624192256.gf...@libertas.local.camdensoftware.com,
wrote Chip Camden thusly...

 On Jun 24 08:39, Parv wrote:
  in message 20100624183407.ga49...@holstein.holy.cow,
  wrote p...@pair.com thusly...
  
   #  Matches a number, either positive (without '+' sign) or
   #  negative, which is either a whole number; or a real number
   #  ending with decimal point, or a real number with or without
   #  leading digits before the decimal point.
  . ^
  . ^  plural
   ^
   -?
   (
 [0-9]  [.]? [0-9]*
   |
 [0-9]? [.]  [0-9]+
  .^
  .^  oops
 
  Please change the immediately above regex portion to ...
 
[0-9]* [.]  [0-9]+
...
 We still need to be able to handle numbers without a decimal.

First alternative above handles that ...

  [0-9]   #  Match 1 digit,
  [.]?#  followed by an optional decimal,
  [0-9]*  #  followed by any number of optional digits.


 Try this:

   [0-9]*\.?[0-9]+

If it is really /^[0-9]*\.?[0-9]+$/, then it does not match
a negative number or a number ending with a decimal (e.g. 8.).


 The question mark says 0 or 1
 
   )
   $

Annotated regex now is ...

  ^   #  Anchor at the beginning of string;
  -?  #  followed by an optional -ve sign;
  (   #  start grouping|alternatives;
[0-9]   #  match 1 digit,
[.]?#  followed by an optional decimal,
[0-9]*  #  followed by any number of optional digits;
 |  #  OR,
[0-9]*  #  match any number of optional digits,
[.] #  followed by 1 decimal point,
[0-9]+  #  followed by 1 or more digits;
  )   #  end of grouping;
  $   #  anchor at the end of the string.


  - parv

-- 

___
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


Running an Old Kernel

2010-06-25 Thread Martin McCormick
I have been attempting to shut off that last login message
that occurs on some FreeBSD systems every time one runs a sudo
command. I decided to bring back the last kernel which was the
original Generic kernel from the FreeBSD distribution disk for
FreeBSD8.0 to see if the problem went away. If it did, that
would indicate that the problem starts after one applies the
latest patches and rebuilds the kernel.

The handbook covers building a new kernel very well, but
I appear to be missing something. In /boot is loader and
loader.old. Isn't loader.old the image of the previous kernel? I
copied loader to loader.new since it should be the current image
and then copied loader.old to loader and rebooted.

The last login message was still there and dmesg still
showed the production date of the new kernel. In other words,
nothing changed.

Shouldn't I have seen the production date of the
original kernel? Thank you.

I have actually built many kernels and most were simply
a rebuild of the generic kernel after applying patches so I
don't roll back a kernel very often. Fortunately, both the old
and new kernels work. I think the last login nuisance started
right after installing the patched kernel.

Martin McCormick
___
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


free software for FreeBSD (JStrack and GTbrew2)

2010-06-25 Thread Jim Graham
Question:  I'd like to have these two applications that I wrote, and
continue to build and maintain as/when needed, and would like to have
them listed (no real need for a port, except, perhaps, to make sure
Tcl/Tk 8.4.x, various Tcl/Tk libs, and the netpbm/pbmplus/whatever
utils are available) as freeware that's available for FreeBSD.

JStrack is a hurricane tracking system:
see http://www.jstrack.org/jstrack/

GTbrew2 is a brewer's recipe formulation program:
see http://www.jstrack.org/brewing/

Any suggestions?

Thanks,
   --jim

-- 
73 DE N5IAL (/4)| Peter da Silva:  No, try rm -rf /
spooky1...@gmail.com| Dave Aronson:As your life flashes before
 Running FreeBSD 7.0  |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.56226N 86.52008W  |

___
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: ports issue with gegl

2010-06-25 Thread Chip Camden
On Jun 25 20:21, Ivan Klymenko wrote:
 ?? Fri, 25 Jun 2010 10:06:21 -0700
 Chip Camden sterl...@camdensoftware.com ??:
 
  Greetings.
  
  uname -a:
  
  FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD
  8.1-PRERELEASE #1: Thu Jun 24 13:38:09 PDT 2010
  sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC
  amd64
  
  As of a portsnap fetch update this morning, the gegl port will not
  build
  
  ===  gegl-0.1.2_1 is marked as broken: ffmpeg support is currently
  broken.
  
  gimp depends on gegl, so the latest update to gimp will not build.
  
  Known problem?
  
 
 reconfigure graphics/gegl whit out ffmpeg support
 
 cd /user/ports/graphics/gegl  make WITHOUT_FFMPEG=yes config
 ___
 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

Cheers!  I should have figured that was an option, so sorry about the
noise.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
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: Running an Old Kernel

2010-06-25 Thread b. f.
Martin McCormick wrote:
 I have been attempting to shut off that last login message
 that occurs on some FreeBSD systems every time one runs a sudo
 command. I decided to bring back the last kernel which was the
 original Generic kernel from the FreeBSD distribution disk for
 FreeBSD8.0 to see if the problem went away. If it did, that
 would indicate that the problem starts after one applies the
 latest patches and rebuilds the kernel.

 The handbook covers building a new kernel very well, but
 I appear to be missing something. In /boot is loader and
 loader.old. Isn't loader.old the image of the previous kernel? I
 copied loader to loader.new since it should be the current image
 and then copied loader.old to loader and rebooted.


I don't think you've read the sections regarding kernel very
carefully.  The loader is built and installed as part of buildworld
and installworld, not buildkernel or installkernel.  It is not the
kernel, which is usually installed in /boot/kernel, with the old
kernel usually being moved to /boot/kernel.old when a new kernel is
installed.

 The last login message was still there and dmesg still
 showed the production date of the new kernel. In other words,
 nothing changed.

 Shouldn't I have seen the production date of the
 original kernel? Thank you.

 I have actually built many kernels and most were simply
 a rebuild of the generic kernel after applying patches so I
 don't roll back a kernel very often. Fortunately, both the old
 and new kernels work. I think the last login nuisance started
 right after installing the patched kernel.


Why on earth are you tinkering with your kernels in order to change
sudo output?  You should instead be editing configuration files
associated with sudo and related base system utilities, or patching
sudo.

b.
___
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: Running an Old Kernel

2010-06-25 Thread b. f.
On 6/25/10, b. f. bf1...@googlemail.com wrote:
 Martin McCormick wrote:
 I have been attempting to shut off that last login message
 that occurs on some FreeBSD systems every time one runs a sudo
 command. I decided to bring back the last kernel which was the
...
 Why on earth are you tinkering with your kernels in order to change
 sudo output?  You should instead be editing configuration files
 associated with sudo and related base system utilities, or patching
 sudo.

I should be more specific: I think you should be able to disable the
message by commenting out the lines that refer to pam_lastlog.so in
/etc/pam.d/system, /etc/pam.d/xdm, and /etc/pam.d/telnetd.  But in
doing so, you will lose some of the security and accounting benefits
of last(1) and friends.  Is it really worth it, just to silence some
console messages? In any event, don't tinker with your kernel because
of this.  It won't help, and it may break your system.

b.
___
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


Is it safe to modify Wine's makefile to allow it to install on amd64?

2010-06-25 Thread Caleb Stein
Wine is configured to install only on i386, and I use amd64.  I don't want  
to reinstall with i386, so I would like to know if it is safe to modify  
Wine's makefile and install it on amd64.

___
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: Running an Old Kernel

2010-06-25 Thread Martin McCormick
b. f. writes:
 Why on earth are you tinkering with your kernels in order to change
 sudo output?  You should instead be editing configuration files
 associated with sudo and related base system utilities, or patching
 sudo.

Absolutely. I couldn't remember if this happened with the
original kernel so I wanted to put it back long enough to see if
the problem went away. If it is gone under the original kernel
and here with the patched kernel, this might tell me something
useful. I have a 8.0 system here that has a patched kernel that
is a little older and it does not exhibit that behavior. Sudo is
configured exactly the same way on both systems.

The environment looks the same. This really makes no sense so
there is something different on the system with the problem and
I just have not found it yet.

Martin
___
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: Running an Old Kernel

2010-06-25 Thread b. f.
On 6/25/10, b. f. bf1...@googlemail.com wrote:
 On 6/25/10, b. f. bf1...@googlemail.com wrote:
 Martin McCormick wrote:
 I have been attempting to shut off that last login message
 that occurs on some FreeBSD systems every time one runs a sudo
 command. I decided to bring back the last kernel which was the
 ...
 Why on earth are you tinkering with your kernels in order to change
 sudo output?  You should instead be editing configuration files
 associated with sudo and related base system utilities, or patching
 sudo.

 I should be more specific: I think you should be able to disable the
 message by commenting out the lines that refer to pam_lastlog.so in
 /etc/pam.d/system, /etc/pam.d/xdm, and /etc/pam.d/telnetd.  But in
 doing so, you will lose some of the security and accounting benefits
 of last(1) and friends.  Is it really worth it, just to silence some
 console messages? In any event, don't tinker with your kernel because
 of this.  It won't help, and it may break your system.

Looking at Matthew Seaman's earlier response, I find that his
suggestion to make  changes to ${PREFIX}/etc/pam.d/sudo is more
appropriate than my guess above.  But you probably need to look into
the details, because judging from the comments in the
${PREFIX}/etc/pam.d/sudo.default file, there seems to be some
subtleties involving sudo and pam_lastlog.  Look at the pertinent
manpages, the sudo docs, and:

http://www.freebsd.org/doc/en/articles/pam/index.html

b.
___
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


size suffix w x

2010-06-25 Thread Fbsd1

I have a script I am hacking. The code has a check for a size suffix.
I know what m|mb|g|gb|k|kb| and the upper case version of the same 
letters mean. But the code also has an w|x size options.

Is this a valid size type and what does it mean?
___
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: sharing code between the various *BSDs

2010-06-25 Thread ill...@gmail.com
On 21 June 2010 18:13, Chris Rees utis...@gmail.com wrote:


 On 21 Jun 2010 23:12, Alexander Best alexbes...@uni-muenster.de wrote:

 hi there,

 i can't remember where i read this the other day, but i found this to
 be a great idea. basically the idea was to have one code pool which
 all the *bsd flavours share and also to which every *bsd committer has
 access and can make changes. especially code in /bin, /sbin, usr/bin,
 /usr/sbin or /usr/share (probably other places too) would benefit from
 this a lot. right now most of the work that gets done in one of these
 places by lets say dragonfly won't make it into freebsd or netbsd for
 a long time. or what's even worse: sometimes people document problems
 or bugs which have already been fixed in some other *bsd. if somebody
 fixes the problem that's just wasted time because it's been done
 beforehand.

 would this be even possible or not at all?

 Politics...


There are architectural issues.

You would think that a Ford 302 V8 would be a fairly
simple swap into an old 305 engined 1979 Impala,
given that they use the same fuel, the same lubricant,
the same coolant, the same basic voltage, are within
1% displacement, and turn at similar RPMs, but the
case is simply not so.

-- 
--
___
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: size suffix w x

2010-06-25 Thread ill...@gmail.com
On 25 June 2010 22:08, Fbsd1 fb...@a1poweruser.com wrote:
 I have a script I am hacking. The code has a check for a size suffix.
 I know what m|mb|g|gb|k|kb| and the upper case version of the same letters
 mean. But the code also has an w|x size options.
 Is this a valid size type and what does it mean?

Is it at all explicated within the script, or is this a silly
game?  I would guess w=word and x=no-affix, so
either bit or byte.  That is if I were scribing the accursed
thing.

Or w=wotan meaning the greatest possible in every
dimension, and x=meaning pornography.

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