Re: why no Oracle on FreeBSD ?

2009-09-27 Thread Chris Rees
2009/9/25 Saifi Khan :
> On Thu, 24 Sep 2009, Julian H. Stacey wrote:
>
>> > > > i noticed that there is no Oracle available for FreeBSD
>> > > > http://www.oracle.com/technology/software/products/database/index.html
>> > > >
>> > > > What could be the reason for that ?
>> > >
>> > > Best ask direct of commercial application vendor Oracle.
>> > > IE wave money under Oracle's nose & ask to purchase what you want.
>> > >
>> > > If Oracle think there's enough profit in it, there's many BSD
>> > > consultants eg http://berklix.com/consultants/ willing to work.
>> > >
>> > > Cheers,
>> > > Julian
>> > > --
>> >
>> > i was wondering if there is any technical reason behind this ?
>>
>> Most unlikely. Ask Oracle & tell advocacy@ what you find out.
>> I'd bet perceived market share & demand as ever, ie Money.
>>
>
> Hi Julian:
>
> Here is the response on the Oracle forum thread to my posting,
>
>
> """
> FreeBSD is a kernel not used in any extant operating system with
> the sole exception being Apple's Mac OSX so you are heading,
> full speed ahead, toward disappointment.

And this is where he gives away that he knows nothing about it. In the
first sentence, he shows that he thinks that Mac OS X uses the FreeBSD
kernel. (Which is wrong, in case you were wondering
http://en.wikipedia.org/wiki/Darwin_(operating_system) )

> FreeBSD handles many
> things very differently from the UNIX System 5 standard so you
> can not just kludge your way into this.

What?

>
> What fascinates me about your request is why you care. FreeBSD
> is going nowhere at a staggeringly fast pace. And to the same
> place as went Oracle Database version 8.0. Obscurity.

What?

>
> Install Oracle's Enterprise Linux and you will have a real
> operating system in less time than you've spent monitoring this
> thead. And as an additional value it will support the Oracle
> technology stack while you are still young enough to use it.
> """
>
> and
> """
> IF you can match up the system calls, then you can 'make it
> work'.
> """
>
> The relevant  links are
> 1.  http://forums.oracle.com/forums/thread.jspa?threadID=952076&tstart=0
> 2.  http://forums.oracle.com/forums/thread.jspa?threadID=952076&tstart=0
>
> The response seems to suggest that there is some feature used by
> Oracle which is expected from a UNIX Sys 5 std and perhaps
> FreeBSD does not support/have the syscall.
>
> Given the response, What is your analysis of the situation ?
>
>
> thanks
> Saifi.
>


This guy replying to your post was a troll, basically. Ignore him, and
concentrate on real Oracle employees for sources. Of course, if this
was an Oracle employee, then you really should think about using some
different software

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: test please ignore

2009-10-14 Thread Chris Rees
2009/10/14 henter2009 :
>
> test please ignore
> --
> View this message in context: 
> http://www.nabble.com/test-please-ignore-tp25889720p25889720.html
> Sent from the freebsd-questions mailing list archive at Nabble.com.
>


This is not the list to test on.

http://lists.freebsd.org/mailman/listinfo/freebsd-test

Please use it.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: "All in one" printer?

2009-10-16 Thread Chris Rees
2009/10/16 Samuel Martín Moro :
> HP printers are quite good indeed, and they've got cheap stuff.
> They provide softs & drivers for linux/unix users.
> Setup is easy.
> "What else?"
>
>
> Samuel Martín Moro
> CamTrace
> {EPITECH.} tek4
>

Please don't top post, it makes the conversation difficult to follow.


What about Epson printers? They're usually fine with Gutenprint &
CUPS, and my CX3650's scanner works fine. This is a change in 7.2 (I
think) when suddenly they both started being detected, rather than
only one (scanner or printer) being allowed to work at a time.

Chris
___
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: Disk vs Disc (was: WD External Disc Drive)

2009-10-26 Thread Chris Rees
2009/10/26 Bob Johnson :
> On 10/26/09, Polytropon  wrote:
>> On Mon, 26 Oct 2009 12:07:45 +, Arthur Chance 
>> wrote:
>>> The distinction you make is one
>>> I've not come across before, and I've worked with computers for nearly
>>> 40 years.
>>
>
> Same here. I've always been told they were completely interchangeable.
>
> I do recall that when floppy drives appeared for personal computers in
> the late '70s and early '80s, there was some argument about the
> correct spelling. The claim was that "disc" was correct, and that some
> ignorant hobbyist at a new computer company had misspelled it as
> "disk" and it stuck. But IBM used the "disk" spelling long before
> that, so I don't think that was really what happened.
>
> Looking in the OED, I find that "disk" was the original spelling, and
> in the late 1800s "disc" became popular, then around 1950 "disk"
> started regaining popularity, largely in the computer industry.
>
>
> - Bob
>
> --
> -- Bob Johnson
>   fbsdli...@gmail.com

I have always considered hard disk, floppy diskette, and compact disc
(and digital versatile disc) to be the terminology; but then again the
official British spelling is disc, whereas AFAICR the US spelling is
disk.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Disk vs Disc (was: WD External Disc Drive)

2009-10-27 Thread Chris Rees
2009/10/26 Matthew Seaman :
> Chris Rees wrote:
>
>> I have always considered hard disk, floppy diskette, and compact disc
>> (and digital versatile disc) to be the terminology; but then again the
>> official British spelling is disc, whereas AFAICR the US spelling is
>> disk.
>
> The official British spelling is whichever one of disc or disk takes your
> fancy at the time.  Very few people actually care one way or the other.
>

On 26 Oct 2009 20:41, Matthew Seaman  wrote:
> Chris Rees wrote:
>
>
>
>
>> I have always considered hard disk, floppy diskette, and compact disc
>>
>> (and digital versatile disc) to be the terminology; but then again the
>>
>> official British spelling is disc, whereas AFAICR the US spelling is
>>
>> disk.
>
>
>
>
> The official British spelling is whichever one of disc or disk takes your
>
> fancy at the time.  Very few people actually care one way or the other.
>
>

I was just reading what I saw in Wiktionary in the entry for disc:

"disk mainly US, or for magnetic media"

So disk refers to hard drive and floppy (magnetic), but vinyl
(grooves) and CDs / DVDs (optical) are discs.

>From the entry for Disk:

In International English, disk is the correct spelling for magnetic
disks. If the medium is optical, the variant disc is usually
preferred, although computing is a peculiar field for the term. For
instance hard disk and other disk drives are always thusly spelled,
yet so are terms like compact discs. Thus, if referring to a physical
drive or older media (3" or 5.25" diskettes) the k is used, but c is
used for newer (optical based) media.

Depends how authoritative you consider wiktionary, really.

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Why is sendmail is part of the system and not a package?

2009-10-27 Thread Chris Rees
2009/10/27 Lars Eighner :
> On Tue, 27 Oct 2009, Jonathan McKeown wrote:
>
>> On Monday 26 October 2009 21:29:27 Yuri wrote:
>>>
>>> It's in /usr/sbin/sendmail.
>>>
>>> How many people actually use it? Very few.
>>> Why isn't it moved to ports?
>>
>> What is this anti-sendmail obsession people have?
>
> The configuration is opaque, to put it kindly.
>

Are you talking about sendmail.m4 or sendmail.cf? Because we stopped
editing sendmail.cf by hand years ago. I really don't think
configuring it properly is difficult.

As you kindly cut out of Jonathan's post when you replied to it,

"Almost everyone I've ever spoken to about why they dislike sendmail trots out
a bunch of cliches based on sendmail 8.8. People, we're up to sendmail 8.14
now. Get over it!" [1]

Chris

[1] http://www.mail-archive.com/freebsd-questions@freebsd.org/msg223489.html

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Why is sendmail is part of the system and not a package?

2009-10-27 Thread Chris Rees
2009/10/27 Lars Eighner :
> On Tue, 27 Oct 2009, Chris Rees wrote:
>
>> 2009/10/27 Lars Eighner :
>>>
>>> On Tue, 27 Oct 2009, Jonathan McKeown wrote:
>>>
>>>> On Monday 26 October 2009 21:29:27 Yuri wrote:
>>>>>
>>>>> It's in /usr/sbin/sendmail.
>>>>>
>>>>> How many people actually use it? Very few.
>>>>> Why isn't it moved to ports?
>>>>
>>>> What is this anti-sendmail obsession people have?
>>>
>>> The configuration is opaque, to put it kindly.
>>>
>>
>> Are you talking about sendmail.m4 or sendmail.cf? Because we stopped
>> editing sendmail.cf by hand years ago.
>
> Then what are "we" using to edit sendmail.cf?  The man page doesn't seem to
> be et up with verbosity on the subject.
>
> Let me guess: a gnome GUI?
>

You guessed wrong.

We use m4, which cuts out most of the crap that you had to write into
sendmail.cf. You write sendmail.mc and compile it. Sendmail.mc on my
system is less than 50 lines long, including comments.

http://www.sendmail.org/m4/intro.html

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Why is sendmail is part of the system and not a package?

2009-10-31 Thread Chris Rees
2009/10/29 Lars Eighner :
> On Thu, 29 Oct 2009, Ruben de Groot wrote:
>
>> sendmail is NOT a legacy application. It's actively being developed
>> ON FreeBSD. Actually, the maintainer(s) are doing a great job
>
> Bullshit.
>
> Why does sendmail call up the internet during boot?  If it needs to know who
> it is, why can't it look in hosts?  Since it cannot be trusted to send mail,
> what does it need to know from the internet?  It has been horribly broken
> for the 15 years or so that I have run FBSD, and this m4 stuff is a pile of
> crap.  There is no documentation whatsoever.  Unless you buy a book from
> O'Reilly and line the pockets of the "maintainer(s)."  Why can't it be a
> option to configure the system without it?  Not any money in that, is there?
>

What's wrong with 'this m4 stuff'?

The documentation can be found in one of many of these links:

http://www.google.com/search?q=sendmail.mc

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: please help me make sense of top's CPU output

2009-11-03 Thread Chris Rees
2009/11/3 Chris Stankevitz :
> Dan Nelson wrote:
>>
>> Junior Hacker Project: add an instantaneous-CPU value (calculated by
>> subtracting successive ki_runtime values) to the list of things top
>> calculates and toggle it and weighted-CPU when pressing C.  The toggling
>> code is already there; it just toggles between two different weighted-cpu
>> values at the moment.
>>
>
> Makes sense, thank you.  If I want to hack a port program, I go to the
> "work" directory, edit the source, and rebuild.  How do I hack a non-port
> program like top?
>
> Chris

Look in the Makefile for /usr/src/usr.bin/top, and you'll see the
source is in /usr/src/contrib/top

Hack away!

Chris
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: cannot boot freebsd

2009-11-11 Thread Chris Rees
2009/11/11 Jerry McAllister  wrote:


> That is because MS-Win doesn't play
> very well if installed later and/or in a different slice.

Windows behaves fine for me whatever slice it's installed in.

What IS important is that it's installed first, as you said before.
You can choose it to go wherever you like.

By the way, please don't say win to refer to Windows; as RMS has said many times

'[If] you call Windows a "win", you are praising it.  If you don't
want to praise Windows, it's better not to call it a "win".' [1]


If you must abbreviate it, try w32, or leave off MS- and just write Windows

[1] 
http://markmail.org/message/ncyme3djyujyre6u#query:stallman%20windows%20don%27t%20call%20win32+page:1+mid:ncyme3djyujyre6u+state:results

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: GPUs on FBSD?

2009-11-20 Thread Chris Rees
2009/11/20 Anton Shterenlikht :
> Anybody knows of working GPUs under FBSD on any arch?
> Any advice?
>

Your question could have been phrased better but that's the teacher in me!

Nvidia GPUs work on IA-32 machines, but AFAIK there's still no amd64 driver.

Food for thought: http://forums.freebsd.org/showthread.php?t=398

My advice: Get an Nvidia card, and install FreeBSD/i386.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: GPUs on FBSD?

2009-11-20 Thread Chris Rees
2009/11/20 Robert Huff :
>
> Chris Rees writes:
>>  > Anybody knows of working GPUs under FBSD on any arch?
>>  > Any advice?
>>
>>  Nvidia GPUs work on IA-32 machines, but AFAIK there's still no
>>  amd64 driver.
>
>        There was a posting within the last 24 hours on one of the
> FreeBSD mailing lists that pointed to a post indicating nVidia is
> working on native {i386, amd64} drivers.  The post was dated
> November 5th; it provided no expected release date beyond "when it's
> done".  My personal _estimation_ would be "when 8.0 ships, or soon
> after".
>
>
>                                Robert Huff

Now that could be very interesting

Thanks for your alertness! I couldn't find the post you mentioned,
though there is
http://www.nvnews.net/vbulletin/showpost.php?p=2078598&postcount=415

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: GPUs on FBSD?

2009-11-21 Thread Chris Rees
2009/11/20 Gary Kline :
> On Fri, Nov 20, 2009 at 02:56:03PM +0000, Chris Rees wrote:
>> 2009/11/20 Anton Shterenlikht :
>> > Anybody knows of working GPUs under FBSD on any arch?
>> > Any advice?
>> >
>>
>> Your question could have been phrased better but that's the teacher in 
>> me!
>>
>> Nvidia GPUs work on IA-32 machines, but AFAIK there's still no amd64 driver.
>>
>> Food for thought: http://forums.freebsd.org/showthread.php?t=398
>>
>> My advice: Get an Nvidia card, and install FreeBSD/i386.
>>
>> Chris
>>
>
>        hi chris,
>
>        i'm taking this offlist so i don't show my totsl ignorance about
>        running X11 and my new intel duo with i386 and 7.2.
>
>        do i need a nvidia card to run X?  the graphics show the dell
>        circle just before the boot sequence but that may be built into the
>        bios.
>
>        (another reason for keeping this offlist is that my network pal says
>        to NOT run X on my server ... simply for the sake of simplicity.  i
>        will not use the computer for anything except CTWM  for root, which
>        will make doing sysadmin tasks vastly easier.  nutshell: if i do need
>        a video card for my dell inspiron 530, what kind?
>
>        tia,
>
>        gary
>

Nah, X will run on more or less anything; it's not particularly heavy.
If you just want to do the odd thing, you might be better off with
/u/p/net/vnc and display it on another machine.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Dump

2009-11-21 Thread Chris Rees
2009/11/21 Bernt Hansson :
> Matthew Seaman skrev:
>>
>> Bernt Hansson wrote:
>>>
>>> Hello list.
>>>
>>> I've been testing backups with dump, works well BUT
>>> -L does not work. For example
>>>
>>> dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d
>>
>> I believe that you need to tell dump the mount point of the file system in
>> order for it to create a snapshot, rather than the device file for the
>> partition. (ie. snapshotting only makes sense on a mounted read-write
>> filesystem).
>>
>> Also, if you're dumping a snapshotted FS to a local file, then bump up the
>> cachesize to improve performance a lot.  Add '-C 32' to your command-line.
>
> Ok. I've tested this
> dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2
> /usr/home
>
> The error is
> mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument
> dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or directory
>

Just for sanity... Are you root?

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: there will be a log in apache access.log?

2009-11-22 Thread Chris Rees
2009/11/22 Roman Neuhauser :
> On Sun, Nov 22, 2009 at 05:54:12AM -0800, IT?? wrote:
>> l install apache and svn ..  and now l input  http://192.168.0.100/svn/
>> in website .  and it let me to input user name and password .  and l
>> did not konw the username and password  ,so l quit ,close the
>> website ... l know if l input the right ID and password there will be
>> a record in apache access.log 
>>  does anyone know if  there will be a record in apache access.log to
>> record this action if l input wrong ID or  quit beside input
>> nothing ???
>
> just try it, what's the problem?

Is it _your_ box you're getting into, or are you worried someone else
is going to see _their_ access log?


Sorry to sound paranoid, but your question is seriously strange.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: [Ticket#2009112310000017] Scilab and FreeBSD

2009-11-23 Thread Chris Rees
2009/11/23 Scilab Support :
> Hello Wiebe,
>
> Chris Rees is currently working on the upgrade of the Scilab package.
> We are in touch with him to maintain and improve the package.
>
> Regards,
> Sylvestre
>
> 23.11.2009 11:13 - W.R. Pestman a écrit:
> Dear Scilab team,
> I don't know whether this is the right language to contact you.
> Maybe I should contact you in French?
> Anyway, I am writing you because I am worrying about the
> Scilab port in FreeBSD. Do you know that they consider to
> remove this port? I think this would be a highly undesirable
> act. The point seems to be that they can't find someone to
> maintain the port. Do you see a solution in this?
> Best regards,
> Wiebe Pestman
>

I'm still working on this port, and as a trainee teacher I'm
struggling to get it finished. Another fellow (on this list) has
offered some patches for the current version, and hopefully they'll be
committed soon.

When I've finished the new version, I'll submit it as a separate port.

Sorry for the delay...

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: ifconfig - GUI interface available?

2009-11-29 Thread Chris Rees
2009/11/26 Jerry :
> 



> Even OSX greatly simplifies the
> installation process.


What are you trying to say about OS X?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: which is the better way...?

2009-12-02 Thread Chris Rees
2009/12/2  :
> On Wed, Dec 2, 2009 at 8:15 AM, Gary Kline  wrote:
>
>>
>> it is better to pkg_delete OOo-301 or just cd to /usr/local and
>> /bin/rm -r it from there?  this time i'll make a not of the preferred
>> way of cleaning out the old stuff..
>>
>>
> Early this century I started removing packages by issuing "sudo rm -rf /".
> Works like a charm. Have been doing it ever since. Also, it keeps the
> package database ( /var/db/pkg ) and the optional port directories in sync.
> Very nifty.

[ch...@amnesiac]~% sudo rm -rf /
rm: "/" may not be removed
[ch...@amnesiac]~%

Gutted! I'll have to use pkg_*...

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: what ports to open in firewall for bitlord

2009-12-08 Thread Chris Rees
2009/12/8 Fbsd1 :
> Want to allow the bitlord progran to pass through my firewall. Does anyone
> know the port numbers it uses for out bound and inbound packets.
>
> Thanks


Why don't you look on the BitLord website? Or better, use a more
neighbourly program, that isn't adware such as Transmission or
μTorrent?


This link might help:

http://www.google.com/search?rlz=1C1GGLS_en-GBGB344GB344&sourceid=chrome&ie=UTF-8&q=bitlord+ports

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: startx and xinit under FreeBSD8

2009-12-12 Thread Chris Rees
2009/12/12 andrew clarke :
> On Fri 2009-12-11 16:57:06 UTC-0500, Steven Friedrich (free...@insightbb.com) 
> wrote:
>
>> I installed FreeBSD to another partition, so I could check it out.
>> I selected All sources and binaries and KDE4.
>>
>> When I tried startx, it complained that it didn't exist.
>> It's just a script, so I copied it over from my 7.2p5 partition.
>> Now it complains that xinit doesn't exist.
>>
>> Why didn't these two get laid-down by the install??
>
> The dependencies for KDE4 probably don't go as far as requiring an X
> server.  Some machines run headless and so don't require an X server
> (what startx runs) to be installed to run X apps.

Yeah, it'd be a _royal_ pain if KDE and GNOME depended on an X server.
It'd defeat the whole client-server relationship!

Sorry it's confusing for people who wouldn't use it like that

Also, please don't use XFree86! It's defunct, and has an obnoxious licence.

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Root exploit for FreeBSD

2009-12-12 Thread Chris Rees
2009/12/11 Kevin Oberman :
>> Date: Fri, 11 Dec 2009 08:49:42 +
>> From: Matthew Seaman 
>> Sender: owner-freebsd-curr...@freebsd.org
>>
>> Polytropon wrote:
>> > On Fri, 11 Dec 2009 01:42:36 -0600, "Sam Fourman Jr."  
>> > wrote:
>> >> I have tried looking around and OpenBSD appears to be the undisputed
>> >> #1 track record in terms of security and FreeBSD is #2 (I didn't count
>> >> dragonflyBSD)
>> >
>> > VMS would be #0, then? :-)
>>
>> I dunno.  Haven't seen many MS-DOS exploits recently either...
>
> I'm sure that there are systems happily running MSDOS, but I bet not too
> many are networked.
>
> I know that there is still a lot of VMS out there and that it has
> remained a cash cow for HP. It lived on primarily in the banking and
> financial sector, though I guess the use is dropping since HP recently
> outsourced support to India and that lead to the retirement of the last
> of the original VMS developers, Andy Goldstein.
>
> Also, the the end of TECO as Andy was responsible for porting it to
> almost every platform DEC ever sold (RSX, RSTS, VMS, TOPS-10 and
> TOPS-20, RT-11, and several others) and continued to maintain it until
> his retirement. (Most readers of this list probably don't even remember
> TECO.)
>
> And, for may years VMS had major network security problems, especially
> the infamous default DECNET/DECNET account that lead to may compromises
> and the second major network worm, Worms Against Nuclear Killers. (I
> won't use the acronym so as not to offend our British readers. I found
> out about that when the BBC interviewed me about it and I was told that
> I could not utter the word.)


Wow, I didn't know your side don't use that word... I thought I knew
about all the stereotypically British ones!

Do you guys have any curses or insults at all???

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: Why is this Symbol in the front of your website. A humble request.

2012-02-23 Thread Chris Rees
2012/2/23 Al Hadith :
> Hi,
>
> My name is Roy Mathew. I am new to FreeBSD. I had a look at the history of
> your operating system.
>
> I suggest to everyone of you that you recommend to change/replace the
> unnecessary picture right in front of your website.
>
> The reasons you all have done hard-work and has become successful (big
> companies use ur project). In that case, this is not the symbol that you
> should be keeping in front of your website neither anywhere in your website.
>
> Please visit http://www.freebsd.org/ to see the logo and the picture, both
> of which I strongly recommend that you remove.
>
> I am highly educated and qualified.
>
> From
> Roy Mathew

Your signature doesn't match your gecos.

Chris
___
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: USA Anonymous CVS

2012-03-17 Thread Chris Rees
On 17 March 2012 18:05, Lowell Gilbert
 wrote:
> Dan Lists  writes:
>
>>>From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
>>
>> USA: anon...@anoncvs1.freebsd.org:/home/ncvs (For ssh, use ssh version
>> 2 and no password is required.)
>>
>> SSH2 HostKey: 2048 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62
>> /etc/ssh/ssh_host_dsa_key.pub
>>
>> Example A-2. Using SSH to Check Out the src/ Tree:
>>
>> % cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
>> The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't
>> be established.
>> DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62.
>> Are you sure you want to continue connecting (yes/no)? yes
>> Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
>> known hosts.
>>
>> However, when I acutally issue the command, I get a different DSA key,
>> different IP, and it will not accept any password:
>>
>> # cvs -d anon...@anoncvs1.freebsd.org:/home/ncvs co src
>> The authenticity of host 'anoncvs1.freebsd.org (96.47.72.116)' can't
>> be established.
>> DSA key fingerprint is 4e:bc:48:a0:e1:27:0a:62:c8:da:45:31:d4:ad:b2:00.
>> Are you sure you want to continue connecting (yes/no)? yes
>> Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of
>> known hosts.
>> Password:
>> Password:
>> Password:
>> Permission denied (publickey,keyboard-interactive).
>> cvs [checkout aborted]: end of file from server (consult above messages if 
>> any)
>>
>> Is the USA anonymous CVS server no longer operational?
>
> It's just ssh that isn't working as documented; this may have changed
> for security reasons.
> The pserver method still works, so things aren't completely offline.
> If ssh access is no longer supported, it should be removed from the
> Handbook, but I can't be sure there isn't just a configuration change
> needed.

Also, ssh access works just fine for the other servers.

Chris
___
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: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken!

2012-05-05 Thread Chris Rees
On 5 May 2012 16:55, "Hartmann, O."  wrote:
>
> Hello lists.
>
> Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes
> massive trouble with net/openldap24-server (SASL enabled, so it is
> openldap-sasl-server).
>
> Last time OpenLDAP worked was Thursday last week, when obviously a
> problematic update to the OS was made - it is a wild guess, since I did
> daily make world and by the end of the day after the last make world
> things went worse. I'm sorry having no SVN release tag handy.
>
> Well, here some facts.
>
> 1) The update of net/openldap24-server has been performed earlier this
> month and has been run successfully (2.4.31).
>
> 2) It doesn't matter whether OpenLDAP is compiled with CLANG 3.1 or
> legacy GCC 4.2.1, compiled with CLANG, slapd(8C)  coredumps immediately,
> compiled with gcc, it starts, but when slapd(8C) gets accessed, it
> coredumps immediately. A simple "id ohartmann" is enough.
>
> 3) I recompiled OpenLDAP 2.4.31 client and server and it requisites via
> "portmaster -f net/openldap24-server|client. No effect/success. I also
> recompiled every port used with OpenLDAP: security/pam_ldap and
> net/nss_ldap.
>
> 4) OpenLDAP server uses DB5 based backend.
>
> 5) The very same configuration (copied slap.d folder's .ldif files)
> works fine on FreeBSD 9.0-STABLE/amd64, even compiled with CLANG. This
> makes me believe this is a FreeBSD 10.0-CURRENT specific bug.
>
> 6) Following is a truss output of the following comand issued:
>
> /usr/local/libexec/slapd -d32 -o ldap -g ldap -F
> /usr/local/etc/openldap/slapd.d :
>
> [...]
> connect(8,{ AF_INET 192.168.0.128:389 },16)  ERR#61 'Connection
refused'
> shutdown(8,SHUT_RDWR)ERR#54 'Connection
> reset by pee
> r'
> close(8) = 0 (0x0)
> clock_gettime(13,{1336231852.0 })= 0 (0x0)
> getpid() = 84297 (0x14949)
> sendto(3,"<163>May  5 17:30:52 slapd[84297"...,97,0x0,NULL,0x0) = 97
(0x61)
>
sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGF
>
PE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|
>
SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH
> |SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
> sigaction(SIGPIPE,{ SIG_DFL SA_RESTART ss_t },{ SIG_IGN 0x0 ss_t }) = 0
> (0x0)
> sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
> 4fa547ac ldif_read_file: checksum error on
> "/usr/local/etc/openldap/slapd.d//cn=
> config/olcDatabase={1}hdb.ldif"
> 4fa547ac hdb_db_open: database "dc=walstatt,dc=dyndns,dc=org": unclean
> shutdown
> detected; attempting recovery.
> 4fa547ad hdb_db_open: database "cn=accesslog": unclean shutdown
> detected; attemp
> ting recovery.
> 4fa547ad slapd starting
> SIGNAL 11 (SIGSEGV)
> setgroups(0x1,0x802c7a000,0x802c7c001,0x,0x0,0x0) ERR#4
> 'Interrupted sys
> tem call'
> process exit, rval = 0
>
>
> 7) Desperately, I tried nearly every variation of the configurable
> "overlays", even those my configuration doesn't use. But this seems
> nonesense since OpenLDAP worked before.
>
> I'm floating like a dead man in the water and I was wondering if someone
> else doesn't face this problem. FreeBSD is said to be run in large
> environments, so at least one should have OpenLDAP as user backend
> running ...
>
> I need some help in this case.
>

Why are you running -CURRENT in production?

Chris
___
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: (Free 7.2) "su -l" didnt prompt password.Is it possbile?

2012-06-18 Thread Chris Rees
On Jun 18, 2012 2:34 PM, "Budnev Vladimir" 
wrote:
>
> Hello everyone.
> We'v noticed some strange situation. After reboot and login, system
didn't ask for password while switchig with su -l.
>
> In details, there was root login from terminal and one from ssh.
> Terminal login was directly as root(via ip-console), and ssh was as user,
then attemped switch to root with su -l, and there were NO password
request,no prompt at all. At the same time login from terminal accepted
root password, first I thought that means password wasn't empty, but system
even with empty password should print "Password:"..and that time it was
nothing absolultey.

Empty password behaviour is for no prompt, so what you are seeing is
normal, and means that you did indeed have a empty password.

Check your logs very carefully over the past few weeks to make sure no one
has broken in.

Chris
___
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: Backtick versus $()

2011-02-25 Thread Chris Rees
On 25 February 2011 02:55, Andres Perera  wrote:
> On Thu, Feb 24, 2011 at 9:54 PM, Chad Perrin  wrote:
>> I apologize for the grammaticall brokenness of that sentence.
>
> maybe you should spam the hundreds of subscribers of this mailing list with
> this line:
>
> s,grammaticall,grammatical,
>
>
> jesus christ, you're such a friggen noob

Before you criticise another's spelling/grammar, perhaps you could
learn where the Shift key is.

Also, some quotes from you (spot the errors):

and tcsh is inferior to mksh in everyway

tcsh built uppon that code instead of basing [wow, two in the same sentence]

been consistently argueing against the opposite

a buncha noobs is what you both are [paira perhaps]


Normally it's considered bad form to attack another's use of language,
but you lose that protection if you pick on others' QWC.

By the way, there's no such thing as a 'strawman', and perhaps you
could read about ad hominem arguments [1] and how you automatically
lose any arguments where you bring them in.

Chris

[1] http://en.wikipedia.org/wiki/Ad_hominem
___
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: Kernel compiling problems

2011-02-25 Thread Chris Rees
On 25 February 2011 11:21, Redd Vinylene  wrote:
> Heya!
>
> Anybody know what's wrong with this?
>
> ## make buildworld buildkernel KERNCONF=NINJA
>

Have you successfully used NINJA to build a kernel before?

Chris
___
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: Backtick versus $()

2011-02-25 Thread Chris Rees
On 25 February 2011 18:02, Andres Perera  wrote:
> On Fri, Feb 25, 2011 at 8:24 AM, Chris Rees  wrote:
>> On 25 February 2011 02:55, Andres Perera  wrote:
>>> On Thu, Feb 24, 2011 at 9:54 PM, Chad Perrin  wrote:
>>>> I apologize for the grammaticall brokenness of that sentence.
>>>
>>> maybe you should spam the hundreds of subscribers of this mailing list with
>>> this line:
>>>
>>> s,grammaticall,grammatical,
>>>
>>>
>>> jesus christ, you're such a friggen noob
>>
>> Before you criticise another's spelling/grammar, perhaps you could
>> learn where the Shift key is.
>
> wow another misguided puppy
>
> the keyword here is spamming
>
> now think about the differences between a crappy php web forum and a
> mailing list
>
> and how grammar/spelling can be inferred
>
>
>
> it's not just that you're noobs, but completely ungrateful ones
>

Ungrateful? I really don't follow.

Chris
___
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 CTM still being offered for updating FreeBSD?

2011-02-26 Thread Chris Rees
On 25 February 2011 23:42, Eitan Adler  wrote:
>   Why is this question even arising? Surely there are other
>> problems that need to be addressed much more than the ending of a
>> useful, uncontroversial service by someone who is not familiar with
>> it?
>
> I am familiar with it. I just happened to notice that the mailing
> lists were empty and therefore I thought the service is not being
> used.
>
> In case you did not notice the subject was in question form and points
> #2 and #3 both had an "if not " clause. Your initial response answered
> my question: that CTM is still being offered. and therefore the rest
> of the email is moot.
>

The mailing list archives are empty because there's little sense in
preserving the deltas as mail archives when they're available via FTP.

However... the other CTM lists are active.

Try it!

Chris
___
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: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
On 28 Feb 2011 12:12, "Robert Bonomi"  wrote:
>
> > From owner-freebsd-questi...@freebsd.org  Mon Feb 28 05:31:46 2011
> > Date: Mon, 28 Feb 2011 14:24:30 +0300
> > From: c0re 
> > To: Matthew Seaman 
> > Cc: FreeBSD 
> > Subject: Re: / file system is full, but du does not show that it's full
> >
> > 2011/1/6 Matthew Seaman :
> > > On 06/01/2011 11:26, c0re wrote:
> > >> # df -h
> > >> Filesystem SizeUsed   Avail Capacity  Mounted on
> > >> /dev/ad0s1a496M466M   -9.8M   102%/
> > >>
> > >> So it's full.
> > >>
> > >> But by du it's not appeared to be full
> > >>
> > >>
> > >> # du -hxd 1 /
> > >> 2.0K/.snap
> > >> 512B/dev
> > >> 2.0K/tmp
> > >> 2.0K/usr
> > >> 2.0K/var
> > >> 1.9M/etc
> > >> 2.0K/cdrom
> > >> 2.0K/dist
> > >> 1.0M/bin
> > >> 131M/boot
> > >>  10M/lib
> > >> 356K/libexec
> > >> 2.0K/media
> > >>  12K/mnt
> > >> 2.0K/proc
> > >> 7.2M/rescue
> > >> 296K/root
> > >> 4.7M/sbin
> > >> 4.0K/lost+found
> > >> 157M/
> > >>
> > >
> > > Do you have partitions mounted at /tmp, /usr, /var etc?  Does the
> > > output of your du command change if you unmount those partitions? (It
> > > might be an idea to boot into a livefs CD or DVD given that du(1)
lives
> > > in /usr/bin, so a bit tricky to unmount /usr and then run du)
> > >
> > > My guess is that you've at one time created files beneath what is
> > > usually a mount point.  Mounting the partition over them makes those
> > > files inaccessible, but they still take up space on the drive.
> > >
> > >Cheers,
> > >
> > >Matthew
> > >
> > > --
> > > Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
> > >  Flat 3
> > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID:
> > > matt...@infracaninophile.co.uk   Kent, CT11 9PW
> > >
> > >
> >
> > At last I found time to check it. Booted with frenzy life cd, mounted
> > only / partition and saw trash
> > /var/spool. Deleted it and it solved problem.
> > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root
> > and just delete those files without need of livecd. It works in Linux.
> > But in freebsd i got
> >
> > # mount /dev/da0s1a /mnt/root/
> > mount: /dev/da0s1a : Operation not permitted
> >
> > So only single user mode or live cd could solve it.
>
> *NOT* true.  Stopping any daemons that were using "/var/spooll", and then
> umount(1)-ing it would have done the trick from multi-user mode.
>
>
>

umount /   ???

Chris
___
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: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
On 28 February 2011 12:26, Chris Rees  wrote:
>> >
>> > # mount /dev/da0s1a /mnt/root/
>> > mount: /dev/da0s1a : Operation not permitted
>> >
>> > So only single user mode or live cd could solve it.
>>
>> *NOT* true.  Stopping any daemons that were using "/var/spooll", and then
>> umount(1)-ing it would have done the trick from multi-user mode.
>
> umount /   ???
>
> Chris

Er, caffeine overdose.

I guess you meant:

# umount /var



I'll hide now.

Chris
___
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: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
On 28 February 2011 12:29, Damien Fleuriot  wrote:
> On 2/28/11 1:27 PM, Chris Rees wrote:
>> On 28 February 2011 12:26, Chris Rees  wrote:
>>>>>
>>>>> # mount /dev/da0s1a /mnt/root/
>>>>> mount: /dev/da0s1a : Operation not permitted
>>>>>
>>>>> So only single user mode or live cd could solve it.
>>>>
>>>> *NOT* true.  Stopping any daemons that were using "/var/spooll", and then
>>>> umount(1)-ing it would have done the trick from multi-user mode.
>>>
>>> umount /   ???
>>>
>>> Chris
>>
>> Er, caffeine overdose.
>>
>> I guess you meant:
>>
>> # umount /var
> Slice a (as in: da0s1a) is very likely his /
>
> /var is usually slice f

Yeah, that's why I sent the first email.

However, it's now clear to me that c0re wanted to remount his / on a
different partition to delete a file hidden by /var.

Hence the suggestion from Robert to umount /var.

Chris
___
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: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Chris Rees
On 12 March 2011 08:34, Bruce Cran  wrote:
> On Fri, 11 Mar 2011 15:29:44 -0500
> Brian Waters  wrote:
>
>> It seems to me that under /dev, you can have the following
>> sound-related device files:
>>
>> dspX
>> dspX.Y
>> (among others)
>>
>> I'm having some trouble getting my sound to work (Dell Inspiron
>> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
>> manpages for snd and snd_hda (which is the appropriate driver), and
>> increased the verbosity of the drivers and read the kernel log and
>> /dev/sndstat, but I still can't quite wrap my head around everything.
>
> If the driver appears to load, then /dev/dsp should be created
> automatically when something tries to access it (e.g. cat /dev/random
>> /dev/dsp).
>

An important point that I had trouble with recently; the dsp* files don't
appear until they are read/written to!

Chris
___
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: Tinderbox question...

2011-04-02 Thread Chris Rees
On 2 April 2011 09:26, Ivan Klymenko  wrote:
> Hi, folks!
>
> For example, i built in my tinderbox port audio/clementine-player...
> It depends on qt4 -* ports...
>
> For example, the file qt-everywhere-opensource-src-4.7.2.tar.gz must be
> downloaded (if not mistaken) for more than five times! Why?
>
> File size ~208655K => 5*208655K=1043275K !!!
>
> When building ports with these files it is extremely slow and not
> optimal.
>
> Is it possible to transfer the function cleandistfiles to another
> place, that would be cleaning distfiles directory took place after the
> construction of the entire queue, or do it manually?
>
> What do you think about this?
>
> Thank you!
> Best regards, Ivan.
>

Distfiles aren't cached by default.

http://tinderbox.marcuscom.com/README/README.html#AEN587

Chris
___
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: Port dependencies

2011-04-02 Thread Chris Rees
On 2 April 2011 00:58, Chris Telting  wrote:
>
> Just in a thoughtful mood and thought I'd to the question to the cloud.
>
> One of my biggest gripes with the ports system is dependency hell.

I think you've misunderstood the term dependency hell [1]. Anyone who
has spent hours struggling with rpm (ugh, or worse CMMI) to get x
application installed
which depends on y from z.alpha.com and s from t.beta.com, which also
need rpm-ing with their own dependencies would never dare to even
think of such terms
when using the Ports Collection. I found it a miracle when I first moved!

Chris

[1] http://en.wikipedia.org/wiki/Dependency_hell
___
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: mount a dumpfile

2011-04-02 Thread Chris Rees
On 2 Apr 2011 00:08, "Warren Block"  wrote:
>
> Is it possible to mount a dump(8) dumpfile?  restore(8) obviously knows
everything about the file structure, and restore -i is nearly a read-only
mount_dump already.

Restore -i isn't really anything like a mount; it works on a stream (which
is why it works on tapes and stdin) where the first but is the file list,
telling restore how far to skip to get the file. This is why ls is fast on
it, but when you tell it to restore it then takes a little time.

If you want proper interactive backups, I'd respectfully suggest you start
using rsync incremental backup, for which I have a script sy home I'd you're
interested.

Chris
___
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: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 15:20, Ryan Coleman  wrote:
> I found this command:
> ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 
> 's/-/|/'
>
> Which makes this:
>   |-Mar17
>   |---1300074369-chow
>   |-download
>   |---small
>   |---1300421616-Cunningham
>   |-download
>   |---small
>
> But I want to use `du` instead to convert this
> 2.0M    ./Mar17/1300074369-chow/download/small
> 2.0M    ./Mar17/1300074369-chow/download
> 2.0M    ./Mar17/1300074369-chow
> 2.1M    ./Mar17/1300421616-Cunningham/download/small
> 2.1M    ./Mar17/1300421616-Cunningham/download
> 2.1M    ./Mar17/1300421616-Cunningham
> 4.1M    ./Mar17
>
> into this:
>   |-Mar17 [4.3M]
>   |---1300074369-chow [2.0M]
>   |-download [2.0M]
>   |---small [2.0M]
>   |---1300421616-Cunningham [2.1M]
>   |-download [2.1M]
>   |---small [2.1M]
>
>
> I realize it does it backwards and I can live with that...  OR mix the two to 
> run the first command and run another command to get the folders total size 
> or something... you know?
>

du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' |
awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'

Does it forwards :P

[crees@zeus]~/workspace/ports% du -h . | awk '{a[i++]=$0} END {for
(j=i-1; j>=0;) print a[j--] }' | awk '{print($2" ["$1"]");}' | sed -e
's,[^-][^/]*/,--,g' -e 's,^,|,'
|. [445K]
|--net-mgmt [81K]
|CVS [5.5K]
|zabbix-server [74K]
|--files [11K]
|CVS [4.5K]
|--CVS [4.5K]
... etc...
|--net [31K]
|pppoa [24K]
|--CVS [4.5K]
|--files [12K]
|CVS [4.5K]
|CVS [5.5K]
[crees@zeus]~/workspace/ports%

Any refinements requested I'll have a look at.

Chris
___
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: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:07, Mike Jeays  wrote:
> On Sat, 2 Apr 2011 17:15:04 +0100
> Chris Rees  wrote:
>
>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' |
>> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'
>
>
> I confess to being impressed...
>

Yeah, but perhaps I should have used sed instead of the second awk;
fewer processes:

du -h | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | sed
-e 's,^[^1-9]*\([^___CTRL-V+TAB__]*\)CTRL-V+TAB_*\(.*\)$,\2
\[\1\],;s,[^-][^/]*/,--,g;s,^,|,'

That does exactly the same --  where I've put CTRL-V+TAB__ you
have to type Ctrl-V, then a literal [::tab::] key; BSD sed doesn't do
\t.

Chris
___
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: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:22, Chris Rees  wrote:
> On 2 April 2011 18:07, Mike Jeays  wrote:
>> On Sat, 2 Apr 2011 17:15:04 +0100
>> Chris Rees  wrote:
>>
>>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' |
>>> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'
>>
>>
>> I confess to being impressed...
>>
>
> Yeah, but perhaps I should have used sed instead of the second awk;
> fewer processes:
>
> du -h | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | sed
> -e 's,^[^1-9]*\([^___CTRL-V+TAB__]*\)CTRL-V+TAB_*\(.*\)$,\2
> \[\1\],;s,[^-][^/]*/,--,g;s,^,|,'
>
> That does exactly the same --  where I've put CTRL-V+TAB__ you
> have to type Ctrl-V, then a literal [::tab::] key; BSD sed doesn't do
> \t.
>
> Chris
>

Final version:

http://www.bayofrum.net/~crees/graphical_du.sh

Maybe I should port it...

Chris
___
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: am i back up....???

2011-04-03 Thread Chris Rees
On 3 Apr 2011 17:32, "Bruce Cran"  wrote:
>
> On 02/04/2011 21:54, David Chanters wrote:
>
>> You could have just sent yourself an email.  But yes, here you are.
>
>
> I was going to suggest Gary should have used the freebsd-test mailing list
but then I realised it's been broken since May last year.
>
Hah, ironic or what???

Chris.
___
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: Re[2]: graphical representation of `du`

2011-04-03 Thread Chris Rees
On 3 April 2011 20:26, Австин Ким  wrote:
> Sun, 03 Apr 2011 12:01:24 +0200 письмо от David Demelier 
> :
>
>> On 02/04/2011 19:30, Chris Rees wrote:
>> > On 2 April 2011 18:22, Chris Rees  wrote:
>> >> On 2 April 2011 18:07, Mike Jeays  wrote:
>> >>> On Sat, 2 Apr 2011 17:15:04 +0100
>> >>> Chris Rees  wrote:
>> >>>
>> >>>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' |
>> >>>> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'
>> >>>
>> >>>
>> >>> I confess to being impressed...
>> >>>
>> >>
>> >> Yeah, but perhaps I should have used sed instead of the second awk;
>> >> fewer processes:
>> >>
>> >> du -h | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | sed
>> >> -e 's,^[^1-9]*\([^___CTRL-V+TAB__]*\)CTRL-V+TAB_*\(.*\)$,\2
>> >> \[\1\],;s,[^-][^/]*/,--,g;s,^,|,'
>> >>
>> >> That does exactly the same --  where I've put CTRL-V+TAB__ you
>> >> have to type Ctrl-V, then a literal [::tab::] key; BSD sed doesn't do
>> >> \t.
>> >>
>> >> Chris
>> >>
>> >
>> > Final version:
>> >
>> > http://www.bayofrum.net/~crees/graphical_du.sh
>> >
>> > Maybe I should port it...
>> >
>>
>> Thanks! This rocks! :-)
>>
>
> What a fun thread :)
>
> Here's my two cents, written as an sh(1) function that you can tack on to the 
> end of your .profile or .shrc:
> (Caveats:  I'm writing this on a Mac OS X machine, not on a FreeBSD machine, 
> at the moment, but hopefully this'll still work.
> Also, the following will mess up if you have directories whose names begin 
> with "|".)
>
> # dg:  `du--graphical'
> # Usage:  dg [dir ...]
> # Based on script by Chris Rees
> # 1459 Sunday, 3 April 2011
>
> dg ( ) {
>  du -h "$@" |
>    awk '{FS="\t"; print $2"\t["$1"]"}' |
>    sort |
>    sed -e 's:[^/]*/:| :g' -e 's:\(^\(| \)*\)| \([^|].*\):\1+-\3:'
>  return
>  }

I used the awk a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--]  etc to
reverse the order, rather than alphabetise it because it's quicker:

$ du -h . | time sort >/dev/null 2>time
$ cat time
8.17 real 0.03 user 0.00 sys
$ du -h . | time awk '{a[i++]=$2} END { for (j=i-1; j>=0;) print
a[j--] }' >/dev/null 2>time2
$ cat time2
7.77 real 0.14 user 0.00 sys

YMMV of course!

Chris
___
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: Place to install library of shell functions

2011-04-05 Thread Chris Rees
2011/4/5 Jerry McAllister :
> On Tue, Apr 05, 2011 at 05:23:47PM +0200, Michael Grünewald wrote:
>
>> Dear FreeBSD users,
>>
>>
>> today I come to you with what seems to be somehow pedantic question:
>> where is the best place to install libraries of shell functions.
>>
>> I read hier(4) carefully and it seems the correct place for this would
>> be somewhere under `/usr/local/share':
>>
>>                 share/    architecture-independent files
>
> I would go with /usr/local/lib.
>

I'd rather agree with the OP; shell functions are arch-independent,
and are DATADIR suited IMO.

Chris
___
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: graphical representation of `du`

2011-04-06 Thread Chris Rees
2011/4/6 Peter Vereshagin :
>
> Again, why don't you guys just use perl to provide a graphical du? I believe
> perl is just present on every freebsd machine where graphical du is needed.
>

Why on Earth would you use Perl when a simple awk script will do???

Chris
___
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: Mailing list etiquette (Was: Re: Linksys-E4200 Wireless N-router)

2011-04-08 Thread Chris Rees
On 8 Apr 2011 20:25, "Chad Perrin"  wrote:
>
> On Fri, Apr 08, 2011 at 06:42:16PM +0100, Arthur Chance wrote:
> >
> > section 8.6 starts:
> >
> >  start quote 
> > Unless there is a good reason to do otherwise, reply to the sender and
> > to FreeBSD-questions.
> >  end quote 
>
> I, for one, am glad this does not happen more often.  I really do *not*
> need a bunch of duplicates cluttering up my inbox.  I have yet to see
> anyone complain of not receiving a CC in addition to the mail from the
> list.

While you make a valid point, how would one complain about not receiving an
email?

Chris
___
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: Mailing list etiquette (Was: Re: Linksys-E4200 Wireless N-router)

2011-04-08 Thread Chris Rees
On 8 April 2011 20:28, Chad Perrin  wrote:
> On Fri, Apr 08, 2011 at 08:30:25PM +0100, Chris Rees wrote:
>> On 8 Apr 2011 20:25, "Chad Perrin"  wrote:
>> >
>> > I, for one, am glad this does not happen more often.  I really do
>> > *not* need a bunch of duplicates cluttering up my inbox.  I have yet
>> > to see anyone complain of not receiving a CC in addition to the mail
>> > from the list.
>>
>> While you make a valid point, how would one complain about not
>> receiving an email?
>
> Did you overlook the words "in addition to the mail from the list"?
>

My bad...

Chris
___
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: How to be an imap Client?

2011-04-21 Thread Chris Rees
On 21 April 2011 14:51, Jerry  wrote:

> Disclaimer: off-list followups get on-list replies, ignored and/or
> rerported as Spam. Please do not ignore the Reply-To header.

s#\(re\)r\(ported\)#\1\2#

Chris
___
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: building a port with very long list of build options

2011-04-22 Thread Chris Rees
On 22 April 2011 08:08, Carl  wrote:
> On 2011-04-21 8:52 PM, Polytropon wrote:
>>
>> This has been possible and common in the past. For example,
>> the many options for the mplayer and mencoder ports could
>> be specified in a file, so changing of a port's file was
>> not needed. I'm not fully sure this option is still present,
>> but at least on v7 it worked.
>>
>> Create a file Makefile.local in the port's directory and
>> specify all your options as desired. This file will be
>> sourced when you issue a "make" command and will override
>> settings of the regular Makefile (e. g. if you want
>> different CFLAGS for _this_ port). The file is to be in
>> the known syntax, NAME=value.
>
> Does that solution allow for locating Makefile.local outside the ports tree
> so as not to contaminate builds for other targets using the same ports tree?
>
> On 2011-04-21 9:11 PM, Mehmet Erol Sanliturk wrote:
>>
>> If you read the make manual page , you will see the following option :
>>
>>               ...
>>
>>      *-f* *makefile*
>>             Specify a makefile to read instead of the default one.
>>
>>              ...
>>
>>  which is used as
>>
>> make -f your_own_make_file_name
>>
>> This form will override the Makefile present in the current directory
>> and will use the specified make file with name your_own_make_file_name .
>
> Yes, I did see that, but I interpreted that to mean my make file *replaces*
> the original, in which case I would need to populate my make file not only
> with the list of build options I want but also a copy of everything in the
> original make file. If I'm correct, that doesn't seem to me to be a good
> idea from a maintenance perspective. I was hoping for something like the -f
> option that somehow inserted rather than replaced.
>

Or, at the bottom of your Makefile defining variables (including
BATCH= yes to skip the OPTIONS dialog), stick the line:

.include "Makefile"

and use make -f _my_Makefile

Chris
___
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: building a port with very long list of build options

2011-04-24 Thread Chris Rees
On 24 Apr 2011 09:29, "Carl"  wrote:
>
> On 2011-04-22 4:13 AM, Manolis Kiagias wrote:
>>
>> On 04/22/2011 10:33 AM, Manolis Kiagias wrote:
>>>
>>> On 04/22/2011 10:08 AM, Carl wrote:
>
> This form will override the Makefile present in the current directory
> and will use the specified make file with name your_own_make_file_name
.

 make -f your_own_make_file_name

 Yes, I did see that, but I interpreted that to mean my make file
 *replaces* the original, in which case I would need to populate my
 make file not only with the list of build options I want but also a
 copy of everything in the original make file. If I'm correct, that
 doesn't seem to me to be a good idea from a maintenance perspective. I
 was hoping for something like the -f option that somehow inserted
 rather than replaced.

 Carl / K0802647
>>>
>>> Assuming you have already selected some options during make config, you
>>> could try adding your own to the file /var/db/ports//options
>>> ___
>>
>>
>> A probably more elegant way is to use the ports-mgmt/portconf port.
>> This allows per port settings to be applied, which are honored by make,
>> portupgrade and the other tools. Just install and use
>> /usr/local/etc/ports.conf to add your options:
>>
>>  Here is the sample supplied with the portconf:
>>
>> editors/openoffice.org-2: WITH_CCACHE|LOCALIZED_LANG=it
>> print/ghostscript-* print/lpr-wrapper: A4
>> sysutils/fusefs-kmod*: !KERNCONF | !NOPORTDOCS
>> www/firefox-i18n: WITHOUT_SWITCHER | FIREFOX_I18N=fr it
>> x11/fakeport: CONFIGURE_ARGS=--with-modules="aaa bbb ccc"
>
>
> ports-mgmt/portconf certainly does look to be a very appealing solution in
general, but am I wrong in thinking that it provides me with no way to
address my original problem? How do I use it when I've got an exceptionally
long list of options for a particular port?
>
> As for manually customizing /var/db/ports//options, the port
builds in question are done in a clean chroot using a batch process, so
"make config" doesn't happen and /var/db/ports//options never
exists.
>

How about my earlier suggestion of populating a 'makefile' no capitals with
the appropriate WITH and WITHOUT flags defined, then .include-ing the
original Makefile?

Chris
___
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: Suddenly lots processes exits signal 11 (core dumped)

2011-04-26 Thread Chris Rees
On 26 Apr 2011 15:18, "Mikael Bak"  wrote:
>
> Hi list,
>
> I have a system running FreeBSD 7.3. Its main function is running
> Postfix SMTP server and a few perl based content filters. Nothing exotic
> really.
>
> It has been nicely up and running approx 150 days when it suddenly
> starts behaving very strange.
>
> First I noticed a converter script failing. It is basically a small
> shell script that converts a quite big file replacing a few words using
> sed. The output is mostly damaged.
>
> Another problem is that lots of processes exits signal 11 (core dumped).
> And I need to restart them by hand. See dmesg output below.

Have you run memtest86? Looks like a textbook bad RAM issue.

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


Enabling composite-out in a video card.

2011-05-03 Thread Chris Rees
OK, so in what can only be described as a ridiculous shot in the dark...

I've got my Macbook running as a server under my TV, and I was trying
to connect the video-out to the TV.

However... my mini-DVI-VGA plugged into the VGA-composite adaptor
isn't working (surprise surprise)

Is there a command can put in to force TV-out through VGA (through DVI?)?

Chris
___
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: Enabling composite-out in a video card.

2011-05-03 Thread Chris Rees
On 3 May 2011 20:21, Mark  wrote:
>
>> From: Chris Rees 
>> Subject: Enabling composite-out in a video card.
>> To: freebsd-questions@freebsd.org
>> Date: Tuesday, May 3, 2011, 2:06 PM
>> OK, so in what can only be described
>> as a ridiculous shot in the dark...
>>
>> I've got my Macbook running as a server under my TV, and I
>> was trying
>> to connect the video-out to the TV.
>>
>> However... my mini-DVI-VGA plugged into the VGA-composite
>> adaptor
>> isn't working (surprise surprise)
>>
>> Is there a command can put in to force TV-out through VGA
>> (through DVI?)?
>>
>> Chris
>
> read the man page for the Xorg driver, you may need to enable it in the 
> xorg.conf.

D'oh, thanks!

> I guess you are running freeBSD???

Oh dear, I must have looked really clueless. Yes I am!

Chris
___
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: Piping find into tar...

2011-05-04 Thread Chris Rees
On 4 May 2011 08:44, b. f.  wrote:
>> I've been playing with the find command lately. Is there a way I can pipe the
>> putput list of files from find, into the tar command to create an archive 
>> which
>> contains the files which find lists? I tried the following, but it didn't 
>> work
>> (obviously).
>>
>> find -E . '.*\.txt$' -print | tar -cjf result.tgz
>
> You could use something like:
>
> find -X . -name '*.txt' | xargs tar -cjf result.tgz
>
> or
>
> find . -name '*.txt' -print0 | xargs -0 tar -cjf result.tgz
>
> b.

How about using pax?

find . -depth -print | pax -wd | gzip > archive.tgz

or

find . -depth -print | pax -wd | bzip2 > archive.tbz


By the way, in reference to the commands above the -j option is for
bzip2, so the extension should be .tbz o_O

Chris
___
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: Piping find into tar...

2011-05-04 Thread Chris Rees
On 4 May 2011 10:42, "Modulok"  wrote:
>
> >> By the way, in reference to the commands above the -j option is for
> bzip2, so the extension should be .tbz o_O
>
> Thanks everyone! I went with the following, because it works regardless of
> space characters in filenames. (Thanks for the correction on the extenion.
It
> should indeed be 'tbz' when using the 'j' flag.)
>
> find -E . -regex '.*\.txt$' -print0 | xargs -0 tar -cjf result.tbz
>
> As for pax, I thought tar could create pax archives too, via the --format
pax
> option?

Pax makes tar by default-- It's a great way to make tars with cpio syntax.

>
> Cheers Everyone!
> -Modulok-
___
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: Piping find into tar...

2011-05-04 Thread Chris Rees
On 4 May 2011 14:25, "Lowell Gilbert" <
freebsd-questions-lo...@be-well.ilk.org> wrote:
>
> kron24  writes:
>
> > Dne 4.5.2011 11:42, Modulok napsal(a):
>  By the way, in reference to the commands above the -j option is for
> >> bzip2, so the extension should be .tbz o_O
> >>
> >> Thanks everyone! I went with the following, because it works regardless
of
> >> space characters in filenames. (Thanks for the correction on the
extenion. It
> >> should indeed be 'tbz' when using the 'j' flag.)
> >>
> >> find -E . -regex '.*\.txt$' -print0 | xargs -0 tar -cjf result.tbz
> >
> > When the amount of files is huge then tar will be invoked twice
> > or more. Thus result.tbz will contain just files from the last
invocation.
>
> Yes, xargs isn't part of the solution for this case unless you use the
> update mode to tar, which will be much slower.  However, tar can read
> the file list from a file, which can be stdin if you want.  The
> equivalent of the above command would be something like:
>
> find -E . -regex '.*\.txt$' -print0 | tar --null -T - -cjf result.tbz
>
> > I consider cpio a better option here.
>
> The old ways still work very well.
>
> But it's worth noting that on FreeBSD these days, cpio(1) and tar(1) are
> both implemented on the same library, so there are very few things that
> one can do but the other cannot.
>

Why on Earth are people still fooling about contorting tar into weird
shapes

The great thing about pax is It's a drop in replacement for cpio that makes
tar archives; It's designed to be used with find!

Chris
___
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: Seeking full-cups/lpd compilant printer

2011-05-04 Thread Chris Rees
On 4 May 2011 13:58, "David Demelier"  wrote:
>
> Hello,
>
> I'm searching a printer that works with cups only (I mean no hplip needed
no specific vendor driver).
>
> I would like a simple desktop printer with scanner built-in for simple
copies.
>
> http://www.epson.co.uk/Printers-and-All-In-Ones/Inkjet/Epson-Stylus-SX125
>
> I like this one but the openprinting site says it recommends the epson
drivers so I don't know if it works without and cups only...
>
> Do you have some good advices ?
>

Gutenprint supports nearly every printer under the Sun, is there a problem
using gutenprint-cups?

Chris
___
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: Limitting SSH access

2011-05-04 Thread Chris Rees
On 4 May 2011 16:27, "krad"  wrote:
>
> On 4 May 2011 12:47, Balázs Mátéffy  wrote:
>
> > On 4 May 2011 13:35, Matthew Seaman 
> > wrote:
> >
> > > On 04/05/2011 10:08, Jack Raats wrote:
> > > > I have a question concerning SSH op a FreeBSD 7.4-STABLE server.
> > > >
> > > > Is it possible to limit the SSH access?
> > > > I want t o restrict a user to his own home directory.
> > > > So that if he connects to the server with SSH he only can go to his
own
> > > home dir.
> > > > Also the same for sftp...
> > > >
> > >
> > > I believe you will need to install a version of OpenSSH from ports to
> > > get that functionality.  It's the CHROOT config option in
> > > security/openssh-portable
> > >
> > >Cheers
> > >
> > >Matthew
> > >
> > > --
> > > Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
> > >  Flat 3
> > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> > > JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
> > >
> > >
> > Hello,
> >
> > It should work with the base openssh on 7.4. Check your version with
sshd
> > -v.
> > Here, search for chroot(or use google :)):
> > http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5
> >
> > Regarding ssh login, I usually use "rbash" from the ports, that
restricts
> > the user from leaving his or her home directory!
> >
> > Regards,
> >
> > Balazs Mateffy.
> > ___
> > 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"
> >
>
> if you want them to be able to get a shell ether then sftp prompt then you
> will have to go for the rbash option. If you chroot the shell to their
home
> dir they wont have access to any system binaries so wont be able to 'ls'
for
> example.
>
> Having said that you could build a tree of all the binaries they need
along
> with all the dependent libraries. This would get a bit cumbersome and
> wasteful of disk space for lots of users though. You might be better off
> with jails.
>

Or you could have a special /bin-restricted that you nullfs mount into
~userN/bin.

Chris
___
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: Limitting SSH access

2011-05-04 Thread Chris Rees
2011/5/4 Peter Vereshagin :
> Wake me up when September ends, freebsd-questions!
> 2011/05/04 16:47:33 +0100 Chris Rees  => To krad :
> CR> > > > > Is it possible to limit the SSH access?
> CR> > > Regarding ssh login, I usually use "rbash" from the ports, that
> CR> restricts
> CR> Or you could have a special /bin-restricted that you nullfs mount into
> CR> ~userN/bin.
>
>
> I personally should like to have a quick recipe on how to create such a 
> limited
> set of binaries ( libraries, mans, etc., each mounted with nullfs  read-only 
> to
> every such a user's home ) from the 'world' build.
> Some options like the rsync I consider to be a must in some cases so this
> should include the ports availability, isn't it?
>


Hehe, big can of worms here. Plenty of opportunity to break out of a
chroot, as well as the fact that it's largely discredited as a
security mechanism [1].

Someone mentioned Jails earlier, probably a better idea.

Chris

[1] http://kerneltrap.org/Linux/Abusing_chroot
___
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: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab

2011-05-07 Thread Chris Rees
On 7 May 2011 04:31, "Yuri Pankov"  wrote:
>
> On Fri, May 06, 2011 at 10:06:31PM -0400, Henry Olyer wrote:
> > Woe is me.
> >
> > First, I simply messed up, happens to us all from time to time.  I lost
> > power on an laptop running 8.2.
> >
> > Restarted it but for some reason the fsck didn't run and I lost some
/usr
> > files.
> >
> > I tried to do an fsck manually but because it's mounted I got nowhere.
 So I
> > put a comment ("#") in front of the /usr line for the /etc/fstab file.
> >
> > Now, I can't boot.
> >
> > I need what's on my disk -- of course!
>
> Boot to single user mode (4 in the boot menu), remount / read-write -
> mount -u -o rw /, edit /etc/fstab (you'll probably need to mount /usr
> manually if what's in /rescue doesn't work for you), reboot.
>
> You can run fsck from single user mode, as well.
>
>
> HTH,
> Yuri

Easiest way in single user if vi complains about termcap and you don't
understand ed...

As Yuri suggested:

# fsck /
# mount -ie /

Then you can just use sed in place;

# sed -i.bak -e 's,#\(.*/usr\),\1,' /etc/fstab

# fsck /usr
# reboot

Hope that helps!

Chris
___
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: thunderbird-3.1.10 build error

2011-05-08 Thread Chris Rees
On 8 May 2011 18:37, Janos Dohanics  wrote:
> On Sun, 08 May 2011 13:14:36 -0400
> Lowell Gilbert  wrote:
>
>> Janos Dohanics  writes:
>>
>> > Trying to build thunderbird-3.1.10 on a FreeBSD 8.2-STABLE amd64
>> > machine and getting this error:
>> >
>> > gmake[4]: [...]
>> > Error 2 *** Error code 1
>> >
>> > Stop in /usr/ports/mail/thunderbird.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/mail/thunderbird.
>> >
>> > I'd appreciate your expert advice...
>>
>> The actual error was earlier than you quoted.
>> Are you trying to run a parallel build?
>
> Actually, I wasn't - I posted the full make output to
> http://wwwp.3dresearch.com/thunderbird.
>
> Thank you for taking the time and looking into it...
>

To clarify; have you tried make clean and starting again?

Chris
___
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: thunderbird-3.1.10 build error

2011-05-08 Thread Chris Rees
On 8 May 2011 20:03, Chris Rees  wrote:
> On 8 May 2011 18:37, Janos Dohanics  wrote:
>> On Sun, 08 May 2011 13:14:36 -0400
>> Lowell Gilbert  wrote:
>>
>>> Janos Dohanics  writes:
>>>
>>> > Trying to build thunderbird-3.1.10 on a FreeBSD 8.2-STABLE amd64
>>> > machine and getting this error:
>>> >
>>> > gmake[4]: [...]
>>> > Error 2 *** Error code 1
>>> >
>>> > Stop in /usr/ports/mail/thunderbird.
>>> > *** Error code 1
>>> >
>>> > Stop in /usr/ports/mail/thunderbird.
>>> >
>>> > I'd appreciate your expert advice...
>>>
>>> The actual error was earlier than you quoted.
>>> Are you trying to run a parallel build?
>>
>> Actually, I wasn't - I posted the full make output to
>> http://wwwp.3dresearch.com/thunderbird.
>>
>> Thank you for taking the time and looking into it...
>>
>
> To clarify; have you tried make clean and starting again?
>

If it persists, stick up a copy of
/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime/build/Makefile
and we can have a look.

Chris
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Chris Rees
On 9 May 2011 18:38, Janos Dohanics  wrote:
> On Sun, 8 May 2011 19:52:54 -0500 (CDT)
> Robert Bonomi  wrote:
>
>> > From [...]
>>
>> >                                               Are you trying to run
>> > a parallel build?
>>
>> Reading the full trace _DID_ show a parallel build.
>
> How can you tell? I'm pretty sure I did not use the -j flag...
>

You're right about + =!

Fetch this patchfile:

http://www.bayofrum.net/~crees/patches/patch-mailnews-extensions-smime-build-Makefile-in

and stick it in /usr/ports/mail/thunderbird/files

make clean, and try making again.

Chris
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Chris Rees
On 9 May 2011 19:29, Janos Dohanics  wrote:
> On Mon, 9 May 2011 12:45:38 -0500 (CDT)
> Robert Bonomi  wrote:
>
>> > From owner-freebsd-questi...@freebsd.org  Mon May  9 12:40:39 2011
>> > Date: Mon, 9 May 2011 13:38:19 -0400
>> > From: Janos Dohanics 
>> > To: Robert Bonomi 
>> > Cc: FreeBSD Questions 
>> > Subject: Re: thunderbird-3.1.10 build error
>> >
>> > On Sun, 8 May 2011 19:52:54 -0500 (CDT)
>> > Robert Bonomi  wrote:
>> >
>> > > > From [...]
>> > >
>> > > >                                               Are you trying to
>> > > > run a parallel build?
>> > >
>> > > Reading the full trace _DID_ show a parallel build.
>> >
>> > How can you tell? I'm pretty sure I did not use the -j flag...
>>
>> I actually read the log you posted.  
>>
>> Shortly after the line with the makefile error, there was a line
>> mentioning  'pmake'.   pmake is the 'parallel make' utility.
>>
>> Q.E.D.
>
> I'm getting these unwelcome reminders of getting older and dimmer more
> and more often; forgetting things, can't see the obvious in plain
> sight, etc... but I can't for the life of me find "pmake" either in my
> original post or in build log I posted additionally:
> http://wwwp.3dresearch.com/thunderbird
>
> Then again, I may have forgotten my ophthalmologist appointment...
>

Have you tried my patch from [1]?

Chris

[1] http://www.mail-archive.com/freebsd-questions@freebsd.org/msg246092.html
___
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: Re: Newbie Needing Help

2011-05-09 Thread Chris Rees
On 9 May 2011 19:05, Robert Huff  wrote:
>
> John or Judy Hixson writes:
>
>>  Actually I'm using 7.4 because that's the latest version Lucas'
>>  book covers and I learn better with a book in my hand. When I'm
>>  ready to actually use FBSD, I'll get going with the latest
>>  production release.
>
>        At the level you're (probably) operating, the difference
> between 7.4 and 8.2 is minimal.
>

... and it's still supported.

Don't bother upgrading until you're happy with kernel configs :P (not
half as bad as it sounds)

Chris
___
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: thunderbird-3.1.10 build error

2011-05-11 Thread Chris Rees
On 11 May 2011 18:45, Janos Dohanics  wrote:
> On Mon, 9 May 2011 18:52:12 +0100
> Chris Rees  wrote:
>
>> On 9 May 2011 18:38, Janos Dohanics  wrote:
>> > On Sun, 8 May 2011 19:52:54 -0500 (CDT)
>> > Robert Bonomi  wrote:
>> >
>> >> > From [...]
>> >>
>> >> >                                               Are you trying to
>> >> > run a parallel build?
>> >>
>> >> Reading the full trace _DID_ show a parallel build.
>> >
>> > How can you tell? I'm pretty sure I did not use the -j flag...
>> >
>>
>> You're right about + =!
>>
>> Fetch this patchfile:
>>
>> http://www.bayofrum.net/~crees/patches/patch-mailnews-extensions-smime-build-Makefile-in
>>
>> and stick it in /usr/ports/mail/thunderbird/files
>>
>> make clean, and try making again.
>>
>> Chris
>
> Chris,
>
> I guess your reward for helping is more nagging... would you please
> take a look at http://wwwp.3dresearch.com/thunderbird2
>
> --
> Janos Dohanics

Hey... only thing I can suggest right now is that you try:

# make -DDISABLE_MAKE_JOBS

Moving to ports@ and CCing gecko@

Chris

Link to entire thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2011-May/229785.html
___
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: x11-wm/olvwm

2011-05-24 Thread Chris Rees
On 24 May 2011 18:09, C. P. Ghost  wrote:
> On Tue, May 24, 2011 at 3:53 PM,   wrote:
>> Hello,
>>
>> I have updated ports and when reinstalling I found x11-wm/olvwm which I was
>> using was gone from the ports tree.  Why?
>
> I noticed that too, and was bit by that change as well.
> Since I love the olvwm look and feel, I'm sad to see
> it go from the FreeBSD ports collection.
>
> % grep olvwm /usr/ports/MOVED
> x11-wm/olvwm||2011-05-01|Has expired: Upstream disapear and distfile
> is no more available
>
> I think we could resurrect this port, using the last available
> distfile, which fortunately is still with us:
>
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.tar.Z
>
> There are also two patches there:
>
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.Patch01.Z
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/olvwm4.Patch02.Z
>
> Unfortunately, I don't know where the old port files have
> gone. We *REALLY* should consider moving dead ports to
> a separate subdirectory hierarchy (such as /usr/ports/.deadports
> or some such), so people interested in resurrecting old ports
> could have a look. Just letting then disappear silently is rude
> und unnecessary, but that's just IMHO.

I don't understand your comment on silence -- they've been deprecated
for a while now.

I'll take a look at resurrecting and hosting it tomorrow, if people
are interested.

Chris
___
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: A small script to customize FreeBSD

2011-05-31 Thread Chris Rees
On 31 May 2011 04:19, Xn Nooby  wrote:
> Hello.  I wrote a script to install FreeBSD 8.2 on to a real machine,
> or a 64-bit Virtualbox VM.  It has a modular approach where you can
> pick which functions will be run on a different target system. It can
> be tweaked easily.  I wrote it so that I could do a quick "plain
> vanilla install", and then run this script to set up my user, SVN
> server, gnome, firefox4, flash, nvidia driver, vbox additons, and
> other things. I thought I would post it in case other beginners need
> some thing like this to help them configure a machine.  I started off
> with detailed notes, then thought I might as well script it. When you
> run it, the only user interaction is having to enter the user password
> twice.  Let me know if anyone has any suggestions.

How about using $1 instead of theuser?

You could always have ${1:-theuser} instead to have a default of
theuser, but take the value for username as the first argument.

Chris
___
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: MySQL update

2011-06-07 Thread Chris Rees
On 7 June 2011 12:56, Glenn McCalley  wrote:
> Trying to update MySQL from 4.1 to 5.5.
> Updating mysql-client first.
> Make works great, but make install refuses to install saying 5.5 conflicts
> with 4.1, run
> pkg_delete for 4.1.
> pkg_delete for 4.1 refuses to deinstall as all the php52 packages
> (extensions, mysql, mysqli, pdo_mysql etc.) depend on mysql 4.1.
>
> Question:  Do I have to deinstall everything, and then put it all back
> together, or can I force the mysql 5.5 client and 5.5 server to install?
>

I'm at work at the moment, so I can't test these, sorry.

Firstly, get portmaster:

# pkg_add -r portmaster

Then read the manpage:

% man portmaster

Try something like:

# portmaster -o databases/mysql55-client mysql-client

# portmaster -o databases/mysql55-server mysql-server

Then, because you haven't read the manpage you'll have to confirm
everything. Read the manpage!

If it doesn't work (because I made a mistake with the -o syntax), read
the manpage and then let us have the output.

Chris
___
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: free sco unix

2011-06-16 Thread Chris Rees
On 16 June 2011 17:47, Robert Simmons  wrote:
> On Thursday, June 16, 2011 12:31:19 PM Reko Turja wrote:
>> In that fictional world MySQL needed a fork and some GPL'd programs
>> have been retroactively made completely closed source, forking denied
>> after taking the issue into court...
>
> I thought that Sun reversed that decision in 2008.  Can you give some
> examples?
>
> There are two major GPL forks of MySQL right now:
> http://drizzle.org/
> and
> http://mariadb.org/about/
>
> MariaDB is the drop-in replacement for MySQL for people who want to get away
> from Oracle/MySQL AB.

This thread appears to have drifted off topic.

Perhaps move to chat?

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


Point me to resource or user info

2011-06-21 Thread Chris Rees
Hi Allen,

I've forwarded your request to freebsd-questions, since they're more
likely in a position to help you out -- you'll need to subscribe to
receive the replies!

Chris

[Top posted because I feel that it makes more sense here, please cut
my chunk out of replies]

On 21 June 2011 04:44, Allen  wrote:
>  Been on Linux maybe 10-12 distributions for 10 years, am 80 and always been 
> curious about BSD so finally getting around to it.
> Presently sadly my new Toshiba L675D seems to have some Linux 
> incompatibilities so I have win 7 with Ubuntu 10.04.2 wubi.
> I do have a huge data partition that could be resized and wondering if some 
> kind soul would offer options based on my present
> configuration. I do have wireless network. Thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to allow Amanda to install as operator?

2011-08-23 Thread Chris Rees
Please CC me in replies, this was passed on to me by someone subscribed.


"Morse, Richard E.MGH" wrote:
> Hi! I'm trying to upgrade my Amanda installation from a v2.6 to v3.2 via
> ports. I had configured Amanda previously to be installed as the user
> `operator`. The upgraded version wants to install as the user `amanda`;
> however this presents all kinds of problems:
>- the `amanda` user has no home directory, one is needed to put the
> access file in
>- I already have all of the directories set up as owned by operator
>- I have a number of clients that are all set up to allow operator to
> access them, but not "amanda".
>
> I have tried setting AMANDA_USER and AMANDA_GROUP to be `operator`, but this
> then complains that `operator` is not found in `/usr/ports/GIDs` and
> `/usr/ports/UIDs`. Since these are part of the base system, I don't want to
> mess with them, so I groveled through the .mk files, and determined that I
> should be able to provide my own user and group files by setting the
> GID_FILES and UID_FILES environment variable.
>
> I tried this. I created the necessary files (greping out the data from
> /etc/passwd and /etc/group), put them in the same directory as GIDs and
> UIDs, and ran the make command:
>
>GID_FILES="/usr/ports/OP_GROUP" UID_FILES="/usr/ports/OP_USER"
> AMANDA_USER="operator" AMANDA_GROUP="operator" make install
>
> This runs along for a while, then dies with the note:
>
>** /usr/ports/OP_GROUP doesn't exist. Exiting.
>*** Error code 1
>
>
> If I do a `less /usr/ports/OP_GROUP` (copying exactly from the error
> message), I can see the file I created just fine.
>
> Is there something that I'm missing? How am I supposed to install a port as
> a user that already exists? Why doesn't make see that the file exists?
>

Update your ports tree and try again. Let me know if it doesn't work!

http://lists.freebsd.org/pipermail/cvs-ports/2011-August/224032.html

Chris

-- 
Chris Rees          | FreeBSD Developer
cr...@freebsd.org   | http://people.freebsd.org/~crees
___
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: How to allow Amanda to install as operator?

2011-08-23 Thread Chris Rees
On 23 Aug 2011 21:42, "Morse, Richard E.MGH"  wrote:
>
> On Aug 23, 2011, at 4:01 PM, Chris Rees wrote:
>
> > "Morse, Richard E.MGH" wrote:
> >>   GID_FILES="/usr/ports/OP_GROUP" UID_FILES="/usr/ports/OP_USER"
> >> AMANDA_USER="operator" AMANDA_GROUP="operator" make install
> >>
> >> This runs along for a while, then dies with the note:
> >>
> >>   ** /usr/ports/OP_GROUP doesn't exist. Exiting.
> >>   *** Error code 1
> >>
> >>
> >> If I do a `less /usr/ports/OP_GROUP` (copying exactly from the error
> >> message), I can see the file I created just fine.
> >>
> >> Is there something that I'm missing? How am I supposed to install a
port as
> >> a user that already exists? Why doesn't make see that the file exists?
> >>
> >
> > Update your ports tree and try again. Let me know if it doesn't work!
> >
> > http://lists.freebsd.org/pipermail/cvs-ports/2011-August/224032.html
>
> Thanks! This change made the install happen OK.
>
> I am still wondering if there was something I should have done to make
overriding GID_FILES and UID_FILES work?
>

Lose the quotes ;)

Chris
___
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: 9.0 bata2 & keymap

2011-09-17 Thread Chris Rees
On 17 Sep 2011 17:25, "Fbsd8"  wrote:
>
> Nathan Whitehorn wrote:
>
> On 09/15/11 14:57, Fbsd8 wrote:
> Out of the 9 USA maps only "us.iso.acc.kbd" worked somewhat.
> The keyboard 9 key block above the arrow keys don't function.
> Issuing the "man cmd_name" command doe's display the man page,
> but the {Page up, Page down keys } don't work.
> Also when using the "ee" edit command the {delete, Page up, Page down
> keys } don't work. This does not happen in any of the previous
releases.
>
> Further more, localization of the keyboard should not be forced on the
> user during the install process. This BSDinstall option should be
> disabled or removed.


 You can press "Cancel" there, which will cancel keymap selection and
keep the default. The utility being invoked is just kbdmap(1), and any
changes to it need to go there.
 -Nathan
>>>
>>>
>>>
> >> .. maybe name that button "skip" then?
> >>
> >
> >The button is provided by kbdmap, as is the entire screen. We could add
>an "installer" mode to kbdmap that names it skip instead of cancel, of
>course. I'm traveling for another 2 weeks and won't have time to do >that,
however.
> >-Nathan
> >
>
> Nathan
>
> Its good to be talking directly with the bsdinstall author.
>
> Changing the cancel button in the kbdmap command to skip, does not address
the problem, which is the lack of knowledge of the standard bsdinstall user.
I've been using Freebsd since 4.0 and never used the kbdmap command or for
that matter even knew it existed.
>

Wait, are you suggesting that everyone on Earth can "make do" with the
"standard" keyboard layout until they learn rc.conf syntax?

I would strongly object if localisation of the keyboard were not "forced on"
the user; we don't all use pc105-us, and the ability to use the keyboard
properly early on is kinda helpful.

Chris
___
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: 9.0 bata2 & keymap

2011-09-18 Thread Chris Rees
On 17 September 2011 22:42, Fbsd8  wrote:
> Chris Rees wrote:
>>
>> On 17 Sep 2011 17:25, "Fbsd8"  wrote:
>>>
>>> Nathan Whitehorn wrote:
>>>>>>>
>>>>>>> On 09/15/11 14:57, Fbsd8 wrote:
>>>>>>> Out of the 9 USA maps only "us.iso.acc.kbd" worked somewhat.
>>>>>>> The keyboard 9 key block above the arrow keys don't function.
>>>>>>> Issuing the "man cmd_name" command doe's display the man page,
>>>>>>> but the {Page up, Page down keys } don't work.
>>>>>>> Also when using the "ee" edit command the {delete, Page up, Page down
>>>>>>> keys } don't work. This does not happen in any of the previous
>>
>> releases.
>>>>>>>
>>>>>>> Further more, localization of the keyboard should not be forced on
>>>>>>> the
>>>>>>> user during the install process. This BSDinstall option should be
>>>>>>> disabled or removed.
>>>>>>
>>>>>> You can press "Cancel" there, which will cancel keymap selection and
>>
>> keep the default. The utility being invoked is just kbdmap(1), and any
>> changes to it need to go there.
>>>>>>
>>>>>> -Nathan
>>>>>
>>>>>
>>>>> .. maybe name that button "skip" then?
>>>>>
>>>> The button is provided by kbdmap, as is the entire screen. We could add
>>>
>>> an "installer" mode to kbdmap that names it skip instead of cancel, of
>>> course. I'm traveling for another 2 weeks and won't have time to do
>>> >that,
>>
>> however.
>>>>
>>>> -Nathan
>>>>
>>> Nathan
>>>
>>> Its good to be talking directly with the bsdinstall author.
>>>
>>> Changing the cancel button in the kbdmap command to skip, does not
>>> address
>>
>> the problem, which is the lack of knowledge of the standard bsdinstall
>> user.
>> I've been using Freebsd since 4.0 and never used the kbdmap command or for
>> that matter even knew it existed.
>>
>> Wait, are you suggesting that everyone on Earth can "make do" with the
>> "standard" keyboard layout until they learn rc.conf syntax?
>>
>> I would strongly object if localisation of the keyboard were not "forced
>> on"
>> the user; we don't all use pc105-us, and the ability to use the keyboard
>> properly early on is kinda helpful.
>>
>> Chris
>>
>>
> You would help yourself a great deal if you read the complete post before
> jumping in. The rest of the post (ie: the part you neglected to include in
> your post) clearly describes what I am suggesting.
>

I had read the rest of your post, and found it rather difficult to
follow. The fact remains that every other installer I have ever used
gives the user the choice of keymap, so I don't really understand your
problem.

If you're not suggesting removing localisation from bsdinstall, then
please accept my apologies.

Chris
___
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: BSD sleep

2013-05-29 Thread Chris Rees
On 29 May 2013 07:13, "Matthew Seaman"  wrote:
>
> On 29/05/2013 05:59, Michael Sierchio wrote:
> > On Tue, May 28, 2013 at 4:45 PM, Joshua Isom  wrote:
> >
> >
> >> You think it's trivial until you read this:
> >>
> >> http://infiniteundo.com/post/**25326999628/falsehoods-**
> >> programmers-believe-about-time<
http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
>
> >>
> >>
> > Some days have 86400 seconds, some have 86401.  There is a provision for
> > two leap seconds to be applied at once, but that hasn't ever happened.
> >  Still, a truly correct clock, set to UTC, might someday read
> >
> > 23:59:59
> > 23:59:60
> > 23:59:61
> > 00:00:00
> >
> > How many seconds did that hour have?
>
> Right.  The fact that on very rare occasions a minute may not have 60
> seconds in it plus many other corner cases in calculating the current
> wall-clock time is an amusing irrelevance.
>
> First of all, sleep deals in local elapsed time, which is a well defined
> property even if the displayed wall-clock time would be all over the
> place due to DST changes or relativistic effects or whatever.
>
> In this case, I'd be pretty surprised if GNU sleep's algorithm was
> anything more complicated than to convert the stated time into seconds
> and then sleep that number of seconds.  And to do that conversion, it
> wwould just define one minute as 60 seconds, one hour as 60 minutes, one
> day as 24 hours, one week as 7 days, perhaps one month as 30 days, one
> year as 365 days[*].  Sure, it's simplistic and unsophisticated, but as
> an engineering solution it's good enough for the vast majority of
> purposes.

OK, but is this really something the OS should handle?  I'm sure sleep
`expr 3600 \* 2` will suffice and is perfectly readable, including being
more portable.

Why should we keep putting these weird "extensions" in?  At some point it
just becomes fiddling, and yet another source of error when porting

Chris
___
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: Portable Makefile(s)

2010-10-31 Thread Chris Rees
You could (at the risk of war) use autotools?

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.

On 31 Oct 2010 11:35, "David DEMELIER"  wrote:

Hello,

I'm working on many projects, and writing makefile is really painful.
I love the BSD Makefile syntax obviously, but I also love that people
using Linux could run make to build my projects too. And using BSD
makefile syntax disallow this.

Reducing the makefile to the minimal makes them portable, but then you
canno't use loops, conditionnals, and this is getting my nerves.

What could I do to write Makefile compatible on every operating
systems ? I'm thinking about Cmake but I hate the syntax, also for
dmake...

Kind regards,

--
Demelier David
___
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: IPFW at startup.

2010-11-15 Thread Chris Rees
It's not a great idea to hack the rc.d scripts, they can be clobbered when
updating.

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.

On 15 Nov 2010 08:45, "Wojciech Puchar"  wrote:

simply edit /etc/rc.d/ipfw and make it doing only what you want.



On Sun, 14 Nov 2010, Grant Peel wrote:

> Hi all,
>
> I seem to have one server that does not flus...
___
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 ZFS ready for prime time?

2010-11-15 Thread Chris Rees
On 15 November 2010 19:33, Wojciech Puchar  wrote:
>>>
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "
>>> freebsd-questions-unsubscr...@freebsd.org"
>>>
>>
>>
>> please elaborate
>
> look at archives. i really don't want to repeat the same many times.
> And anyone that actually have clue about what is computer, disk drive,
> reliability and algorithms and can think - after reading how ZFS is designed
> will understand that.

When did you ever 'repeat' that in the first place? Can you provide a
link, I don't recall seeing anyone say that ZFS is a toy.

Chris
___
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: how to generate pi in c

2010-11-15 Thread Chris Rees
On 11 November 2010 12:06, Wojciech Puchar  wrote:
>
>> Does anyone has a "generate-pi.c" source code?
>
> atanl(1)

Er, arc tan of 1 is pi/4.

Try atanl(1)*4, or for a less wasteful instruction try using the constant M_PI

Also, forgive me if I'm wrong, but this looks like a homework question.

Chris
___
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 ZFS ready for prime time?

2010-11-15 Thread Chris Rees
On 15 November 2010 19:59, Peter Boosten  wrote:

> He's consistent in any case (a quick google search reveals this 2008
> message):
> http://www.mail-archive.com/freebsd-questions@freebsd.org/msg192926.html

Consistent, but still just spouting uninformed FUD.

Chris
___
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 ZFS ready for prime time?

2010-11-15 Thread Chris Rees
On 15 November 2010 20:10, Devin Teske  wrote:
> On Mon, 2010-11-15 at 20:33 +0100, Wojciech Puchar wrote:
>> >>
>> >> ___
>> >> freebsd-questions@freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >> To unsubscribe, send any mail to "
>> >> freebsd-questions-unsubscr...@freebsd.org"
>> >>
>> >
>> >
>> > please elaborate
>> look at archives. i really don't want to repeat the same many times.
>> And anyone that actually have clue about what is computer, disk drive,
>> reliability and algorithms and can think - after reading how ZFS is
>> designed will understand that.
>>
>
> Sounds like FUD.
>
> Like the OP, I too am interested in the current state of ZFS. We've been
> following the threads as far as build 28, and I do indeed see positive
> improvement and continued development. However, is anyone that is
> actively involved in the project able to provide a snapshot opinion of
> the production readiness of ZFS for enterprise deployment?
>
> If the opinion is that ZFS is not ready for production, are there any
> technical explanations as to the efficacy or lack thereof rather than
> the above philosophical FUD which implores the OP to pour over massive
> archives (which can paint an inverse picture because the archives are
> usually filled with a higher number of issues than success stories --
> which is true of nearly ANY mailing-list)?
> --
> Cheers,
> Devin Teske

I'm afraid that we can rely on Wojciech to constantly recommend that
you go back to using technology from 20 years ago, because keeping up
with anything current scares him, and he can't be bothered to research
anything properly, instead making sweeping statements about things he
knows little about.

Chris
___
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: *default release=cvs tag=RELENG_8 in both standard-supfile and stable-supfile

2010-11-16 Thread Chris Rees
On 16 November 2010 18:09,   wrote:
> I was wondering why both the stable & standard supfiles on FreeBSD-8.1 /
> amd64 both have the exact release tag:
>
> *default release=cvs tag=RELENG_8
>
> Shouldn't they be different? What would be the correct tab for each supfile
> respectively?

On my machine, it's not; they're different (and I have RELENG_8_1).

However, if you checkout RELENG_8 then standard-supfile will be for
RELENG_8 which is the same for STABLE, so I assume you've actually
checked out RELENG_8, not RELENG_8_1. Were you to checkout RELENG_8_1
you'd have that tag in standard-supfile.

If you get what I mean... I'm supposed to be a teacher too!

Chris
___
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: Does MAC version of iTunes work on FreeBSD?

2010-11-16 Thread Chris Rees
On 16 November 2010 19:26, Nathan Vidican  wrote:
> On Tue, Nov 16, 2010 at 2:09 PM, Steven Friedrich  
> wrote:
>>
>> --
>> System Name:   laptop2.StevenFriedrich.org
>> Hardware:      2.80GHz Intel Pentium 4 (HTT) with 2 GB memory
>> OS version:    FreeBSD 8.1-RELEASE-p1 i386 (6.4 MB kernel)
>> manager(s):    kde4-4.5.3
>> X windows:     xorg-7.5    X.Org X Server 1.7.5
>
> No. The Mac version of iTunes depends on the Cocoa application
> framework, which is a set of Objective C objects that, as far as I am
> aware of, has no compatible framework under FreeBSD.
>
> --
> Nathan Vidican
> nat...@vidican.com


Neither does the Windows version.

http://appdb.winehq.org/objectManager.php?sClass=application&iId=1347

You could however try gtkpod, rhythmbox or Amarok if your goal is to
sync your iPod.

Also, please don't write X windows, its name is the X Window System [1].

Chris

[1] http://en.wikipedia.org/wiki/X_Window_System#Nomenclature
___
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: adding/updationg a Port

2010-11-20 Thread Chris Rees
On 20 November 2010 13:57, Fbsd8  wrote:
> Chip Camden wrote:
> Well this port was submitted July 20 2010.
> Coming up on 4 mounts of waiting for this simple script port to be added to
> the ports system.
> Is this long delay normal?
> Please tell me what other actions I may need to do to get this port added?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=148777
>

I've posted a followup to the bug report.

Chris
___
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: openssl version - how to verify

2010-11-20 Thread Chris Rees
On 19 November 2010 22:22, Jerry  wrote:
> On Fri, 19 Nov 2010 15:53:11 -0600
> Adam Vande More  articulated:
>
>> On Fri, Nov 19, 2010 at 3:36 PM, Jerry 
>> wrote:
>>
>> > On Fri, 19 Nov 2010 15:08:26 -0600
>> > Adam Vande More  articulated:
>> >
>> > > While I agree with your point in this context, the statement "The
>> > > number of _UNDISCOVERED_ bugs, on the other hand, is an infinite
>> > > one." is false.
>> > >
>> > http://www.unsw.edu.au/news/pad/articles/2009/sep/microkernel_breakthrough.html
>> >
>> > It was later discovered that the software used to certify the kernel
>> > 100% bug-free was not itself bug-free thereby nullifying results.
>> >
>> Link or another "Jerry Fact"
>
> I would have thought that was obvious. Although, it does remind me of
> the old myth that the bumblebee should not be able to fly
> .
>
> "There's a sucker born every minute" is a phrase often credited to P.
> T. Barnum, and quite often true.

No, it's not 'obvious', just like many other things.

People believed Aristotle's assurances about the rate of things
falling for nearly 2000 years until Galileo and Newton pointed out
'obvious' flaws in his method.

Again, link?

Chris
___
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: openssl version - how to verify

2010-11-20 Thread Chris Rees
On 20 November 2010 17:34, Jerry  wrote:
> On Sat, 20 Nov 2010 16:56:05 +
> Chris Rees  articulated:
>
>> >> > > While I agree with your point in this context, the statement
>> >> > > "The number of _UNDISCOVERED_ bugs, on the other hand, is an
>> >> > > infinite one." is false.
>> >> > >
>> >> > http://www.unsw.edu.au/news/pad/articles/2009/sep/microkernel_breakthrough.html
>>
>> People believed Aristotle's assurances about the rate of things
>> falling for nearly 2000 years until Galileo and Newton pointed out
>> 'obvious' flaws in his method.
>
> Which is precisely my point in regards to the link shown above.
>

Er, no.

YOU have the burden of proof in your assertion, 'obvious' is not good
enough. The link above refers to a study; if you think there's been a
bug then show us.

Chris
___
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: next question....

2010-11-28 Thread Chris Rees
On 27 November 2010 17:12, Paul Cartwright  wrote:
> On 11/27/2010 12:06 PM, Chris Brennan wrote:
>> You need to add yourself to the 'wheel' group to su or you need to add the
>> proper line to /usr/local/etc/sudoers to sudo correctly.
>>
> no sudoers on my system:
> $ cd /usr/local/etc
> $ cd sudoers
> cd: can't cd to sudoers

Yeah, you need to install sudo:

# pkg_add -r sudo

Then use visudo as root to edit sudoers.

Do NOT edit sudoers without using visudo, you can lock yourself out if
you mess up the syntax (yes, the voice of experience)!

Chris

> --
> Paul Cartwright
> Registered Linux user # 367800
Hope you're enjoying the switch
___
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: bash command line - can not type "c" char (not echoed)

2010-12-03 Thread Chris Rees
Glad you solved it.

Are you aware that packages and ports are identical once installed?

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 3 Dec 2010 11:35, "JB"  wrote:
> Hi,
>
> this happens both in console and gnome xterm.
> No problem when change from bash prompt to sh subshell.
> There are packages, no ports on my system.
>
> $ uname -r
> 8.1-RELEASE
> $ env |grep -i shell
> SHELL=/usr/local/bin/bash
> $ ls /var/db/pkg/bash-4.1.7/
> No readline lib present.
>
> JB
>
>
> ___
> 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: pass for single user mode

2010-12-11 Thread Chris Rees
Have a look at /etc/ttys.

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 11 Dec 2010 16:34, "K. Yura"  wrote:
> 
> FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
> 2010 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> 
> Hi. Where can I set up password for single user mode? Thanx.
> ___
> 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: pass for single user mode

2010-12-12 Thread Chris Rees
On 11 December 2010 16:55, K. Yura  wrote:
> 2010/12/11 Chris Rees 
>>
>> Have a look at /etc/ttys.
>> Chris

> Thank you very much

No problem. Don't forget that although you've now made it non-trivial
to break into your computer with console access, it's still easy for a
physical attacker to:

- remove your hard drive
- boot from a USB key or CD or floppy etc
- mess with your BIOS settings.

This is why by default there's no root password for single user; if an
attacker has physical access you're screwed anyway!

Chris
___
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: Website Feedback

2010-12-19 Thread Chris Rees
On 19 December 2010 17:32, Ez Javachat  wrote:
> Hello,
>   We love Free BSD.. is there any way that you can add a live chat room on 
> the website so that developers a like can chat live?  Our java irc client is 
> located at ezjavachat.com and our servers all run Free BSD!  It's very simple 
> to add the chatroom... just copy and paste the html code into your website.  
> It's safe and secure!  Please consider this and email back with any 
> questions.  Also, we have a team of moderators that will make sure the 
> chatroom is under control 24/7!  Thanks.
>
> Very Respectfully,
> Matt

Hi Matt,

There's already a 'chat room' set up, but there are a few different
ones, listed here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/support.html#IRC

Hope that helps,

Chris
___
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: A jail with a dash in its name

2010-12-21 Thread Chris Rees
On 21 December 2010 11:23, Christer Solskogen
 wrote:
> On Tue, Dec 21, 2010 at 12:06 PM, krad  wrote:
>> i'd stay away from characters like that. It should be ok in theory to use
>> but in my experience it is more likely to cause problems in the future
>>
>
> There's no problem of having a dash in a hostname, so why should it be
> in a jailname?
>

You tried single quotes?

Chris
___
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: Well, I broke it! FreeBSD V8.1 release

2010-12-22 Thread Chris Rees
Your PATH isn't set.

# fsck /
# mount -uw /
# /bin/sed -i.bak -e 's/^;//' /etc/rc.conf

Or (can't remember where des is kept)

# fsck /usr
# mount /usr
# /usr/bin/sed -i.bak -e 's/^;//' /etc/rc.conf

Good luck!

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 22 Dec 2010 11:01, "Dave"  wrote:
> Hi...
>
> I was trying to disable the console screensaver, and found that in
> sysinstall, there is no way to select "none" as an option.
>
> So I went and edited /etc/rc.conf to comment out the line:-
> Saver="fire" (or whatever it is)
>
> I put a ; at the beginning of the line, and now FreeBSD wont come up,
> showing an error (unexpected ;) and leaving me with a # prompt.
>
> How do I get to re-edit rc.conf, to correct the problem, as all command
> line commands result in a "not found" error.
>
> Also. What's the "Correct" way to disable a console screensaver?
>
> Sysinstall alows you to select and enable one, but not remove it!
>
> Bit of an oversight that I suspect
>
> Regards.
>
> Dave B. (Chief numpty!)
>
>
>
> ___
> 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: AMD Athlon64 Mainboard - NOT SPAM: please check it out :)

2010-12-23 Thread Chris Rees
On 23 December 2010 08:23, Da Rock
 wrote:
> I know its a little OT, but I'm hunting for a mainboard to plug this CPU
> into and build a file server. So the ideal specs are (and maybe dreaming too
> :) ):
>
> 184 pin RAM DIMM
> SataIII 4+ ports
> Either onboard or AGP Video
> 2x Gigabit LAN
>
> Obviously I don't need much RAM, just juice the throughput from the HDD to
> the LAN, and plenty of bandwidth. That said a lot of my specs could be pipe
> dreaming, I know. I'm looking at 3x 2Tb Seagate 64Mb SATAIII's so I'd rather
> not waste it, I'm sure you'd agree.
>
> I'll be setting up RAID5 in some fashion or other, just still choosing my
> method between ZFS and VINUM or something. So the need for as many SATA
> ports is a must :)
>
> Any help finding a suitable model would be much appreciated- very hard to
> find anything still in stock. And of course advice will be very welcome :)
>
> Cheers

http://cgi.ebay.com.au/ASUS-K8N-AMD-Socket-754-AGP-SATA-nForce3-250-MB-EMS-/220703726350?pt=AU_Components&hash=item3362f79b0e#ht_5060wt_1138

I just searched for 754 SATA on ebay.com.au

You _are_ dreaming about the 4x SATA though IMO; I'd just get an expansion card.

Or get a cheap bundle with new MB/CPU; it's not always worth salvaging
an old CPU like that.

Chris
___
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: AMD Athlon64 Mainboard - NOT SPAM: please check it out :)

2010-12-23 Thread Chris Rees
On 23 December 2010 11:44, Da Rock
 wrote:

>
> Thanks, but Athlon64 is a 939. Yeah, it may not be worth salvaging, but I
> thought the cost might be less... I'm more than likely wrong. Worth putting
> feelers out, though :)
>

Athlon64s can be 754, 939 or AM2. Perhaps you meant *your* Athlon64 is a 939?

Sorry you're not having much luck.

If I knew the Aussie market I'd help you to pick something comparable,
but that's better left to someone more local for you!

Hope you get some results soon.

Chris
___
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: AMD Athlon64 Mainboard - NOT SPAM: please check it out :)

2010-12-23 Thread Chris Rees
On 23 December 2010 13:57, Da Rock
 wrote:
> On 12/23/10 23:16, Chris Rees wrote:
>>
>> On 23 December 2010 11:44, Da Rock
>>   wrote:
>> 
>>
>>>
>>> Thanks, but Athlon64 is a 939. Yeah, it may not be worth salvaging, but I
>>> thought the cost might be less... I'm more than likely wrong. Worth
>>> putting
>>> feelers out, though :)
>>>
>>>
>>
>> Athlon64s can be 754, 939 or AM2. Perhaps you meant *your* Athlon64 is a
>> 939?
>>
>> Sorry you're not having much luck.
>>
>> If I knew the Aussie market I'd help you to pick something comparable,
>> but that's better left to someone more local for you!
>>
>> Hope you get some results soon.
>>
>>
>>
>
> Well thats from memory, and it is pretty old now I agree. Might have been a
> local thing then. As I remember it only the Athlon and then Semperon's were
> 754. The 64's and FX's were 939. The later Athlons were AM2, but that was
> just after I got this one, and they're the X2's I believe. But again, that
> may have been local.

I think you're thinking of Socket 462. This might clear it up a little:

http://en.wikipedia.org/wiki/Athlon64

Chris
___
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: How to build a BROKEN port?

2010-12-30 Thread Chris Rees
On 30 December 2010 07:21, Da Rock
 wrote:
> On 12/30/10 15:52, per...@pluto.rain.com wrote:
>>
>> Charlie Kester  wrote:
>>
>>
>>>
>>> Most of the time, possessives are formed with apostrophe+s.  I'm
>>> not sure, but "its" might be the only exception to the rule ...
>>>
>>
>> "It's" seems to be the most common misusage, but I have seen "her's",
>> "our's", and occasionally "their's".  Interestingly, I've never seen
>> anyone write "hi's" when meaning "his".
>>
>>
>>>
>>> On the other hand, people who write "loose" when they mean "lose"
>>> deserve our most scathing scorn.  :)
>>>
>>
>> Perhaps they have merely lost their linguistic bearings.
>>
>> Innaddverttentt ddoubblle llettterss ccann occcassionnallly bbee
>> ccaussedd bby ffllakkeey kkeeybbooarddss :))
>>
>
> I find most teenagers (and getting older too) can't tell the difference- and
> its not their keyboards.
>
> Oddly enough, their teachers do it on a regular basis as well: in their
> handwriting!

This teacher doesn't thank you very much! That is, if the poor kids
can read my writing

Chris
___
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: How to build a BROKEN port?

2010-12-30 Thread Chris Rees
I'm pretty sure it's in the Porter's Handbook under the marking as BROKEN
section

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 30 Dec 2010 11:32, "Eitan Adler"  wrote:
>>> Thanks for the reply, but can someone tell me if this is documented
anywhere
>> particularly? I'm going to be pissed if I missed it ;)
>
> It does not seem to be documented anywhere. I found it by grepping
> for BROKEN in the Mk subdirectory. I will submit a pr now to add it to
> ports(7) and the top of bsd.port.mk
>
>
>
> --
> Eitan Adler
> ___
> 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: How to build a BROKEN port?

2010-12-30 Thread Chris Rees
I agree. Go for it!

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 30 Dec 2010 11:44, "Eitan Adler"  wrote:
> On Thu, Dec 30, 2010 at 6:35 AM, Chris Rees  wrote:
>> I'm pretty sure it's in the Porter's Handbook under the marking as BROKEN
>> section
>
> Heh - now I feel silly for missing it :-{
> Either way it should be documented in ports(7) and bsd.port.mk.
>
> --
> Eitan Adler
___
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: / file system is full, but du does not show that it's full

2011-01-06 Thread Chris Rees
Server has been rebooted before to try this.

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 6 Jan 2011 14:06, "Peter Vereshagin"  wrote:
> Concrete jungle, oh freebsd-questions, you've got to do your best...
> 2011/01/06 16:57:34 +0300 Peter Vereshagin  => To
freebsd-questions@freebsd.org :
> PV> This may release your unused filehandles.
>
> used but unlinked, really, oops.
>
> 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2
6627)
> --
> http://vereshagin.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"
___
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: FreeBSD Decision

2011-01-15 Thread Chris Rees
On 15 January 2011 01:56, James Phillips  wrote:




> One thing to keep in mind is that BSD speaks a different POSIX "dialect" than 
> most Linux distros (though that is likely true between Linux distros as 
> well). This means things like NFS/NIS won't work without tweaking. One thing 
> I also ran into is that md5sum (Debian) ~= md5 (BSD). I suppose you are 
> supposed to use SHA2 these days anyway :P
>



I'd like to jump in and say that the 'dialect' that the GNU utilities
use often have a very strange interpretation of POSIX. Many porters
(for example) have to spend huge amounts of time repairing GNUisms in
install scripts; for example when I was helping to port Scilab
(Bashisms in '['), and some work I've done on Busybox has meant I've
had to work around GNUisms in sed and find.

On the risk of starting a flame war, I believe that the GNU folks are
guilty of exactly the same embracing and extension tactics (however
unwittingly) as everyone's favourite software corp.



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


  1   2   3   4   >