Re: K3b dosent detect either of my burners

2008-08-30 Thread Manolis Kiagias

Warren Liddell wrote:

When the atapicam module is loaded, it treats ATAPI CDs like SCSI ones,
so you should get names like cd0 and cd1. Can you perform an ls /dev/cd*
and see if these devices exist? I haven't used a SATA recorder in my
machine yet, but since the ata driver attaches to them, I see no reason
they should not work with atapicam. Have you tried burning from the
command line? And have you followed all the post-install instructions in
k3b? (try make showinfo in the port's directory).



I got /dev/cd0  /dev/cd1

I went through most instructions in the showinfo, although 1 part had me 
confused ..


/etc/devfs.rules under '[system=10]'  --- devfs.rules dose'nt exist
  

Just create the file / section then.


burning from command line works fine but is a tiresome nuisance

  


AFAIR, k3b and most other GUI burning programs use the command line 
tools as backends. Since these are working, it is only a matter of 
settings to making k3b work.

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


Upgrade to mysql-server-5.0.67 - ERROR 2003 (HY000)

2008-08-30 Thread ervin
I upgraded to mysql-server-5.0.67 and got the error below so all
websites were in error 

ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock'

The SOLUTION was:

Datadir is deprecated place for my.cnf, please move it to /usr/local/etc


-best regards ev

FreeBSD FreeWeb.local 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make release, src.conf and WITHOUT_SENDMAIL on freebsd 7

2008-08-30 Thread Matias Surdi

Hi,

I've set up a src.conf so that when I do a make buildworld sendmail is 
not built. That works great.


The problem arises when I do a make release as, as far as I can see, 
/etc/src.conf is completly ignored. I think it's an issue with the 
chroot environment that make release uses. Wich is the correct way to 
let make release know about src.conf?



Thanks a lot.

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


Re: Ports and 64-bit Processors

2008-08-30 Thread Roland Smith
On Fri, Aug 29, 2008 at 08:48:24PM +0200, Wojciech Puchar wrote:
 
  AFAIK, it is not as much a question of ports being broken, but there are
  some ports that have 'ONLY_FOR_ARCHS=i386' set, e.g. because they are
  binary-only ports (e.g. flash plugin, nvidia driver) or because they
  contain i386 assembly code or because the code contains assumptions that
  are true on i386 but not on amd64 (like the size of a pointer being
  equal to the size of an integer).
 
 you may just copy binaries onto amd64 system and they will work in 32-bit 
 mode.

As long as you also copy the 32-bit libraries that they need!

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)


pgpzibqfhNBdc.pgp
Description: PGP signature


Re: IPFW: Is keep/check-state inherent?

2008-08-30 Thread Michael Powell
Steve Bertrand wrote:

 Hi everyone,
 
 I can't recall for certain, but not so long ago, I either read or heard
 about IPFW having implicit keep-state and check-state.
 
 Is it true that I can now omit these keywords in my rulesets?
 

Haven't used IPFW in years so I do not know about IPFW. 

However, this is the case for the lastest pf upgrade/import from OpenBSD.
For pf now I think you need no state if you want to disable, as keep state
is on by default now. 

-Mike



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


Re: defrag

2008-08-30 Thread Wojciech Puchar


... In logical sense yes, in physical sense no. They are video big files 
(from 9 to 40 GB) that i edit, cut, apply video filters, recompress and stuff


so no. but still it's funny windoze can't keep fragmentation on files that 
are processed in large chunks on system with lots of RAM.
even stupid allocation algorithm, but with delayed allocation (searching 
for first available block as big as unwritten data in cache) will suffice.

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


Re: defrag

2008-08-30 Thread Wojciech Puchar

First of all , I would be careful who I called an idiot. Secondly, you
obviously have no business knowledge.


i think i do have. and exactly described how it works.
of course if i would be microsoft's marketing guy, i won't use the word 
idiot :)


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


Re: K3b dosent detect either of my burners

2008-08-30 Thread Wojciech Puchar

can't you simply use growisofs in command line. it's so simple.


On Fri, 29 Aug 2008, Warren Liddell wrote:


I have gone through the info from various sites, handbooks, email archives and
yet still k3b doesnt detect neither 1 of my 2 SATA Burners .. i use FreeBSD
7.0-STABLE KDE4 AMD64. below r the 2 burners as they appear in dmesg.

acd0: DVDR TSSTcorp CDDVDW SH-S203D/SB00 at ata2-master SATA150
acd1: DVDR ATAPI DVD A DH20A3S/9P56 at ata3-master SATA150
___
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: Ports and 64-bit Processors

2008-08-30 Thread Wojciech Puchar

you may just copy binaries onto amd64 system and they will work in 32-bit
mode.


As long as you also copy the 32-bit libraries that they need!


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


usb disk mount troubles under freebsd4.9

2008-08-30 Thread ben
worked fine in tests on freebsd7, but the disk failed to mount on a 
production server running (ouch) 4.9 :(


Originally I simply ran newfs -L. later i tried many things like using 
another box (which actually had sysinstall unlike the 4.9) and slice and 
partition and label the disk over again. still, it would not mount on the 
4.9 box.


I began to suspect something's changed about disk labels between versions 
of freebsd, so I booted a 4.9 cd in the test server and redid the slice 
and partition and label -- but the newfs command had not returned after an 
hour, I quit.


I almost want to offer a bottle of scotch to whomever has the key to 
getting this disk mountable, is that terrible? This is what I 
had, Benjamin ::


# mount /dev/da0s4 /mnt/usbdisk/
mount: /dev/da0s4 on /mnt/usbdisk: incorrect super block


# fsck /dev/da0s1d
** /dev/da0s1d
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/da0s1d: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, size
1465144002


# fdisk /dev/da0s1
*** Working on device /dev/da0s1 ***
parameters extracted from in-core disklabel are:
cylinders=91200 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=91200 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 5 (24 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63




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


Segmentation fault: _pthread_mutex_init_calloc_cb()

2008-08-30 Thread Unga
Hi all

When my C program executing exit(EX_OK); I get following error message in ddd:
Program received signal SIGSEGV, Segmentation fault.
0x28102600 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7

I'm running FreeBSD 7.0 on i386.

I noted I got this issue after I introduced a code section with strsep. I'm not 
sure whether there is anything to do with strsep, ddd shows strsep works well.

Any idea what is wrong?

Many thanks in advance.

kind regards
Unga


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


Re: souce code for the halt program.

2008-08-30 Thread Conrad J. Sabatier
On Tue, 26 Aug 2008 12:47:53 -0700 (PDT)
Christopher Joyner [EMAIL PROTECTED] wrote:

 How can I get the source code for the /sbin/halt program?
 When I run that program, it causes my cpu fan to speed up.  I want to
 look at it, because I believe I can fix that problem.

Sure, you can look at it, but it comes at a rather high price: your
eternal soul!

  In Love in Jesus Christ, Or Lord and Savior.
 
 
 For God so loved the world, that he gave his only begotten Son, that
 whosoever believeth in him should not perish, but have everlasting
 life. --John 3:16

The halt program is the spawn of Satan!  Abandon all hope!

-- 
Let the human mind loose.  It must be loose.  It will be loose.
Superstition and dogmatism cannot confine it.
-- John Adams, U.S. President
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Come get the new THE MIXSHOW BLAST DJ'Z web Toolbar!

2008-08-30 Thread THE MIXSHOW BLAST DJ'Z
Hi there!

I just wanted to invite you to download my new web browser Toolbar, which comes 
with tons of cool features/gadgets like:

* Games 
* News 
* Weather tracking 
* Streaming radio 
* Links to our/my music 
* Links to our/my tourdates 
* Google powered search box 
* and MUCH more! 

And the best part is, whenever I send out information about upcoming events and 
news, it will automatically get sent to your Toolbar so you always know what's 
going on!

It works on Macs and PCs and you can get the Toolbar now for free here:



Thanks for supporting my music!


THE MIXSHOW BLAST DJ'Z sent this email to [EMAIL PROTECTED]
Questions? Contact [EMAIL PROTECTED] or THE MIXSHOW BLAST DJ'Z, c/o FanBridge, 
Inc. - 295 Greenwich Street, New York, New York 10007, United States


 
Privacy Policy - http://www.FanBridge.com/learn/privacy.php
Unsubscribe - 
http://www.FanBridge.com/unsubscribe/immed.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Update Your Information: 
http://www.FanBridge.com/signup/fanupdate.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Forward to a friend: 
http://mixshowblast.fanbridge.com/signup/forward.php?userid=61585sid=76458559cid=476893cc=9t3FrF471252ett9a1e6Y9bhrP

This email message is powered by FanBridge:
http://www.FanBridge.com/b.php?id=61585
Free Email and Mobile fan list management for bands.

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


Re: BIND DNS Patching on 6.1, 6.2

2008-08-30 Thread Grant Peel

Lars,

Thanks for the reply.

I have installed many hundreds of ports, but an feeling a little nervouse 
about this one.


Would you mind creating a simplified step by step for how to perform this 
one? If so, Please include the make lines ...


Thanks a billion,

-Grant

- Original Message - 
From: Lars Kristiansen [EMAIL PROTECTED]

To: gpeel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 29, 2008 8:38 PM
Subject: Re: BIND DNS Patching on 6.1, 6.2



gpeel skrev:
I was thinking I would try the BIND959.5.0 port, but it apprears that 
this version is still vulneralbe.


The port dns/bind95 is patched:
$ named -version
BIND 9.5.0-P2

Easily installed with the option WITH_REPLACE_BASE.


Regards,
 Lars
___
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]


The Mid-Atlantic Music Conference

2008-08-30 Thread THE MIXSHOW BLAST DJ'Z
Your Email client is not formated to view HTML emails. We have included the 
text email of the message. The Stage is Set! The largest and longest running 
music conference in the Mid-Atlantic States is celebrating 7 years of 
delivering the best new music in the region!

 

Since 2002, over 550 Performers and more than 300 Music Industry Professionals 
have all agreed, the Mid-Atlantic Music Conference is the number one 
destination for real  music industry networking in the market!


The Mid-Atlantic Music Conference, the premier music industry networking and 
education event in the Mid-Atlantic region will be returning to Charlotte, NC 
on November 14 – 16, 2008. The conference was established 7 years ago with one 
goal in mind, to focus the national and international music industry and 
related press on the Mid-Atlantic music market while providing a platform for 
the areas musicians and artists to gain exposure, be heard, and be educated in 
the business of music.

 

Presented by Sam Ash Music Stores, The Caldwell Group and Wholeteam 
Enterprises, the 2008 Mid-Atlantic Music Conference promises to deliver an 
event like no other in the region! This year new features include more stages, 
more contests, more swag and more once in a lifetime performance and networking 
opportunities than ever! New media partners this year include Remix Hotel a 
product of Mix/Remix/Electronic Musician magazines and Southeast Indie Report 
(SIR).

 

Events will take place in multiple venues including host venue, The Blake 
Hotel. Sam Ash Music Store is back with the “Carolina Battle of the Bands 
Stage” which will feature performances by the high school and college bands in 
the state: The Blake Hotel will be hosting multiple stages including the “7 
Best of the Best Stage” and the “Hip-Hop Café Stage”; The Midtown Sundries will 
be hosting the “Midtown Sundries Stage” at their Charlotte and Lake Norman 
locations. Finally, if that wasn’t enough, the “Beatstreet Beat Battle II 
Stage” will bring in 32 of the best new producers in the region compete for 
cash and prizes including studio time at the world famous Patchwerk Studio’s

in Atlanta! Brought to you by Non-Stop Hip Hop Live, BeatBangas and Remix 
Hotel, expect to have your music critiqued by some of today’s leading producers 
and engineers and attend interactive product demo clinics!

 

As always, event attendees can expect to meet with Music, Film and Gaming 
Industry Executives, Music Publishing Directors, Music Supervisors for Film and 
TV, AR Representatives and Entertainment Attorneys and more.  All will fly in 
from across the country bringing a vast amount of knowledge and hopefully, 
signing, placement and sponsorship opportunities with them!

 

 

Get Your Label’s Artists on Our Stage…..We are offering full timeslots and 
sponsorship opportunities

 

 

 

For more details and a complete conference schedule please see our website at 
www.midatlanticmusic.com!

 

If you are serious about your career you do not want to miss this event!

 


THE MIXSHOW BLAST DJ'Z sent this email to [EMAIL PROTECTED]
Questions? Contact [EMAIL PROTECTED] or THE MIXSHOW BLAST DJ'Z, c/o FanBridge, 
Inc. - 295 Greenwich Street, New York, New York 10007, United States


 
Privacy Policy - http://www.FanBridge.com/learn/privacy.php
Unsubscribe - 
http://www.FanBridge.com/unsubscribe/immed.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Update Your Information: 
http://www.FanBridge.com/signup/fanupdate.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Forward to a friend: 
http://mixshowblast.fanbridge.com/signup/forward.php?userid=61585sid=76458559cid=476866cc=9t3FrF471252ett9a1e6Y9bhrP

This email message is powered by FanBridge:
http://www.FanBridge.com/b.php?id=61585
Free Email and Mobile fan list management for bands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting linux-nero

2008-08-30 Thread Boris Samorodov
On Sat, 30 Aug 2008 09:11:17 +1000 Warren Liddell wrote:

 i've compiled linux-nero, but i cant seemto find to command line to start the 
 application .. am i losing the plot ?

The port is installed to /compat/linux, so the binary is
/compat/linux/usr/bin/nero.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PPTP (VPN) FREEBSD 7-p3

2008-08-30 Thread d c
I have used /usr/ports/net/pptpclient/ as long as I remember.  I just setup a 
new 7.0 Desktop and installed the port.  When I run pptp x.x.x.x I get:

/bin/ip: not found
/bin/ip: not found
Loading /lib/libalias_cuseeme.so
Loading /lib/libalias_ftp.so
Loading /lib/libalias_irc.so
Loading /lib/libalias_nbt.so
Loading /lib/libalias_pptp.so
Loading /lib/libalias_skinny.so
Loading /lib/libalias_smedia.so

I searched for /bin/ip and could not find it nor could I find ip anywhere in 
the file system.

man ip brings up info but it looks like it is not a bin but a structure used in 
c??? not too sure about that.

Has anyone ran across this?  Is there an alternate instead of ip?  Perhaps I 
can hack it into the source.

TIA

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


Re: complete listing of CPUTYPES

2008-08-30 Thread [EMAIL PROTECTED]
2008/8/30 Aryeh M. Friedman [EMAIL PROTECTED]:
 I just switched from amd64 to i386 8-current on a machine and was using
 CPUTYPE?=nocona but want to know:

 a) Is this still correct for a intel dual core e6850 (3.0GHz)
 b) Is there a file that contains all the CPUTYPES and a description of what
 processors belong to which type?

I think that's a gcc thing, more or less.
man gcc gives a pretty exhaustive list of the cpu types
(and synonyms) which you may set.


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


Re: Crypt.h

2008-08-30 Thread Kris Kennaway

Patrick Kariuki wrote:

Any ideas how I can get crypt.h from any of Freebsd 7 ports?


Can you explain what you are trying to do?

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


Re: complete listing of CPUTYPES

2008-08-30 Thread Abdullah Ibn Hamad Al-Marri
- Original Message 

 From: Aryeh M. Friedman [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Saturday, August 30, 2008 2:55:11 PM
 Subject: complete listing of CPUTYPES
 
 I just switched from amd64 to i386 8-current on a machine and was using 
 CPUTYPE?=nocona but want to know:
 
 a) Is this still correct for a intel dual core e6850 (3.0GHz)
 b) Is there a file that contains all the CPUTYPES and a description of 
 what processors belong to which type?

Since FreeBSD uses GCC check it here.

http://gentoo-wiki.com/Safe_Cflags



 Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


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


Re: complete listing of CPUTYPES

2008-08-30 Thread Manolis Kiagias

[EMAIL PROTECTED] wrote:

2008/8/30 Aryeh M. Friedman [EMAIL PROTECTED]:
  

I just switched from amd64 to i386 8-current on a machine and was using
CPUTYPE?=nocona but want to know:

a) Is this still correct for a intel dual core e6850 (3.0GHz)
b) Is there a file that contains all the CPUTYPES and a description of what
processors belong to which type?



I think that's a gcc thing, more or less.
man gcc gives a pretty exhaustive list of the cpu types
(and synonyms) which you may set.

  

You can also see a list of CPUTYPEs in the examples:

/usr/share/examples/etc/make.conf

core and core2 exist (in 7.0-RELEASE). I guess core2 is what you are 
looking for.

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


Crypt.h

2008-08-30 Thread Patrick Kariuki
Any ideas how I can get crypt.h from any of Freebsd 7 ports?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


complete listing of CPUTYPES

2008-08-30 Thread Aryeh M. Friedman
I just switched from amd64 to i386 8-current on a machine and was using 
CPUTYPE?=nocona but want to know:


a) Is this still correct for a intel dual core e6850 (3.0GHz)
b) Is there a file that contains all the CPUTYPES and a description of 
what processors belong to which type?

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


Re: BIND DNS Patching on 6.1, 6.2

2008-08-30 Thread Lars Kristiansen

Grant Peel skrev:

Lars,

Thanks for the reply.

I have installed many hundreds of ports, but an feeling a little 
nervouse about this one.


Would you mind creating a simplified step by step for how to perform 
this one? If so, Please include the make lines ...


Thanks a billion,

-Grant


iirc, all I did at the time was to read the ports Makefile and other 
relevant files, then portinstall -p and select Replace base BIND with 
this version when the options screen is displayed.

Then restart named and check that everything is working like it should.

dig @localhost +short porttest.dns-oarc.net TXT
will hopefully now give a result that includes the word GREAT.

Lars



- Original Message - From: Lars Kristiansen [EMAIL PROTECTED]
To: gpeel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 29, 2008 8:38 PM
Subject: Re: BIND DNS Patching on 6.1, 6.2



gpeel skrev:
I was thinking I would try the BIND959.5.0 port, but it apprears that 
this version is still vulneralbe.


The port dns/bind95 is patched:
$ named -version
BIND 9.5.0-P2

Easily installed with the option WITH_REPLACE_BASE.


Regards,
 Lars
___
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]


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


Re: complete listing of CPUTYPES

2008-08-30 Thread Aryeh M. Friedman

Manolis Kiagias wrote:

[EMAIL PROTECTED] wrote:

2008/8/30 Aryeh M. Friedman [EMAIL PROTECTED]:
 

I just switched from amd64 to i386 8-current on a machine and was using
CPUTYPE?=nocona but want to know:

a) Is this still correct for a intel dual core e6850 (3.0GHz)
b) Is there a file that contains all the CPUTYPES and a description 
of what

processors belong to which type?



I think that's a gcc thing, more or less.
man gcc gives a pretty exhaustive list of the cpu types
(and synonyms) which you may set.

  

You can also see a list of CPUTYPEs in the examples:

/usr/share/examples/etc/make.conf

core and core2 exist (in 7.0-RELEASE). I guess core2 is what you are 
looking for.


Every type is documented in gcc(1) except core and core2 do these 
actually do anything?

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


The New Plies Single (Download Now)

2008-08-30 Thread THE MIXSHOW BLAST DJ'Z
Your Email client is not formated to view HTML emails. We have included the 
text email of the message. DOWNLOAD THE NEW PLIES -PANTS HANG LOW

https://rcpt.yousendit.com/600953613/42fda46a5cdfd8c3855cedff1644fccb

Brought To you By The Mixshow Blast DJ'Z! Syndicated WorldWide!


THE MIXSHOW BLAST DJ'Z sent this email to [EMAIL PROTECTED]
Questions? Contact [EMAIL PROTECTED] or THE MIXSHOW BLAST DJ'Z, c/o FanBridge, 
Inc. - 295 Greenwich Street, New York, New York 10007, United States


 
Privacy Policy - http://www.FanBridge.com/learn/privacy.php
Unsubscribe - 
http://www.FanBridge.com/unsubscribe/immed.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Update Your Information: 
http://www.FanBridge.com/signup/fanupdate.php?userid=61585[EMAIL 
PROTECTED]confCode=9t3FrF471252ett9a1e6Y9bhrP
Forward to a friend: 
http://mixshowblast.fanbridge.com/signup/forward.php?userid=61585sid=76458559cid=476913cc=9t3FrF471252ett9a1e6Y9bhrP

This email message is powered by FanBridge:
http://www.FanBridge.com/b.php?id=61585
Free Email and Mobile fan list management for bands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: complete listing of CPUTYPES

2008-08-30 Thread Roland Smith
On Sat, Aug 30, 2008 at 07:55:11AM -0400, Aryeh M. Friedman wrote:
 I just switched from amd64 to i386 8-current on a machine and was using 
 CPUTYPE?=nocona but want to know:
 
 a) Is this still correct for a intel dual core e6850 (3.0GHz)

I think it should be CPUTYPE?=prescott on i386, according to
/usr/share/mk/bsd.cpu.mk. 

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)


pgpLMRcC3x6ns.pgp
Description: PGP signature


Re: complete listing of CPUTYPES

2008-08-30 Thread Aryeh M. Friedman

Roland Smith wrote:

On Sat, Aug 30, 2008 at 07:55:11AM -0400, Aryeh M. Friedman wrote:
  
I just switched from amd64 to i386 8-current on a machine and was using 
CPUTYPE?=nocona but want to know:


a) Is this still correct for a intel dual core e6850 (3.0GHz)



I think it should be CPUTYPE?=prescott on i386, according to
/usr/share/mk/bsd.cpu.mk. 
  


Thats the type that nocona seems to alias to (CFLAGS have -march=prescott)

Roland
  


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


Re: complete listing of CPUTYPES

2008-08-30 Thread Erik Trulsson
On Sat, Aug 30, 2008 at 08:47:39AM -0400, Aryeh M. Friedman wrote:
 Manolis Kiagias wrote:
  [EMAIL PROTECTED] wrote:
  2008/8/30 Aryeh M. Friedman [EMAIL PROTECTED]:
   
  I just switched from amd64 to i386 8-current on a machine and was using
  CPUTYPE?=nocona but want to know:
 
  a) Is this still correct for a intel dual core e6850 (3.0GHz)
  b) Is there a file that contains all the CPUTYPES and a description 
  of what
  processors belong to which type?
  
 
  I think that's a gcc thing, more or less.
  man gcc gives a pretty exhaustive list of the cpu types
  (and synonyms) which you may set.
 

  You can also see a list of CPUTYPEs in the examples:
 
  /usr/share/examples/etc/make.conf
 
  core and core2 exist (in 7.0-RELEASE). I guess core2 is what you are 
  looking for.
 
 Every type is documented in gcc(1) except core and core2 do these 
 actually do anything?

Yes. CPUTYPE is translated by /usr/share/mk/bsd.cpu.mk into the options
actually passed on to gcc.
(This means that the list of valid values for CPUTYPE is not identical to
the list of values that gcc accepts as arguments to -march.)
This is to handle the fact that gcc might not yet know about all the newest
CPU's.  Setting CPUTYPE to any of 'core2' or 'prescott' or 'nocona' will
actually pass on exactly the same flags to gcc.


(I suspect that /usr/share/mk/bsd.cpu.mk ought to be updated in -CURRENT and
7.x to reflect the fact that the version of gcc included there knows
about more CPU models than the version of gcc included with 6.x does.)




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jail stop extracting iso file

2008-08-30 Thread tethys ocean
Hi all

In server jail and squid is running on it  as lots of another packet. i want
to extract iso image in this server.  But i havent do it.

#mdconfig -a -t vnode -f big_bcbcv.iso
#mdconfig: open(/dev/mdctl): No such file or directory

#ls -l /dev/md*
#ls -ls /dev/mdctl
ls: /dev/mdctl: No such file or directory


i am not familiar with jail.  only i can extract my iso file. İ suppose that
jail stop me, jail blocking me for access some source


is it true?

1-how can extract this iso file
2-is jail stop me?  or any other trouble about my mdctl?

regard
-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: jail stop extracting iso file

2008-08-30 Thread Martin Tournoij
On Sun, Aug 31, 2008 at 12:08:31AM +0300, tethys ocean wrote:
 Hi all
 
 In server jail and squid is running on it  as lots of another packet. i want
 to extract iso image in this server.  But i havent do it.
 
 #mdconfig -a -t vnode -f big_bcbcv.iso
 #mdconfig: open(/dev/mdctl): No such file or directory
 
 #ls -l /dev/md*
 #ls -ls /dev/mdctl
 ls: /dev/mdctl: No such file or directory
 
 
 i am not familiar with jail.  only i can extract my iso file. İ suppose that
 jail stop me, jail blocking me for access some source
 
 
 is it true?
 
 1-how can extract this iso file
 2-is jail stop me?  or any other trouble about my mdctl?

You can use tar to extract iso images, i.e.:
# tar xvf image.iso

You can also use mdconfig, but you must add a devfs rule to add md devices,
i.e.:
add path 'md*' mode 0660

See devfs(8) and devfs.rules(5)

-- 
Martin Tournoij
[EMAIL PROTECTED]
http://www.daemonforums.org

QOTD:
Beware of a tall blond man with one black shoe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why the extra shells?

2008-08-30 Thread John Almberg

I just noticed something odd...

When I type ps, I get the following:

[on:~] ps
  PID  TT  STAT  TIME COMMAND
30350  p0  Ss 0:00.03 -bash (bash)
30761  p0  R+ 0:00.00 ps
99069  p1  Is+0:00.01 /usr/local/bin/bash
79966  p3  Is 0:00.01 /usr/local/bin/bash
27050  p4  Is+0:00.01 /usr/local/bin/bash
45342  p5  Is+0:00.01 /usr/local/bin/bash
20302  p6  Is 0:00.02 /usr/local/bin/bash
73354  p7  Is+0:00.01 /usr/local/bin/bash
94357  p8  Is+0:00.14 /usr/local/bin/bash
82034  p9  Is+0:00.02 /usr/local/bin/bash
82825  pa  Is+0:00.02 /usr/local/bin/bash
63521  pb  Is+0:00.07 /usr/local/bin/bash
75330  pc  Is+0:00.06 /usr/local/bin/bash
81504  pd  Is+0:00.01 /usr/local/bin/bash
95482  pe  Is+0:00.01 /usr/local/bin/bash
21072  pf  Is+0:00.12 /usr/local/bin/bash
96897  pg  Is+0:00.07 /usr/local/bin/bash
50522  ph  Is+0:00.02 /usr/local/bin/bash
98404  pi  Is+0:00.03 /usr/local/bin/bash

I'm wondering why I have all these shells running? Could it be  
because I close my SSH terminal without exiting, thus leaving bash in  
some sort of suspended state?


This is a pure server box, with Apache, tinydns, and Qmail being the  
main processes.


Can I just kill them off? There is no one logged into this server  
besides me, and never will be. A 'who' confirms that I am the only  
one logged in.


Any hints, much appreciated.

-- John



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


Welcome! 2 tips to get started...

2008-08-30 Thread Refriendz
* * *
To ensure that Refriendz emails reach your inbox, please add our From address 
([EMAIL PROTECTED]) to your email Address Book or Safe List.
* * *


Welcome to Refriendz debi! 


Here are two tips for you to get started:
=

1. Find Your Friendz:

*Go to Browse or Search page to find friendz on Refriendz
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=FriendzMap.ConnectedMembers
 

*Invite all your other friendz to join you!
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=MyCommunity.Invite


2. Build Your Profile:

*Go to My Profile page and upload UNLIMITED PHOTOS
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=FriendzMap.MyProfile

*Fill out your About Me and Interests
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=MyAccount.Profile  
 

(If these links don't work, please copy and paste them into your browser.)



-Your friendz at Refriendz 

 
 
 
 
 
 
* * *
Unsubscribe: If you do not wish to receive Refriendz emails, visit:
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=MyAccount.Notifications

Please do not reply directly to this email.  This mailbox is not monitored and 
you will not receive a response.

Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.


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


if_bridge problem

2008-08-30 Thread Gema niskazhu
Hi

First of all sorry for my bad english =)

I am running 7.0 STABLE

So...I've build a kernel with device if_bridge, and if_bridge and tap are
kldload'ed, tap0 bridge0 are up'ed..but...

sysctl net.link.ether.bridge_cfg=nfe0,tap0

I have error:sysctl: unknown oid 'net.link.ether.bridge_cfg'

# sysctl -a |grep bridge
net.link.bridge.ipfw: 0
net.link.bridge.log_stp: 0
net.link.bridge.pfil_local_phys: 0
net.link.bridge.pfil_member: 1
net.link.bridge.pfil_bridge: 1
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_onlyip: 1
dev.pcib.0.%desc: ACPI Host-PCI bridge
dev.pcib.1.%desc: ACPI PCI-PCI bridge
dev.pcib.2.%desc: ACPI PCI-PCI bridge
dev.pcib.3.%desc: ACPI PCI-PCI bridge
dev.pcib.4.%desc: ACPI PCI-PCI bridge
dev.pcib.5.%desc: ACPI PCI-PCI bridge
dev.isab.0.%desc: PCI-ISA bridge
dev.hostb.0.%desc: Host to PCI bridge
dev.hostb.1.%desc: Host to PCI bridge
dev.hostb.2.%desc: Host to PCI bridge
dev.hostb.3.%desc: Host to PCI bridge


I can't understand execly what i'm doing wrong, looks like something still
is'nt kldloaded, or not supported by kernel, but i cant imagine what it
is...

Any suggestions?
___
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: 2008-08-10 - 2008-08-30

2008-08-30 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:

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.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]


How to test the uptime of a webserver?

2008-08-30 Thread Redd Vinylene
Hello hello!

I got this dedicated server which is exposed to DDoS attacks quite
frequently. Say I need to host a website on it, is there any way of
telling how often it is actually online (to the rest of the world)?

Maybe make some sort of ping script from a remote server?

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


Re: jail stop extracting iso file

2008-08-30 Thread Robert Watson


On Sun, 31 Aug 2008, tethys ocean wrote:

In server jail and squid is running on it as lots of another packet. i want 
to extract iso image in this server.  But i havent do it.


You are correct that direct manipulation of md(4) devices is not allowed in 
jail.  However, you may be running on a version FreeBSD in which tar(1) can be 
used to extract iso files, which is quite a bit more convenient for many uses.


Robert N M Watson
Computer Laboratory
University of Cambridge



#mdconfig -a -t vnode -f big_bcbcv.iso
#mdconfig: open(/dev/mdctl): No such file or directory

#ls -l /dev/md*
#ls -ls /dev/mdctl
ls: /dev/mdctl: No such file or directory


i am not familiar with jail.  only i can extract my iso file. İ suppose that
jail stop me, jail blocking me for access some source


is it true?

1-how can extract this iso file
2-is jail stop me?  or any other trouble about my mdctl?

regard
--
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Mostafa sent you a message...

2008-08-30 Thread Refriendz
---
To ensure that Refriendz emails reach your inbox, please add our From address 
([EMAIL PROTECTED]) to your email Address Book or Safe List.
===


Hi debi,


Mostafa has sent you a new message on Refriendz!

* To read the message from Mostafa, click on the following link below:

http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=FriendzMail.List
(If this link doesn't work, please copy and paste it into your browser)



Thanks,

Refriendz



* * *
Unsubscribe: If you do not wish to receive Refriendz Notifications, visit:
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=dfd78600666df07dae51e3baa77910a8redPage=MyAccount.Notifications

Please do not reply directly to this email.  This mailbox is not monitored and 
you will not receive a response.

Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.


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


Formatting dates to a specific pattern

2008-08-30 Thread Ivan Rambius Ivanov
Hello,

I need to format the current date (as returned by date(1) ) to the
pattern m-d-, where m is the month in one or digits, d is the day
in one or two digits, and  is the year in four digits. The problem
for me is the day and the month, for example August should be 8, and
not 08, and 5th of September should be 9-5-2008 and not 09-05-2008. I
read the man page of date(1) but date(1) seems to always put leading
zeros.

I appreciate any help on how to format the date the way I want.

In case you wonder why I need such a format: I am using a hosting
company to run a web site. They are backing up my files in a .tar.gz
archive and I can download it. The name of the backup archive contains
the date formatted as I explained. I want to write a daily cron job
script that will download the backup for me.

Regards
Rambius

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


Refriendz ID and Password

2008-08-30 Thread Refriendz
Dear debi,

As requested, we provided your Refriendz login information below:

Your Email Is: freebsd-questions@freebsd.org
Your New Password Is: 580994

Click on the link below to login to Refriendz and change your password
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=redPage=MyAccount.EditAccount

Regards

The Refriendz Team
-
Please do not reply to this email. This mailbox is not monitored and you will
not receive a response. For assistance, log into your Refriendz account and
choose the 'Help' link located in the upper right-hand corner of every page.

Refriendz Security Notification

Refriendz will never ask you to reveal your password. There are NO EXCEPTIONS
to this policy. If anyone asks for your password by phone or by email, or on any
website other than Refriendz, refuse and immediately report it to
[EMAIL PROTECTED]

Protect yourself against fraudulent websites or emails by opening a new web
browser window and typing in http://www.refriendz.com every time you log into
your account.



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


Re: Why the extra shells?

2008-08-30 Thread John Almberg
I'm wondering why I have all these shells running? Could it be  
because I close my SSH terminal without exiting, thus leaving bash  
in some sort of suspended state?




I have tried to leave a shell suspended every which I way I can think  
of, but can't make it happen, so the problem doesn't seem to be  
caused by not typing 'exit' to leave the shell...


I killed off all those shells and don't see any ill effects, so  
apparently they weren't started by some running process that depended  
on them.


I'm sure I did something wrong to create these zombie processes...  
will keep digging to see what it might have been...


-- John

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


Re: Formatting dates to a specific pattern

2008-08-30 Thread prad
On Sun, 31 Aug 2008 02:52:07 +0300
Ivan \Rambius\ Ivanov [EMAIL PROTECTED] wrote:

 I need to format the current date (as returned by date(1) ) to the
 pattern m-d-, where m is the month in one or digits, d is the day
 in one or two digits, and  is the year in four digits. The problem
 for me is the day and the month, for example August should be 8, and
 not 08, and 5th of September should be 9-5-2008 and not 09-05-2008.

hello rambius!

you can give this script a try - it seems to do what you want and
has comments too. save it as de0.sh, chmod +x it and run it as 
./de0.sh `date +%m-%d-%Y`

(there are no doubt better ways to do what you want especially if you
use a more advanced shell like zsh, but this may be sufficient)

==
#!/bin/sh
# removes 0 from mm-dd-
# run with ./de0.sh `date +%m-%d-%Y`

#the whole date from argument $1
mmdd=$1

#get the year
=${mmdd##*-}

#get the month and day
mmdd=${mmdd%-*}

#get the day
dd=${mmdd#*-}

#get the month
mm=${mmdd%-*}

#remove 0 if only at beginning of month, day and add on the year
echo ${mm#0}-${dd#0}-$
==


-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting dates to a specific pattern

2008-08-30 Thread Paul Schmehl
--On August 31, 2008 2:52:07 AM +0300 Ivan \Rambius\ Ivanov 
[EMAIL PROTECTED] wrote:



Hello,

I need to format the current date (as returned by date(1) ) to the
pattern m-d-, where m is the month in one or digits, d is the day
in one or two digits, and  is the year in four digits. The problem
for me is the day and the month, for example August should be 8, and
not 08, and 5th of September should be 9-5-2008 and not 09-05-2008. I
read the man page of date(1) but date(1) seems to always put leading
zeros.

I appreciate any help on how to format the date the way I want.



# date +%m-%d-%Y | sed 's/^0//g'
8-30-2008

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying


Re: Formatting dates to a specific pattern

2008-08-30 Thread perryh
  I need to format the current date ... to the pattern
  m-d- ... date(1) seems to always put leading zeros.

 # date +%m-%d-%Y | sed 's/^0//g'
 8-30-2008

Not quite.  That fixes the month, but not the day:

$ echo 02-04-2008 | sed 's/^0//g'
2-04-2008

(The g does nothing, because the ^ can match only at the
beginning of a line.)  This does both:

$ echo 02-04-2008 | sed -e 's/^0//' -e 's/-0*/-/'
2-4-2008
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting dates to a specific pattern

2008-08-30 Thread Ivan Rambius Ivanov
Hello,

Thank you for all of your responses.

I received earlier a private answer from another member of list. He
told me to use  the '-' sign after '%' in the date pattern of date(1)
command:

$ date +%-m%-d%Y

This one seems to not include leading zeros and I reworked it to

$ date +%-m-%-d-%Y

to fit my needs :)


Regards
Rambius

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