Re: Portupgrade Package Question

2011-07-10 Thread Chris Whitehouse

On 10/07/2011 14:02, Jerry wrote:

On Sun, 10 Jul 2011 00:35:28 -0400
b. f. articulated:


This is the tag that you would use on src collections to update your
base system sources (usually in /usr/src) to 8-STABLE.  You would use
RELENG_8_2 for the 8.2-STABLE security branch, RELENG_8_2_RELEASE for
8.2-RELEASE, and so on.


Reading through the archives, several years worth, it appears that this
is one of the most frequently asked questions. Many users, both new
(obviously) and some not so new get confused as to what is the proper
tag to use for each branch; ie "Stable" "Current", etc.Maybe there
should be some way to make it easier to understand. For example:


I was one of them until I discovered that googling "FreeBSD tags"
leads straight to http://www.freebsd.org/doc/handbook/cvs-tags.html

Eg
RELENG_8 The line of development for FreeBSD-8.X, also known as FreeBSD 
8-STABLE
RELENG_8_2 The release branch for FreeBSD-8.2, used only for security 
advisories and other critical fixes.

...
RELENG_8_2_0_RELEASE FreeBSD 8.2 Release

Chris



8.2-RELEASE: original release of code sans any updates, etc.

8.2-STABLE: released version plus security updates

8.2-CURRENT: All updates, security&  otherwise to the original version

?-CURRENT: The absolute latest release of FreeBSD irregardless of what
version it is.

Anyway, it is just a suggestion. In any case I think it might be easier
for some to comprehend. Anything that eliminates confusion is a plus.



___
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: Portupgrade Package Question

2011-07-09 Thread Chris Brennan
On 7/9/2011 1:14 PM, Thomas D. Dean wrote:
> As root, I attempted to use
>   portupgrade -PPRv m4
> which attempted to access 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz
> but failed - File unavailable (e.g. file not found, no access)
> 
> I changed etc/pkgtools.conf 
>OS_PKGBRANCH="8-STABLE"
> and
>   portupgrade -PPRv m4
> which attempted to access
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz
> failed with the same message.
> 
> I can ftp either file.
> 
> I get the same error with any out-of-date port.
> 
> What am I doing wrong?


Have you made sure you updated ports? 'portsnap fetch extract' should be
sufficient.


-- 
> Chris Brennan
> --
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



signature.asc
Description: OpenPGP digital signature


Re: ZFS on Root

2011-07-06 Thread Chris Brennan
* Todor Dragnev  [2011-07-06 10:43:17 +0300]:

Inline reply:

> 
> Hi Chris
> 
> I just installed ZFS on ROOT on two 1TB SATA disks:
> 
> First you need to download freebsd 8.2 memstick release
> 
> http://www.freebsd.org/releases/8.2R/announce.html

I did this via VirtualBox first, so the livefs iso or the DVD was more 
approprite here, I choose the dvd so I had quick install times.

> After booting from memstick you must enter in Fixit shell and then to 
> follow step by step instructions from post in Dan's blog:
> 
> https://www.dan.me.uk/blog/2010/02/08/booting-from-zfs-raid0156-in-freebsd/
 
A most excellent guide to follow, I made some slight adjustments for my 
environment and desire, even scripted the process a little bit (with my 
tastes of course) and it went without error. The problem came when I 
went to reboot. The system just hangs, I'm going on 7min now with it 
just sitting at what I would presume should be the loader prompt. No 
import moves things along. The last post on the link you provided pretty 
much sums up my issue currently.

If you or anyone else has some advise on this, I would be greatly 
appreciated.

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: Looking to build a router box, seeking some general advice

2011-07-02 Thread Chris Brennan
* Daniel Staal  [2011-06-30 20:42:48 -0400]:

> --As for the rest, it is mine.
> 
> There are a variety of stores that will sell ALIX kits, either 
> pre-assembled or not.  I've used Netgate recently 
> (<http://store.netgate.com/Default.aspx>), but depending on where you are 
> others may be better.  Many will also sell them pre-loaded with m0n0wall or 
> pfsense, both of which are FreeBSD-based router/firewall distros with web 
> interfaces to do most things you would want.  (Although I know pfsense at 
> least doesn't support IPv6 configuration through the web interface yet.  Of 
> course, you can still ssh in.)

Excellent! This suites my needs perfectly for now. I've gone ahead and 
purchased a Netgate m1n1wall-2D13-black-system with an accompanying 
wireless kit. Their warehouse is closed for the US Independence holiday, 
so I won't have my order shipped till after Monday.

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: Looking to build a router box, seeking some general advice

2011-07-02 Thread Chris Brennan
* Maciej Milewski  [2011-07-01 01:15:15 +0200]:

> Hi Chris,
>
> Case for Alix shouldn't be a problem. Many universal ones may be used 
> (although they may be larger than your needs f.ex. external ones with 
> integrated antennas)
> I took the PS, aluminium case for home/office use and board from one seller 
> and 
> it all fits and works fine. You may even make your own case if you want :)
> Usually Alix boards have wide range of PS support. F.ex. Alix.2/6 input 
> voltage is 7 to 20V DC. I tried many Linksys/Netgear 12V/1A PS and they 
> worked 
> fine. The only thing which may be different is power jack, sometimes they 
> make 
> different diameters for different routers. AFAIR Alix use 2,5mm. The CF cards 
> are not a problem on the market. You'll need to select if you want to use 
> pfsense or normal FreeBSD(NanoBSD builds). In /usr/src/tools/tools/nanobsd 
> you 
> should find example build for PCEngines board. NanoBSD with Alix is very nice 
> connection. You may create two root slices/parts, config and data. This eases 
> upgrade procedure - you'll always have old working system and the new one. 
> Root is mounted in read-only mode so eventual power loss will not be a 
> problem.
> Taking Alix(or any x86 compatible board) and having i386 buildhost 
> environment 
> you may install packages from ports to your prepared image.
> 
> For router you may use ARM or MIPS boards too but they need to be crossbuilt 
> and may need more work to setup them and of course their prices may be higher 
> than Alix. You should find some info about them on the wiki.freebsd.org

Excellent suggested, worthy enough to hang on to. I've made note of your 
suggestions and will keep it handy for future reference.

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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 is xz ?

2011-07-02 Thread Chris Whitehouse

On 02/07/2011 07:38, Polytropon wrote:

On Sat, 02 Jul 2011 11:53:17 +0530, Manish Jain wrote:


Hi all,
I just downloaded FreeBSD-8.2-RELEASE-i386-dvd1.iso.xz and the md5
checksum is correct. Can someone please tell me what does that xz at
the end stand for ? It looks like it stands for some kind of
compression (gzip/bzip2/some new format), but I can't figure out
exactly which one.


It's xz compression, archivers/xz from ports, which is


...but before you install it you may find it is part of the base system.

%pkg_info -Ix xz
pkg_info: no packages match pattern(s)
%which xz
/usr/bin/xz

I'm on 8.1-R

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"


Looking to build a router box, seeking some general advice

2011-06-30 Thread Chris Brennan
Greetings!

While trying to learn IPv6 as best as I can and messing with my Linksys 
WRT54Gv3 router running DD-WRT, I realized that it cannot properly do 
IPv6 yet. This leaves me rather limited. More then once some people on 
IRC who were helping me with this suggested I build my own router, this 
has been something I've been looking to do for quite some time and this 
might be the fire I need lit to get motivated. The overall suggested 
board was an ALIX board[1] from PC Engines[1].

This is all rather new to me so I am unsure where to go from here, what 
all is needed (a breakdown of necessary/optional hardware/items). The 
memory and cpu I know I could google for w/o much issue. What I foresaw 
as problematic was a case for the device and a power supply. Are these 
just as easily googled for? Inversely, instead of me building my own 
(which would be great experience!) is there a place that sells devices 
such as these pre-assembled?

The reason I direct this question here is because I do intend to use 
FreeBSD as the devices OS and figured who better to ask!

[1] http://pcengines.ch/alix.htm
-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: ZFS on Root

2011-06-23 Thread Chris Brennan
* Peter Toth  [2011-06-23 22:54:59 +1200]:

> Did you set the mount point properly for your ZFS root? My previous post
> was intended as an example only, you need to tailor it to your setup.
> Also, you can use mfsbsd for installation very easy and straightforward
> http://mfsbsd.vx.sk/ . 

This looks great, but my foggy brain isn't understanding how to use it? 
Do I just burn the iso to media and boot it? Or is there some track that 
involves a wand (sorry for my sarcasm lol)


-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: ZFS on Root

2011-06-21 Thread Chris Brennan
* Peter Toth  [2011-06-22 12:16:11 +1200]:

> Did you set the "bootfs" property on your root pool? Example: "zpool set
> bootfs=tank/root tank"

OK, I booted back to the livefs memostick, imported my zpool (tank) and 
zpool promptly tells me the following

Fixit# zpool set bootfs=tank/root tank
cannot set property for 'tank': no such pool or dataset.
Fixit

But ... there is! It was a great tip and a worthy try. But it didn't 
work, got any more idea's?

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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: ZFS on Root

2011-06-21 Thread Chris Brennan
* Peter Toth  [2011-06-22 12:16:11 +1200]:

> Did you set the "bootfs" property on your root pool? Example: "zpool set
> bootfs=tank/root tank"

Well, the wiki I linked has the following:

Fixit# mkdir /boot/zfs
Fixit# zpool create zroot mirror /dev/gpt/disk0 /dev/gpt/disk1
Fixit# zpool set bootfs=zroot zroot

I subsequently modified that as follows:
   Fixit# mkdir /boot/zfs
   Fixit# zpool create tank /dev/gpt/disk0
   Fixit# zpool set bootfs=tank tank

So was the wiki mistake and I do indeed need to "zpool set 
bootfs=tank/root tank instead?

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

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


ZFS on Root

2011-06-21 Thread Chris Brennan
OK, So I got ZFS installed on this new box, I had to loose two disks due 
to them being faulty, so I removed the IDE expansion card and booted 
from an SD card, all went well (according to this guide -> 
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror). I adjusted the 
instructions there for only one disk though and will worry about adding 
the others to the zpool after the fact and the system has booted on it's 
own. 

The problem is this, the system starts to boot but then fails to find 
zfs:tank, I get dropped to the mountroot prompt with the following 
advise:

Trying to mount root from zfs:tank
ROOT MOUNT ERROR:
If you have invalid mount options, reboot, and first try the following 
from the loader prompt:

set vfs.root.mountfrom.options=rw

and then remove invalid mount options from /etc/fstab.

Loader variables:
vfs.root.mountfrom=zfs:tank
vfs.root.mountfrom.options=rw

Manual root filesystem specifications:
: Mount  using filesystem 
  eg: ufs:/dev/da0s1a
  eg: cd9660:/dev/acd0
  This is equivalent to: mount -t cd9660 /dev/acd0 /

?   List valid disk boot devices
Abort manual input

mountroot> ?

List of GEOM managed disk devices:
  ufsid/47ce961fb53808acd ufsid/47ce961fb53808ac ad6s1d ad6s1 ad7 ad6 
  ad5 gptit/f6af4300-9c1a-11e0-b38d-000ea68c8b0e gpt/disk0 
  gpt/f6a70bb3-9c1a-11e0-b38d-000ea68c8b0e gpt/swap0 
  gpt/f6a4de0c-9c1a-11e0-b8d-000ea68c8b0e ad4p3 ad4p2 ad3p1 ad4


<8 lines repeat from above>

So what did I miss? I was able to follow the instructions without fail, 
the only instruction I had to do on my own was to create /tank/boot/zfs 
first to copy the cpool.cache over. All the other instructions worked 
with issue, the first time. This is the second time I've done this on 
this box in two days, the first time I made a mistake, so I scripted the 
instructions (rather crudely) to ensure I did things correctly, each 
portion of the script was modified to reflected how I wanted my system 
to be (mostly changing zpool as the pool name to tank. I can make the 
scripts available if someone would like to look at them.
-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

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


New FreeBSD8.2 server install.

2011-06-20 Thread Chris Brennan
I've got a new machine to replace the one that died on me a few weeks 
ago and since then, I've collected and cataloged my drives of various 
sizes and I am curious if I am able to do something like a poor-mans 
LVM, I thought about gmirror but that might be tricky, since I would 
have to slice drives up according to the smallest drive I have (current 
an unmarked 40GB drive). Is there a way within FreeBSD to concatenate 
the drives into a software raid0 array?

**EDIT** 
I postponed this mail and actually got significant answers from 
freenode/##freebsd, more then I antisipated. gconcat is what I was 
looking for above and in lieu of that, ZFS, which I would very much like 
to utilize, I'm just not sure how to go about it with a hodge-podge 
collection of disks:

1) 1x150GB PATA/EIDE drive
2) 2x80GB Drives (1 SATA, 1 PATA/EIDE)
3) 1x60GB PATA/EIDE drive
4) 2x40GB PATA/EIDE drives

The machine is a P4 Prescott, 2.6Ghz Machine (32-bit CPU), like I 
mentioned, I just don't know what to do and am looking for some 
suggestions.

P.S. Currently, this machine is installed w/ the 150GB disk and I am 
sitting at the Fixit prompt because I may whipe the drive and start over 
with something else.

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

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


Fwd: free sco unix

2011-06-15 Thread Chris Brennan
-- Forwarded message --

From: Chris Brennan 
Date: Wed, Jun 15, 2011 at 9:06 PM
Subject: Re: free sco unix
To: Thomas Hansen 

'y' and 't' are too close in mutt :(


* Thomas Hansen  [2011-06-16 00:07:11 +0200]:

This was off-list, redirecting back.

> but does freeBSD and unixware use the same core/kernel

1) Don't top post. Bad form and not list policy. See signature for why.

2) No, The UNIX Core/Kernel is propritary, see my last e-mail

3) Obey Reply-to: headers. Adjust your headers to properly reply to the
list and not individually.

--
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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-15 Thread Chris Brennan
* Thomas Hansen  [2011-06-15 22:34:23 +0200]:

> one of my mates teacher says that unix is free and your system running 
> like UnixWare / SCO UNIX and  and that unix is free
> 
> 
> Do your BSD kernel run the same unix kernel as unixware

FreeBSD is a UNIX-like clone, which is indeed free, whereas UNIX is 
still the proprietary property of AT&T/Bell Labs.

To read more on freebsd, you can go to http://www.freebsd.org as well as 
http://en.wikipedia.org/wiki/FreeBSD, that should give you sufficient 
information to move further.

You might want to at least go read 
http://en.wikipedia.org/wiki/SCO_OpenServer to figure out where SCO UNIT 
stands which is not AT&T/Bell Labs UNIX nor is it FreeBSD.


-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)

___
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 on IBM 3630

2011-06-14 Thread Chris Hill

On Wed, 15 Jun 2011, Julian H. Stacey wrote:


Peter Toth wrote:

Anyone is running IBM 3630 out there with FreeBSD?


Short:  Try Harder ;-)
Medium: If one ask a better question, one gets better answers.


Well said.

I misread the subject at first, and thought the OP was asking about 
running FreeBSD on an IBM 360  =:^O



Long:   You may improve responses by adding eg:
- Why you want to know
Thinking of buying or selling ?
Got it working & thinking of adding to compatabiity list ?
Or ... ?
- If you have one, try it &  attach dmesg or error message etc.
- Summarise hardware,
at least attach a URL such as:
http://www.highlander-estore.com/products.asp?partno=737742G
 or find some better URL eg from:
   
http://www.google.com/#hl=en&sugexp=ldymls&pq=dmesg%20%22ibm%203630%22%20freebsd&xhr=t&q=+%22IBM+3630%22&cp=0&pf=p&sclient=psy&source=hp&aq=f&aqi=&aql=&oq=+%22IBM+3630%22+FreeBSD&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=7ff7d408b5d36764&biw=1560&bih=836&bs=1
 Listing chipsets/ cards usually helps.

Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Reply below, not above;  indent with "> ";  Cumulative like a play script.
Mail plain text:  Not HTML, multipart/alternative, base64, quoted-printable.
___
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"



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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: Build failure /usr/ports/editors/openoffice.org-3 on amd64

2011-06-03 Thread Chris Whitehouse

Michael D. Norwick wrote:

Good Day;

It appears that I cannot build openoffice.org-3 from ports due to an 
error similar to

this;

http://freebsd.1045724.n5.nabble.com/OpenOffice-3-2-fails-to-build-on-FreeBSD-8-0-STABLE-amd64-td3873768.html 



1 module(s):
 nss
need(s) *to* be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/*ports*/editors/openoffice.org-3/work/OOO320_m12/nss/

Attention: if you *build* and deliver *the* above module(s) you may
prolongue your *the* *build* issuing command "*build* --*from* nss"

and ...

http://permalink.gmane.org/gmane.os.freebsd.devel.openoffice/2805

1 module(s):
instsetoo_native
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/ports/editors/openoffice.org-3/work
/OOO330_m20/instsetoo_native/util

Attention: if you fix the errors in above module(s) you may prolongue
your the build issuing command:

build --from instsetoo_native

* Error code 1

I am sorry that I cannot give you the exact error message because I did 
'make clean' in /usr/ports/editors/openoffice.org-3 during my 
troubleshooting.  Google produced the above hits and they are the same 
type of module build error I am seeing.

My build error is in module moz.


Try building it with WITHOUT_MOZILLA see
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=208692+0+current/freebsd-questions

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: FreeBSD Questions off line?

2011-06-02 Thread Chris Brennan
On Thu, Jun 2, 2011 at 4:01 PM, Al Plant  wrote:

Aloha,
>
> I havent seen any FreeBSD questions on line for 2 days. Any body have any
> knowledge about this?
>

Well, it's not offline, your mail came though just fine ... maybe no one has
sent anything?

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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: RAM needed for DHCP + router?

2011-05-27 Thread Chris Hill

On Fri, 27 May 2011, Jaime Kikpole wrote:


On Thu, May 26, 2011 at 7:46 PM, Chris Hill  wrote:

I'm looking to build a NAT / DHCP box for a lab network for my company. My
question is, how do I estimate the amount of RAM the machine will need?


FWIW, I can tell you some experiences that I've had.


Thanks, Jaime, this is very useful.

From what I'm hearing, it seems as though a 32-bit machine with maxed-out 
RAM would be more than adequate to the task. I'll be NAT'ing a "class A" 
worth of addresses, /16 of which will be DHCP range. But as I said, 
throughput will be near-zero; the NAT is for allowing occasional internet 
access for embedded controllers here and there, not for a thundering herd 
of desktop users. The machine will be mainly for serving DHCP, and is not 
the point of internet access for the organization.


Many thanks to all who responded.


Example #1:
At one time, I had as many as 600-800 desktops and laptops receiving
DHCP leases and DNS resolution from a single FreeBSD (5.x?) server.
It was an old Dell desktop that a college had discarded/donated.  I
think it was something like 800MHz and 1GB of RAM.  From what I
remember seeing in "top", "uptime", et. al. it was like the server was
bored.  It was barely doing anything.

Example #2:
I'm currently running a school district with about 800 computers, some
iPads and Nooks, a few dozen network printers, streaming video off of
at least 3 DVRs, and whatever people bring in (unauthorized... we'll
be fixing that shortly).  So let's call it around 1000 - 1300 nodes.
The entire thing is running through a FreeBSD system with two 100Mbps
cards.  I use IPFW to "hijack" certain TCP ports and redirect them
into DansGuardian.  This makes a transparent proxy.  DG and Squid and
BIND and ClamAV and snmpd, the Xymon client all run on this box.  It
acts as a secondary DNS resolver, secondary DNS server for internal
addresses, web proxy, web content analysis and filtering, and more.
Its 8GB of RAM and a 2.0GHz dual core CPU.  Its doing the job just
fine.  No complaints.

Every employee uses web-based services every day.  We even use a fair
amount of streaming video.  Again, this works well.  I've even heard
of people managing to use NetFlix on occasion.  It will saturate our
Internet bandwidth before this server goes down.  I have the graphs to
prove it.

Since you are talking about the box doing NAT, you may find yourself
wanting a web proxy service and/or internal DNS resolver at some
point.  The NAT and DHCP services are, in my experience, not going to
be a big deal.  Configuring BIND to offer internal DNS resolution
would add very little to your load.  I would be really surprised if
any desktop PC that you found for $500-$1000 wasn't up to the task.

That said, here is the important part:

This is going to be a single-point-of-failure for your institution.
If it goes down for any reason, your entire business is off-line.
That includes everything from bad hardware to a routine software
upgrade (FreeBSD or a port).  Do yourself a HUGE favor and build a
redundancy system of some kind.  For example, I'm currently trying to
replace the DansGuardian/Squid/DNS server I listed above with a pair
of servers using CARP <http://www.freebsd.org/doc/handbook/carp.html>.
That way, I can upgrade the OS whenever I want and the district's 800
authorized computers (and 50-200 unauthorized computers, phones,
tablets, etc.) keep working.

Seriously.  Make it redundant.  Its the most important lesson a
systems administrator must learn.  Well, that and scripting.  OK, and
documentation.  :)

Hope that helps,
Jaime

--
Network Administrator
Cairo-Durham Central School District
http://cns.cairodurham.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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: RAM needed for DHCP + router?

2011-05-26 Thread Chris Hill

On Thu, 26 May 2011, Gary Gatten wrote:

Your biggest consumers would be FBSD itself and the routing tables. I 
*think* full internet routing tables are still less than 512MB, (google 
to check), so unless you have more routes than that - 512MB may work, 
1GB most likely will.  Too many unknowns, like; is this ipv4 only or 6 
and 4 routes? Tweaked/minimal kernel, etc.


Sorry, forgot to mention: inet4 for now, probably mixed with v6 in years 
to come. GENERIC kernel if at all possible (trying to minimize maintenance 
and general fussiness level).



And in reponse to Chuck,


How many DHCP leases and NAT clients?


At any one time, probably dozens (maybe hundreds) of leases and hundreds 
(maybe thousands) of NAT clients, but not tens of thousands. Leases and 
NAT clients will come and go on a daily or weekly basis as equipment is 
tested, configured and shipped out.




- Original Message -
From: Chris Hill [mailto:ch...@monochrome.org]
Sent: Thursday, May 26, 2011 06:46 PM
To: FreeBSD Questions List 
Subject: RAM needed for DHCP + router?

Hello list,

I'm looking to build a NAT / DHCP box for a lab network for my company. My
question is, how do I estimate the amount of RAM the machine will need?

This box will be running isc-dhcpd, doing NAT either via natd or pf, and
not much else. I expect the amount of traffic (throughput) to be very
small, but the address space involved is quite large, at least by my
standards. It seems to me that this will require potentially large amounts
of memory for routing tables, etc., but not much disk.

I'll be installing the latest -RELEASE; 32-bit if I can, 64-bit if I must,
depending on how much memory it looks like I'll need. I may also install
webmin for the benefit of my computer-literate-but-not-unix-savvy
coworkers.

Thanks!


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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"


RAM needed for DHCP + router?

2011-05-26 Thread Chris Hill

Hello list,

I'm looking to build a NAT / DHCP box for a lab network for my company. My 
question is, how do I estimate the amount of RAM the machine will need?


This box will be running isc-dhcpd, doing NAT either via natd or pf, and 
not much else. I expect the amount of traffic (throughput) to be very 
small, but the address space involved is quite large, at least by my 
standards. It seems to me that this will require potentially large amounts 
of memory for routing tables, etc., but not much disk.


I'll be installing the latest -RELEASE; 32-bit if I can, 64-bit if I must, 
depending on how much memory it looks like I'll need. I may also install 
webmin for the benefit of my computer-literate-but-not-unix-savvy 
coworkers.


Thanks!


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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: CRUX and FREE BSD

2011-05-25 Thread Chris Whitehouse

On 25/05/2011 18:45, Julian H. Stacey wrote:

Hi Ramu cc questions@


I have to make CRUX and FREE BSD dual boot. Is that possible? how can i do
that?? I have CRUX installed before.


I wrote some notes here:
http://berklix.com/~jhs/txt/install_bsd.html
Hope it may help you&  or similar enquirers.

I dont see anything about this in the handbook,
(that is, shrinking the other OS before installing BSD)
although the topic doesnt strictly belong to FreeBSD,
it would help converts if we had something added I think.
Corrections/ Additions etc welcome.

Cheers,
Julian


Worth adding a note about gparted?

http://gparted.sourceforge.net/

In fact it's mentioned in the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

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: 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: ipv6 spam

2011-05-21 Thread Chris Brennan
On Sat, May 21, 2011 at 9:28 AM, Robert Simmons  wrote:

I have begun receiving ipv6 spam from this mailing list, and I was
> wondering how to determine who the owner of a particular ipv6 address
> is.


A whois may tell you who the block has been given too (ISP wise) ... that
may start you in the right direction

For example:

I have a valid IPv6 address from my hosting provider (they gets used for IRC
on occasion ..)

NetRange:   2610:1E8:: - 2610:1E8::::::
CIDR:   2610:1E8::/32
OriginAS:   AS14595
NetName:NET-THINKTEL6-1
NetHandle:  NET6-2610-1E8-1
Parent: NET6-2610-1
NetType:Direct Allocation
RegDate:2007-05-04
Updated:2007-05-04
Ref:http://whois.arin.net/rest/net/NET6-2610-1E8-1

As you can see, a whois of that ip reveals the block provided to my hosts
provider, from there you could start asking questions. Spam sent to the
list, I tend to ignore, spam sent to me, I investigate and make go away. I'v
also run a tracert(6) to find a general geographic region of the spam, if
it's origin was reasonably local then I fire e-mails off to those locations
as best I can.

An interesting story here ... I actually knew one of my spammers,
personally, a pseudofriend who always tried to show off to me, he had money
and was always buying gadgets that he had no use for or how to use. When I
figured it out I almost laughed meself stupid. I then took all my proof to
his Mom and it all stopped, all his gadgets mysteriously disappeared from
his house and he stopped calling ... coincidentally, all of that
mysteriously disappeared junk, magically appeared in my bedroom :D

Anywho there are ways, just takes patience and persistence...

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-20 Thread Chris Brennan
On Fri, May 20, 2011 at 11:23 AM, Polytropon  wrote:

On Fri, 20 May 2011 10:26:01 -0400, Chris Brennan 
> wrote:
> > OK, I am off now to research how to build the kernel w/o debugging
> symbols
> > ... then I shall embark on this.
>
> It should be "makeoptions DEBUG=-g" _NOT_ being present
> in the config file. Another idea would be to omit the
> backup of the old kernel.


I will modify my kernel config to reflect that change and I was going to
make a backup ... I'm using the same config from 7.x, only slightly modified
to reflect this machine, that said, how do I clobber the current kernel and
not back it up when I install the new one?

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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: Over-whelmed by ports and package tools

2011-05-20 Thread Chris Brennan
On Fri, May 20, 2011 at 10:26 AM, Xn Nooby  wrote:

> I have tried PC-BSD, and look forward to version 9.0.  I really don't
> like KDE, though.  I hear some rumblings about a Gnome developer
> wanting to drop BSD support, so maybe I better start liking KDE.
> PC-BSD seems to have done a great job reproducing the way Mac's
> install software, by using self-contained bundles (PBI's). And next
> version of PBI is supposed to not need a GUI. I'm sure I will be
> trying the next version PC-BSD. Hopefully to be released soon.
>

That Red-Hat developer has been preaching to the choir for a long time from
my understanding. I think he wants to turn Gnome Desktop Environment into a
Desktop of it's own, making the Linux underbelly disappear much like
Microsoft made DOS disappear from their lineup, making Windows the primary
focus. if Gnome goes the way of Windows  there is a plethora of other
choices to choose for a WM ... openbox/blackbox/fluxbox, XFCE, yes KDE is an
option, it takes some getting used to but it can still be used.

As a side note, I wonder what kind of impact that kind of decision making
will have on the Android platform ... my phone says it's running X/Gnome for
the UI.

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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: Over-whelmed by ports and package tools

2011-05-20 Thread Chris Brennan
On Fri, May 20, 2011 at 10:27 AM, Xn Nooby  wrote:

I think the extract is only done during the install, and then after
> that it would be "portsnap fetch update" ?  Or is it better to do an
> extract each time?
>

I've always been told to do portsnap fetch extract, but I went a step
farther with my alises, I have a pfu as well, that does portsnap fetch
update

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-20 Thread Chris Brennan
On Fri, May 20, 2011 at 10:18 AM, Polytropon  wrote:

On Thu, 19 May 2011 21:58:13 -0400, Chris Brennan 
> wrote:
> > One last question ... hopefully lol. am I going to run into any issues w/
> > the default fbsd6 layout?
> >
> > [root@Ziggy [~]# df -h
> > Filesystem SizeUsed   Avail Capacity  Mounted on
> > /dev/ad0s1a496M328M128M72%/
>
> Maybe not so good (as a default) as soon as you're going
> to compile kernels for 8.x, where a / size of 1G would
> be better (although you can even get a FreeBSD / partition
> fully functional in < 500 MB).
>
> The rest of the df output looks normal.
>
>
>
> > What I think I failed to previously mention is that this machine started
> out
> > with fbsd6.x, was upgraded many times from 6x though 7.1 where it fell
> into
> > disuse. With my recent repurpose of this box ... I'm concerned that it
> might
> > be a moot point if base won't fit on rot root slice.
>
> In this case, you should switch off all debugging for the
> kernel, and maybe even omit the backup kernel.OLD mechanism.
> But attention! This can be dangerous! Still you have the
> option to boot from a live system (Fixit should be enough)
> to manually make a backup copy of the running kernel, and
> in case anything fails at boot stage, use the live sytem
> to re-"install" the old kernel. But in fact, this should
> not be required.



OK, I am off now to research how to build the kernel w/o debugging symbols
... then I shall embark on this.

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Thu, May 19, 2011 at 5:04 PM, Polytropon  wrote:

Yes, the recommended order. :-)
>
> First, update your ports/ and src/ trees (e. g. using portsnap
> and csup), then compile and install. You don't need any tools
> provided by ports for this task. After you've started your
> "new" system, install the additional software you need.
>
> Mentioning the shell was good: In case you remove bash from
> the system, it may cause trouble when a shell is requested
> for a user that is not there (the shell), as bash is not part
> of the base system. Still it seems that you'll do most of
> the work mentioned in the above paragraph as root, you will
> use root's default shell (which is csh) anyway.
>

One last question ... hopefully lol. am I going to run into any issues w/
the default fbsd6 layout?

[root@Ziggy [~]# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M328M128M72%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M234K456M 0%/tmp
/dev/ad0s1f 33G5.7G 25G19%/usr
/dev/ad0s1d1.3G1.0G226M82%/var
/dev/ad1s1d 54G8.9G 41G18%/usr/home
/dev/ad6s1  74G 61G 13G82%/mnt/music
linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
[root@Ziggy [~]#

What I think I failed to previously mention is that this machine started out
with fbsd6.x, was upgraded many times from 6x though 7.1 where it fell into
disuse. With my recent repurpose of this box ... I'm concerned that it might
be a moot point if base won't fit on rot root slice.

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Thu, May 19, 2011 at 4:40 PM, Polytropon  wrote:

I would advice to do so, no matter what the pkg_delete
> command will cause. If I remember correctly, MODYFIED
> files will not be touched (checksum test), and a directory
> won't be removed if it contains something that won't
> be deleted according to the initial "packing list".
>
> So if anything unexpected happens - you can consult your
> "before" configuration files to change the "after" ones,
> or simply re-use them if possible.


Thanks for getting back to me so quick on this :D. That was pretty much what
I needed to know, so I shall embark on this shortly.

After much thought, I think my process would be this:

chsh back to bin/sh (I currently use bash as my primary shell)
logout back in for shell change
pkg_delete -fravd
get new base srcs
portsnap
(re)install desired tools (vim mostly, although I can function in vi)
rebuild world/kernel for new version
rebuild new tools for new libs

am I forgetting something?

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-19 Thread Chris Brennan
On Wed, May 4, 2011 at 6:11 PM, Jerry  wrote:

Yes, from the man pages it states it will rebuild all packages and their
> dependencies. I simply include the "l" so he would have a log file
> available if something did go wrong.
>
> In any case, I thought it might save him some trouble rebuilding his
> system. There are some ports; however, that will not build correctly
> unless the program is first removed from the system. Obviously not a
> friendly concept; however, a reality. The OP would have to remove them
> first I suppose before doing a force rebuild. Maybe just doing a
> "pkg_delete -adv" would be a better idea.
>
>
Sorry it took me so long to get back to this e-mail, been busy w/ a bunch of
stuff lately, but this box is still on my todo list.

portupgrade/portmaster don't comeplete due to some bazaar issues that I no
longer wish to try and fix. A recent development that I've discovered is
that I can no longer compile anything, even as a user, it all just fails and
it's one colossal headache I no longer want.

If I go the way of pkg_delete -fravd, will it save configs in
/usr/local/etc/ ? I just need to know if I need to take the extra step to
archive that directory beforehand or not I'm just looking at
possibilities of saving myself any other potential conf file
reconfigurations in the future ... like I know I will need to reinstall
samba and I would hate to loose that config and have to rewrite it...

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
___
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"


GL811e usb chipset

2011-05-16 Thread Chris Whitehouse
Hi, does anyone know if the GL811e chipset is supported in 8.2R? It's 
supposed to be common in external usb hard disk and optical disk drives.


It's not mentioned in the hardware notes and google didn't turn up much.

thanks

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: Established method to enable suid scripts?

2011-05-15 Thread Chris Telting

On 05/13/2011 14:34, Alejandro Imass wrote:

On Fri, May 13, 2011 at 6:07 AM, Chris Telting
  wrote:

On 05/13/2011 01:32, krad wrote:

[...]

me ask you.. is "sudo ping" acceptable? Please explain the logical reason
why not. It would be the preferred method if suid didn't exist and sudo was
part of the base system.

The sudo versus suid theme is discussed ad-nauseam in many lists and
forums, as well as the C wrappers for doing stuff suid.
IMHO, however, sudo can give you more granular control though
paradoxically relies on suid itself.
The question here is why make the whole freaking interpreter suid when
you can granularly control the specific script.
Anyway, I would personally use a wrapper or sudo.
I honestly tried when I posted the question to avoid the question of 
right or wrong. I simply have one opinion for my own need and preference 
and don't want to go into rigid detail and did not mean to reopen the 
issue. I simply wanted to know if anyone had a patch already or a flag 
enabled it.  It's similar to the phrase that if  you have to ask you 
can't afford it except in this case it means you can. I have a feeling 
someone somewhere did it. If no one comes forward I will post a proper 
patch for review and maintain documentation of the pitfalls to the 
extent I can and that others forward to me.  I have no desire to change 
Freebsd's standard practice. I leave that to the steering committee of 
each and every distribution of unix like systems. I am simply grateful 
to be able to make my development systems work the way I want it to 
because I want it to. It's a question of complete phylosophy to me as to 
the base unix permissions system. I simply know what appeals most to me 
the way that I use systems.  We all love Freebsd because it means 
choice.  I apologize to anyone that thinks I reopened a can of worms and 
wasted time, it was not my goal.


___
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: Established method to enable suid scripts?

2011-05-13 Thread Chris Telting

On 05/13/2011 01:32, krad wrote:
what i cant understand is the complete aversion to sudo. Could you 
shed any light on why you are trying to avoid a tried and tested method.


That I freely admit is for no rational reason. It's just annoying. But 
let me ask you.. is "sudo ping" acceptable? Please explain the logical 
reason why not. It would be the preferred method if suid didn't exist 
and sudo was part of the base system.


Happy Friday.

___
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: Established method to enable suid scripts?

2011-05-13 Thread Chris Telting

On 05/13/2011 00:32, Jonathan McKeown wrote:

On Thursday 12 May 2011 17:26:49 Chris Telting wrote:

On 05/12/2011 07:57, Jonathan McKeown wrote:

I'll say that again. It is inherently insecure to run an interpreted
program set-uid, because the filename is opened twice and there's no
guarantee that someone hasn't changed the contents of the file addressed
by that name between the first and second open.

It's one thing to tell people they need to be careful with suid because
it has security implications. Deliberately introducing a well-known
security hole into the system would in my view be dangerous and wrong.

That race condition bug was fixed in ancient times. Before Freebsd or
Linux ever existed I believe. It's a meme that just won't die.  People
accepted mediocrity in old commercial versions of Unix.  I personally am
unsatisfied by kludges.

That seems somewhat unlikely given, as someone else pointed out upthread, that
Perl still comes with a compile-time option SETUID_SCRIPTS_ARE_SECURE_NOW,
suggesting that they often aren't. Yes, there are ways to avoid this race
condition - the usual one is to pass a handle on the open file to the
interpreter, rather than closing it and reopening it.

This fix is not present in every Unix or Unix-like OS. In particular (although
I'm happy to be corrected if I'm wrong) it's not present in FreeBSD, to the
best of my knowledge. Whether there's a reason for that other than lack of
developer time I don't know.

Indeed.  I think it's more of a case that since you can't count on it on 
other systems (especially closed source systems) to disable it for 
portability reasons although I would loved to be proved wrong.


Happy Friday.

___
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: Established method to enable suid scripts?

2011-05-12 Thread Chris Telting

On 05/12/2011 07:57, Jonathan McKeown wrote:

On Thursday 12 May 2011 16:13:50 Chris Telting wrote:

On 05/11/2011 07:14, Jerry McAllister wrote:

On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote:

I've googled for over an hour.

I'm not looking to get into a discussion on security or previous bugs
that are currently fixed.  Suid in and of itself is a security issue.
But if you are using suid it it should work; I don't want to use a
kludge and I don't want to use sudo.  I'm hoping it's a setting that is
just disabled by default.

My understanding is that in general the system does not allow SUID
on scripts.   The way I have gotten around that (a long time ago)
was to create a small binary that exec's the script and making
the binary SUID.

Well it's all hacks and in my not so humble option like chasing your
tail.  The assumption is that if someone creates an executable
(assumption is programming is C) they are more credible not to make
mistakes.  That's a fallacy and just plain nuts.  And I'm an interpreted
language snob saying that.  Suid is either allowable or not and should
be a sysctl and apply equally to binaries and scripts.  Yet another
thing to add to my project list.  Anyone know of an established patch
for fix this freebsd issue or am I yet again going to have to create my
own?

Have you appreciated the issue with suid on scripts? It's nothing at all to do
with whether someone writing a compiled language is a better programmer than
someone writing an interpreted language.

When the OS launches a binary, the file containing the program is opened once.

When the OS launches an interpreted program, the file is opened once to find
out which interpreter to run, and then the interpreter is told to re-open the
same filename - whose contents might meanwhile have changed.

I'll say that again. It is inherently insecure to run an interpreted program
set-uid, because the filename is opened twice and there's no guarantee that
someone hasn't changed the contents of the file addressed by that name
between the first and second open.

It's one thing to tell people they need to be careful with suid because it has
security implications. Deliberately introducing a well-known security hole
into the system would in my view be dangerous and wrong.


That race condition bug was fixed in ancient times. Before Freebsd or 
Linux ever existed I believe. It's a meme that just won't die.  People 
accepted mediocrity in old commercial versions of Unix.  I personally am 
unsatisfied by kludges.


___
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: Established method to enable suid scripts?

2011-05-12 Thread Chris Telting

On 05/11/2011 07:14, Jerry McAllister wrote:

On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote:


I've googled for over an hour.

I'm not looking to get into a discussion on security or previous bugs
that are currently fixed.  Suid in and of itself is a security issue.
But if you are using suid it it should work; I don't want to use a
kludge and I don't want to use sudo.  I'm hoping it's a setting that is
just disabled by default.

My understanding is that in general the system does not allow SUID
on scripts.   The way I have gotten around that (a long time ago)
was to create a small binary that exec's the script and making
the binary SUID.



Well it's all hacks and in my not so humble option like chasing your 
tail.  The assumption is that if someone creates an executable 
(assumption is programming is C) they are more credible not to make 
mistakes.  That's a fallacy and just plain nuts.  And I'm an interpreted 
language snob saying that.  Suid is either allowable or not and should 
be a sysctl and apply equally to binaries and scripts.  Yet another 
thing to add to my project list.  Anyone know of an established patch 
for fix this freebsd issue or am I yet again going to have to create my own?


Either way thank you all again for your feedback.

___
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: start X in background without it taking over the console?

2011-05-12 Thread Chris Telting

On 05/11/2011 04:07, CyberLeo Kitsana wrote:

On 05/11/2011 05:36 AM, Chris Telting wrote:

I already do... I'm want to automate it.  Every other virtual screen
terminal can start without grabbing the console, I don't want X to
either.  I do development and I suffer crashes.  I want to do work while
it boots up for a couple minutes and I'm tired of manually switching
back to text mode.  It's gets annoying the 200th time.

You could script it right after X starts, as such:

vidcontrol -s 1 # Equivalent to Alt-F1

I don't think X is currently designed to start without initializing the
graphics hardware, though, so the initial vt change is probably
unavoidable. Perhaps once KMS trickles down


Thank you for answering.  I was fearful of that.  Just means another 
project.


Related to Kernel Memory Switching I mention of Coreboot on slashdot the 
other day and I have to say I'm excited by it more than when it was 
called LinuxBIOS, my understanding now being that it isn't a full Linux 
kernel buy may eventually become a striped down version of it. I'm 
hoping that it evolves into a basic real time kernel of it's own and 
initializing drivers.  Hopefully the place where all soft firmware for 
devices eventually gets loaded rather than in OS drivers; ironically 
working with the GPL by downloading it's own initializing drivers 
directly.  Be nice to have half second boot times.


___
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: start X in background without it taking over the console?

2011-05-11 Thread Chris Telting

On 05/11/2011 03:10, C. P. Ghost wrote:

On Wed, May 11, 2011 at 7:21 AM, Chris Telting
  wrote:

I know this isn't strictly a Freebsd question.

I want to start up X in the background without it taking over the console.
  I want to switch over to it manually when I press alt-F9.

Why not start if from another terminal? Say, press alt-F2, login there,
and then startx. Then, alt-F1 remains free.

Or perhaps use x11-servers/xorg-vfbserver.

I already do... I'm want to automate it.  Every other virtual screen 
terminal can start without grabbing the console, I don't want X to 
either.  I do development and I suffer crashes.  I want to do work while 
it boots up for a couple minutes and I'm tired of manually switching 
back to text mode.  It's gets annoying the 200th time.


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


start X in background without it taking over the console?

2011-05-10 Thread Chris Telting

I know this isn't strictly a Freebsd question.

I want to start up X in the background without it taking over the 
console.  I want to switch over to it manually when I press alt-F9.


___
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: Established method to enable suid scripts?

2011-05-10 Thread Chris Telting

On 05/10/2011 19:19, Devin Teske wrote:

On May 10, 2011, at 5:54 PM, Chris Telting wrote:


I've googled for over an hour.

I'm not looking to get into a discussion on security or previous bugs that are 
currently fixed.  Suid in and of itself is a security issue.  But if you are 
using suid it it should work; I don't want to use a kludge and I don't want to 
use sudo.  I'm hoping it's a setting that is just disabled by default.

The reason that the suid bit doesn't work on scripts (shell, perl, or 
otherwise) is because these are essentially text files that are interpreted by 
their associated interpreter. It is the interpreter itself that must be suid.

In other words, you'd have to do this (*WARNING* highly inadvisable -- even for 
the OP):

sudo chmod u+s /bin/sh

before you could have a shell script such as this:

#!/bin/sh
: anything

run as the suid user (the owner of /bin/sh -- usually root).
I thought of that.  Seemed like I read that historically unix ran the #! 
command as the suid when it executed the file.  Did Freebsd delete that 
functionality?  (Otherwise how did suid scripts get the bad reputation 
if they could never execute suid.)


I'm not exactly clear where the execute function is.  I guessing that 
it's not the shell doing the #! interpretation but rather the execute 
function of the operating system.


Either way thanks for the feedback.

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


Established method to enable suid scripts?

2011-05-10 Thread Chris Telting

I've googled for over an hour.

I'm not looking to get into a discussion on security or previous bugs 
that are currently fixed.  Suid in and of itself is a security issue.  
But if you are using suid it it should work; I don't want to use a 
kludge and I don't want to use sudo.  I'm hoping it's a setting that is 
just disabled by default.

___
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-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: 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: fix an audio conversion script to work through multiple directories and convert mp3s to ogg vorbis

2011-05-08 Thread Chris Hill

On Sun, 8 May 2011, Antonio Olivares wrote:


On Sat, May 7, 2011 at 4:03 PM, Chris Hill  wrote:

On Sat, 7 May 2011, Antonio Olivares wrote:


My question is the following:
How can I run the script to recursively find all mp3's and convert 
them to ogg vorbis(with ogg extension already in place/or rename them 
in one step[instead of running two scripts] and deleting the mp3's) 
all in one time?


I had a similar (but not identical) problem


 [ snip ]

My script is at http://pastebin.com/77NRE6SZ - maybe you can adapt it 
to your needs.


Thank you for your suggestion.  But I have gotten into a problem I get 
errors and too many directories :(, Directories with spaces get 
recreated and no ogg files are created :(


If your directory and/or file names have spaces, you will have to quote 
the filenames somehow: 'file name' vs. file_name. Maybe you could escape 
the spaces? None of my names have spaces, for exactly this reason.


[ Script mostly snipped ]


=
#!/bin/sh
# From Steve Parker, only slightly modified:

 [ snip ]

traverse()
{
 # Traverse a directory

 ls "$1" | while read i
 do
   if [ -d "$1/$i" ]; then
 THISDIR=$1/$i
 # Calling this as a subshell means that when the called
 # function changes directory, it will not affect our
 # current working directory

 if [ -d $OGGROOT/$THISDIR ]; then
   # directory exists, leave it be
   echo "$OGGROOT/$THISDIR already exists, not created."
 else
   mkdir $OGGROOT/$THISDIR
   echo "Copying $THISDIR to $OGGROOT/$THISDIR"
 fi

 traverse "$1/$i" `expr $2 + 1`
   else

 [ snip ]

   fi
 done
}

traverse . 0
=

I have modified to above script.  I don't get how the directory
structure is copied?  I don't see a cp -r from_directory/ to
_directory/ then mplayer -ao 


There is no cp -R. What this is doing is replicating the directory 
structure, then copying each file. I missed it too, the first several 
times I looked at it. Almost the entire script is the definition of the 
traverse() function, which is called in the last line. The function then 
calls itself whenever it finds a directory, which makes it recurse. I 
thought it was pretty clever; wish I'd thought of it.


 [ snip ]


Thanks for helping.  I am experimenting and trying not to shoot myself
in the foot.


So was I; that's the main reason why there are all those `echo 
"something"` lines - I wanted to see what it would try to do, before 
actually turning it loose on my files. That and the fact that doing all 
the conversions takes a few hours.


Good luck.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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-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: 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: fix an audio conversion script to work through multiple directories and convert mp3s to ogg vorbis

2011-05-07 Thread Chris Hill

On Sat, 7 May 2011, Antonio Olivares wrote:


My question is the following:
How can I run the script to recursively find all mp3's and convert them 
to ogg vorbis(with ogg extension already in place/or rename them in one 
step[instead of running two scripts] and deleting the mp3's) all in one 
time?


I had a similar (but not identical) problem, and I wrote a script to solve 
it. I wanted to recursively go through a directory tree, find flac files, 
and make mp3s of them while transferring over the ID3 tags, while keeping 
a duplicate directory structure for the mp3s. And don't do the conversion 
if the file already exists.


My script is based on traverse2.sh by Steve Parker, which is at 
http://steve-parker.org/sh/eg/directories/. His tutorial site is extremely 
helpful, and I recommend it.


My script is at http://pastebin.com/77NRE6SZ - maybe you can adapt it to 
your needs.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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 running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?

2011-05-05 Thread Chris Brennan
On Thu, May 5, 2011 at 7:44 PM, Antonio Olivares
 wrote:

On Thu, May 5, 2011 at 6:33 PM, Polytropon  wrote:
> > On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares <
> olivares14...@gmail.com> wrote:
> >> Tried to do this:
> >> # portupgrade -f ruby
> >> # rm /var/db/pkg/pkgdb.db
> >> # portupgrade -f ruby18-bdb
> >> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
> >> # portupgrade -af
> >>
> >> Did not work correctly[too many customizations] and Tried again
> >
> > I think "customizations" refers to the "make config"
> > screens, correct? It's the typical kind of interaction
> > that _nobody_ likes. :-)
> >
> Yes these are the ones :)  I have encountered two/three days of these
> :(  This is why I am asking.
> >
> >
> >> I had many packages that need to be updated so I am running :
> >>
> >> # portupgrade -arRp
> >>
> >> will this prompt me for customizations?
> >
> > The -P (and -PP) parameters requests precompiled binary
> > packages - there is no way to configure them (as they have
> > already been built using the port's default options).
> > However, as soon as a package is not available, portupgrade
> > will install the port from source (so make sure your
> > ports tree is up to date), and it MAY happen that there
> > is a "make config" interaction.
> >
> > The portupgrade program has a --batch parameter that
> > reflects the BATCH=yes option for make calls (as if you
> > would use "make install").
> >
> > The "decision tree" is as follows:
> >
> > Port can be configured?
> >Yes.
> >Port has already been configured?
> >Yes.
> >Build it with that options.
> >No.
> >Ask for options.
> >Then build it with that options.
> >No.
> >Build port.
> >
> > This applies if there is no package (which you require
> > with the -P parameter to portupgrade).
> >
> > Make sure you've understood the upgrading procedures for
> > the system and the installed applications correctly.
> > There _may_ be better tools than portupgrade for dealing
> > with the second part (e. g. portmaster, portmanager).
> > The command line parameters you've collected make portupgrade
> > perform a "pkg_add-like upgrade" the binary way.
> >
> > Also note the correct order of the upgrade steps:
> > 1. Upgrade system (with freebsd-update)
> > 2. Upgrade ports tree (with portsnap)
> > 3. Upgrade installed software (with portupgrade)
> >
> This is exactly more or less what I have done. while doing 1, I
> encountered several broken ports.  But I just skipped those.  Ran 2
> like the commands I posted.
> >
> > As I've mentioned, there are other tools that could take
> > the place of the "with *" suggested above, but I think
> > this is the way you intend to go.
> >
> > Just as an example, "make config-recursive" allows you to
> > do all the config screens in one run, one after each other,
> > and as soon as the settings got saved, they will be used
> > without any further questions. See "man ports" for details
> > about the several build targets; also see "man portupgrade"
> > of other options you might need to create a non-interactive
> > way of upgrading your installed ports.
>
> I should have asked before :(, tried to do it on my own.  I have spent
> two to three days answering questions back and forth and it seemed
> that I would not finish :(  I was not sure to proceed or not, because
> previously I got burned with many errors that lib.so , ... and I
> saw the system working and left it at that.  But now I know that to
> keep a system in good working condition it needs to be updated with
> security updates :)
> >
> > --
> > Polytropon
> > Magdeburg, Germany
> > Happy FreeBSD user since 4.0
> > Andra moi ennepe, Mousa, ...
> >
>
> Thanks for helping out.  I have not encountered any prompts(*crossing
> my fingers*) will let you know how this turns out.
>

something to keep in mind  portmaster does the same thing and all of
portupgrades switches work with portmaster, the only significant difference
is that portmaster will run through and prompt you for all of the 'make
config' options first and then go about it's business unattended from that
point on... it will test for a valid set of config options in all of it's
deps before it builds anything, so for something large like gnome, you might
sit there for a while answering config screens, but once it's done, it will
require no more interaction unless a make dies for some reason...

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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 possibly odd upgrade question

2011-05-04 Thread Chris Whitehouse

On 04/05/2011 20:53, Chris Brennan wrote:

On Wed, May 4, 2011 at 2:26 PM, Jerry  wrote:

Chris, when I have had to do major rebuilds, I have found

"portmanager" to be the best tool. It just seems to work. In any case,
if it were me, I would clean out the /usr/ports/distfiles directory,
update your ports tree, and then update you OS. When you are finished
with that fun chore, run; "portmanager -u -l -y -f". Depending on the
number of ports installed, it might take some time though. Obviously,
you need portmanager installed first. By the way, if you know you need
a distfile installed first, something like diablo-jdk or diablo-jre
that require you to have the distfile all ready in
the /usr/ports/distfiles directory prior to attempting to build the
port, then do that prior to updating your system and running
portmanager.



The problem here (as I have previously mentioned and further discussed in my
reply to Andrew Clarke) is that the most of the ports won't rebuild for
various reasons. I'm pretty handy, but not brilliant. So instead of asking
for my hand to be held by the mailing list, I thought nuking everything I
installed from ports after moving to 8.x would be the smartest move, then
from there reinstall (from a fresh ports tree) only what I need for the
retasked purpose.
___
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"

I second Jerry, portmanager is indeed a very effective tool, it's simple 
and thorough and probably has as good a chance of fixing ports issues as 
anything. Or used to, I've been trying out tinderbox so haven't used it 
for a year or so.


If you do use portmanager there are a few tricks you can do to make it 
effectively unattended.


However, doesn't -u -f mean rebuild all dependencies of all ports? In 
which case wouldn't it be just as effective and cleaner for the OP to 
nuke the lot and rebuild, particularly in view of the retasked purpose.


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 possibly odd upgrade question

2011-05-04 Thread Chris Brennan
On Wed, May 4, 2011 at 2:40 PM, ill...@gmail.com  wrote:

> On 4 May 2011 12:50, Chris Brennan  wrote:
> >  is it safe to nuke /usr/local (excluding  /usr/local/home), rebuild
> > world/kernel for 8.2 and start with a fresh ports tree?
>
> Yes, though pkg_delete -af will probably suffice for removing
> the ports (& /var/db/pkg/ as well).
>

Someone else suggested 'pkg_delete -av' ... would -avf then be a safe
assumption?

I want to make sure I have a solid leg to stand on before I start
anything...
___
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 possibly odd upgrade question

2011-05-04 Thread Chris Brennan
On Wed, May 4, 2011 at 2:26 PM, Jerry  wrote:

Chris, when I have had to do major rebuilds, I have found
> "portmanager" to be the best tool. It just seems to work. In any case,
> if it were me, I would clean out the /usr/ports/distfiles directory,
> update your ports tree, and then update you OS. When you are finished
> with that fun chore, run; "portmanager -u -l -y -f". Depending on the
> number of ports installed, it might take some time though. Obviously,
> you need portmanager installed first. By the way, if you know you need
> a distfile installed first, something like diablo-jdk or diablo-jre
> that require you to have the distfile all ready in
> the /usr/ports/distfiles directory prior to attempting to build the
> port, then do that prior to updating your system and running
> portmanager.
>

The problem here (as I have previously mentioned and further discussed in my
reply to Andrew Clarke) is that the most of the ports won't rebuild for
various reasons. I'm pretty handy, but not brilliant. So instead of asking
for my hand to be held by the mailing list, I thought nuking everything I
installed from ports after moving to 8.x would be the smartest move, then
from there reinstall (from a fresh ports tree) only what I need for the
retasked purpose.
___
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"


A possibly odd upgrade question

2011-05-04 Thread Chris Brennan
I have an old PIII running FreeBSD7.3 currently, ports is all kinds of
screwed up, when I did my first cross-version upgrade from 6.x to 7.x, I
didn't know I had to rebuild ports, I subsequently upgrades though every
version upto to 7.3. Ports is still FUBAR, half of them no longer work. So
my question is this, now I know for the future to upgrade ports after every
upgrade, is it safe to nuke /usr/local (excluding  /usr/local/home), rebuild
world/kernel for 8.2 and start with a fresh ports tree? I thought about a
clean reinstall but this machine cannot boot from USB, both CD-ROM's are
dead and have been disconnected to use IDE hard-drives and the floppy driver
is dead as well. So it would seem an inline/online rebuild is my only
upgrade solution but with ports in it's current state of FUBAR, it leaves me
with the question of what to do with that too.

P.S. I've tried a portmaster/portsupgrade of ports, both met
with disastrous results and with 193 current ports installed, over 75% of
which is broke and isn't used any more ... I need to start over

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
___
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: 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: 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: 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: 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 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: 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"


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"


Unix basics (was Re: For My Edification)

2011-05-02 Thread Chris Hill

On Mon, 2 May 2011, Louis Marrero wrote:

I have a number of really dumb questions that I hope you might be able 
to shed some light on.


I shall endeavor to provide dumb answers in return :^)  For *good* 
answers, a great place to start is the Handbook, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. In 
addition, I'm sure some of the many smart people on this list will speak 
up.


Also, notice that I've changed the subject line to reflect a hint of the 
message's content. This list is archived, and anyone searching later migh 
not know to use 'edification' as a search term.


Although I am familiar with basic computer operation, I've been trying 
to understand a very experienced programmer friend that mixes Linux/Unix 
terminology in his vocabulary under the assumption that everyone knows 
the language.


Being familiar only with general knowledge on the Windows XP that I use 
daily, I've gone on the web to find out more information on some of the 
terms used by this programmer, such as "BSD", "shell terminal", "nc -u", 
etc.  Since my friend knows that my computer is strictly MS Windows, 
when my friend writes down something like "In a shell terminal type nc 
-u 10.101.97.200 ." it makes me wonder what I'm missing.


When he says "shell terminal", think "command prompt". nc is netcat, but I 
didn't know Windows had that. In your friend's defense, I use Windows 
every day (at work) and I can't always remember what things are called. 
Especially since MS changes terminology every now and then, evidently just 
for the hell of it.


1.  I know that Windows is an OS, and Linux/Unix as well as FreeBSD are 
other Operating System.  My very basic question is this: Is it even 
possible to install a second OS, like FreeBSD on an existing 
Windows-based computer?


Yes. You can either set it up for dual boot - either by adding a second 
hard drive, or by partitioning your existing drive if there's space - or 
you can run another OS within a virtual machine of some sort. The latter 
would need a pretty fast machine if the guest OS is to have decent 
performance.


Having said that, I found it easier to get started using an old PC that 
was too slow to run a modern Windows, but perfectly fine for a GUI-free 
BSD. I'm typing this on an old Dell that I bought on ebay.


2.  Is it possible to link my Windows laptop to a web server with Unix 
or FreeBSD and exercise Unix/Linux commands.  If so, how is that done?


The server's admin would have to give you a shell account. Most commercial 
ISPs won't do that, but maybe your friend will.



I'd be grateful for any information.


Hope this helps, and welcome.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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-27 Thread Chris Hill

Devin,

Thanks for the reply. Info inline.

On Tue, 26 Apr 2011, Devin Teske wrote:


-Original Message-
From: Chris Hill [mailto:ch...@monochrome.org]
Sent: Tuesday, April 26, 2011 4:51 PM
To: Devin Teske
Cc: david.robi...@fisglobal.com; freebsd-questions@freebsd.org; Teske, Devin
Subject: RE: Suddenly lots processes exits signal 11 (core dumped)

On Tue, 26 Apr 2011, Devin Teske wrote:


Continue on to create a 2nd [visible] partition beyond the primary
bootable [invisible] partition (allowing you to use the remainder of
your thumb drive for usable storage)...

5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5
NOTE: again, assuming `da5' is your thumb drive


tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel#


Hmmm. Odd. That's worked for me on FreeBSD-4.11, 6.1, 7.2, and 8.1 (both 
i386 and amd64).


I "zeroed" the thumb drive as you suggested, but got the same result from 
`echo "p 2 0x0c * *" | fdisk -f - /dev/da0` as before.


BTW, that wiping of the thumb drive took over 14 hours! I should have 
thought to specify a large block size.



What's the output of:
uname -spr


FreeBSD 8.0-STABLE i386


Also, after completing the dd(1) command, what's the output of:
fdisk -p /dev/da5

It should look something like this:

# /dev/da5
g c31 h64 s32
p 1 0x17 1 64259
a 1


Here's a sequence of events, after dd'ing the Druid iso:

tripel# fdisk -p /dev/da0
# /dev/da0
g c1945 h255 s63
p 1 0x17 1 64259
a 1
tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel# fdisk -p /dev/da0
# /dev/da0
g c1945 h255 s63
p 1 0x17 1 64259
a 1
p 2 0x0c 64260 31182165

Does this mean the second fdisk succeeded, despite what looked like an 
error?


Something you might also want to try is zapping the disk (wiping all 
contents) prior to trying again:


dd if=/dev/zero of=/dev/da5


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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 Hill

On Tue, 26 Apr 2011, Devin Teske wrote:

Continue on to create a 2nd [visible] partition beyond the primary 
bootable [invisible] partition (allowing you to use the remainder of 
your thumb drive for usable storage)...


5. Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5
NOTE: again, assuming `da5' is your thumb drive


tripel# echo "p 2 0x0c * *" | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel#

Any notion why? `man fdisk` isn't much help.

Thanks.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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: Hardware suggestions

2011-04-26 Thread Chris Whitehouse

On 26/04/2011 18:45, Jaime Kikpole wrote:

On Tue, Apr 26, 2011 at 12:34 PM, Chris Brennan  wrote:

Just out of curiosity, why not rack-mounted boxed?


Space issues.  They'll have to either fit on a shelf in one of two
rooms, depending on the outcome of some other things.

Any thoughts on brand or model?

Thanks,
Jaime


hi

If you google for "low power pc" you'll find some interesting machines 
mostly mini-itx with atom processors.


EG you could have a look at
http://www.fit-pc.com/web/fit-pc2/fit-pc2i-specifications/
and
http://www.lowpowerpcs.co.uk/

I think some of these have been discussed on this list, certainly 
mini-itx boards have.


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: Hardware suggestions

2011-04-26 Thread Chris Brennan
On Tue, Apr 26, 2011 at 12:04 PM, Jaime Kikpole
 wrote:

I'm looking for new hardware for my web filter (FreeBSD + dansguardian +
> squid).
>
> Can anyone suggest good (or warn about bad) models of hardware for
> this?  I'm looking for a small tower or compact chassis (not rack
> mount) with two ethernet interfaces.  I'd like RAID-1 as well, if
> possible.  I can spend anywhere from $1,000 to $3,500.
>
> My current system works well (2.0GHz, dual core, 8GB RAM, RAID-1, two
> 160GB disks, 3 100Mbps NICs), but I want to replace it with two
> identical boxes.  Right now, its a single point of failure.  So I'm
> hoping to rsync configs between two systems that are on line at all
> times.  Then, if I need up upgrade software or the hardware breaks, I
> can just swap the box.
>
> Any pointers on this project are appreciated, especially what models
> of computers would work well with FreeBSD.
>
> Thanks in advance,
> Jaime



Just out of curiosity, why not rack-mounted boxed? You don't have to
necessarily mount them  I ran 2 1U boxes under a desk for years, they
stood up on their short edge and leaned against the wall and no one was the
wiser to them being their (and they kept my feet warm in the winter :P)

-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.

> >>>Q: Why is top posting frowned upon?
___
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"


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"


zfs partition for /etc?

2011-04-23 Thread Chris Telting
I'm using PC-BSD and ZFS.  ZFS is outstanding.  Somewhat less impressed 
with PCBSD.


I've grown addicted to ZFS I think.  I love it's snapshots although I 
already know of new features I would love in new development beyond 
v28.  At least for PCBSD it's nice to be able to rollback to a usable 
system and so I play with my system a lot more.


The mount listing needs to be revamped because I can easily imagine in 
the future 30 plus zfs mounts, especially with jails.  Some indentation 
and grouping options along with filters.  And I think replacing the 
mounted volumes in fstab with config filenames.


A nice thing would be allowing snapshots of directories separate from 
volumes.  And it definitely needs whitespace support for unionfs and 
maybe possibly it's own unionfs solution with more capabilities.  For 
example it would be nice to promote a snapshot (or the reverse to 
generate one) into what I'll call an overlay to be able to apply to new 
directory trees.  Something that integrates with snapshots and clones 
somewhat.


And it needs a very low memory operation for systems as low as 64MB.  
Sure it might crawl but many of it's features are indispensable.


Please excuse my rambling.


So so on to my question.  I'm sure others have thought about this.  I 
kind of want /etc to be it's own zfs partition so that I can snapshot it 
separate from everything else and preserve it without much effort.  But 
I don't think I can do that because of booting.  The system depends on 
/etc before it mounts it's first file system.  Same issue I experienced 
a couple years back when I tried to do unionfs on /etc. Is it possible 
to mount multiple partitions from the kernel read only for single user 
mode and bootup? I almost feel like there should be an fstab for /boot 
just to be able to do something like this.


I want to be able to snapshot and rollback my base system in seconds.  
Since I use separate volumes for /usr and /var I'll accept using a 
script.  My only thought is to generate and archive diffs for /etc 
though another modular script to match snapshot labels.


Any thoughts?

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 protect my system from third party apps crashes

2011-04-22 Thread Chris Whitehouse

Sorry sent to OP only...

On 21/04/2011 11:21, Michael wrote:

Hello.

I'm having stability issues on my desktop system running FreeBSD 8.2-R
on amd64. It happens quite often that some application (say web browser)
goes nuts and totally locks-up my system.

When it happens it looks like the application is frozen but I can't kill
it. WCPU usage goes up rapidly and after a while system doesn't respond
to anything than brutal hard reset.

I guess it's not the system itself to blame, but it would be good if it
could handle misbehaving programs. What I'm looking for is some kind of
protection from system lock ups. I don't mind when the browser hangs,
but I don't want it to kill my whole system.
Any suggestions, hints, ideas please?

I am aware that it's a workaround to the problem instead of a real
solution, but that's what is needed.

Michael

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

I find sometimes viewing flash video with firefox causes the machine to 
appear to hang. In fact killing all instances of npviewer.bin frees 
everything up again. I usually have an xterm open just in case.


Don't have a problem with other apps so this might not be the solution 
for you.


My firefox is 3.6.10, flashplayer is linux-f10-flashplugin-10.1r85 and 
I'm on 8.1R x86


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


ZFS Striping and Optimizing Capabilities

2011-04-09 Thread Chris Telting
Just a few questions about what ZFS actually does.  So if anyone has 
intimate knowledge about ZFS's implementation on Freebsd I'm sure I and 
others would appreciate the answers.


When you add a second and or thrid drive/partition to a zpool I'm 
assuming that it's going to start using the drives like a raid 0 
stripe.  How do the ZFS versions differ in this?  Does it immediately 
start striping all files in the background on low priority or does it do 
it as files are accessed?  Does ZFS in any way do performance testing of 
read/right operating in light of where the data is stored on the drive? 
i.e. the outside sectors of hard drives perform faster.  If it does do 
read/write location testing can it be shut off or does it detect SSDs?  
What about tracing application sector reading and reordering sectors so 
that they follow one another according to typical usage?  i.e. the 
sectors are already in the linear read ahead buffer?


I appreciate any answers,
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: 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: 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: 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: 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: 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: Port dependencies

2011-04-02 Thread Chris Telting



seriously, this is why i want that debian+freebsd that was
discussed recently.  the kernel is ours and number one in the
world.  and the ports stuff is basically packages that more/less
just-work.  you can get the src =with= the pkg.



How does debian get around all the "make config" options that we deal 
with?  Such as does such and such package pull in samba...  Or does 
debian just compile with every option more or less enabled?


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: 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 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: 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: 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: 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-01 Thread Chris Telting

On 04/01/2011 17:51, Polytropon wrote:

On Fri, 01 Apr 2011 16:58:04 -0700, Chris Telting  
wrote:

Just in a thoughtful mood and thought I'd to the question to the cloud.

Oh the joy of cloud computing, erm... discussion. :-)
Wasn't that the a subplot of the hitch hikers guide?  That the sum of 
human consciousness is just a cloud computer?  New term, old idea.



One of my biggest gripes with the ports system is dependency hell.
Ports link against so my optional components and pull them into the
install.  Libraries and components are built based on make file
defines.

If you do install a program via pkg_add (it's about
precompiled binaries, so no Makefile involved, not
even a ports tree), there are also means to determine
if something ELSE is needed - as a dependency. Hard
disk space is cheap today, so 99% of users don't even
bother installing all the stuff they primarily won't
need, but the program THAT they need insists on it.
Ports or packages, what I'm discussing is minimizing dependencies.  I 
compile my own packages and use them across all my computers.


What I'm saying I'd like to see is minimal installs.  If you need a 
feature like for instance LDAP or SQL then you need to install that 
port.  Need another feature? Install yet another port.  The program 
should detect that new programs/libraries are available or at a minimum 
enable them though uncommenting a line in a conf file.




But this doesn't have to be so.  It's possible and easy enough
to check a running system for which libraries are installed and only if
a feature is enabled to load the library.

It already works that way. Say program A needs B of version
n as dependency, then B(n) has to be installed even if
B(n-1) is already present on the system. This is no big
deal if B isn't installed at all, but requires caution
when it is (at version n-1). Of course, B may have other
dependencies that do not matter to A, but to B, so even
C(m) gets installed.
And that's the mess I don't like.  It's like the six degrees of 
separation rule.  Installing one application sometimes means installing 
100 other ports/packages with features the average user has no need or 
interest in yet.  I'm just saying we should have to need to 
install/compile all those packages when we don't need them and we should 
have to need to recompile ports just to add a new capability.



The number of console
programs that want to pull in X window or kde is my boggling.

Hmmm... The only one I remember being that way is the
old cvsup, but there was nocvsup-nogui (or -nox11?).
Well I decided I wanted to try to setup pulseaudio as a network sound 
server on a headless computer and it pulled in X.  Sure I could 
recompile just for that one computer.  But that isn't elegant.  The 
storage space doesn't matter.  What annoys me is the installation time 
and the longer compile time as well as to some extent downing time.



I think the "make config" menus should

have everything checked by default and only be provided to prevent
things from being compiled such as for embedded devices.

Oh no, please - NO! Everything checked by default? That
would be problematic for those who, for example, don't
WANT to use HAL+DBUS because it just doesn't work for
them. Or people who have security concerns (or maybe
even external regulations) so they do not want to install
something. And remember: Regarding codecs for mplayer
and mencoder, it's illegal to listen to MP3 in the US! :-)
The point would be that the programs wouldn't have those features 
enabled by default, you have to configure them or the program can 
auto-detect.

My question is why is this so?  Why can't programs do more run time
configuration?  Is a configuration run time system library needed to
make it easier?

You're bringing up an interesting idea, but runtime
detection of library (or feature) availability seems
to be very time consuming to me. An example is mplayer.
On older system, I did always compile it to match the
CPU that is present, means NO "runtime CPU detection".
Why? Because it often runs too slow on older system if
enabled.
Well obviously that one actual good reason for people to compile their 
own ports.  Nothing can change that.  What I'm saying is that libraries 
and features shouldn't be in the config menu.



And let's assume another typical example from  the
multimedia sector. You have installed mplayer and want
to play MP3 audio or an MPEG video file, or even a
DVD - which is completely illegal in the US. :-)
But there is no libdvd installed, and no MP3 codecs
for playing or encoding. What should happen? Upon
first start, should the program request you to
download and install them? But what if the system
is offline? I would assume it's better to install
all the stuff needed at install time, no matter if
being from ports or as a package.
I

Kerberos and su to root

2011-04-01 Thread Chris Telting


I have multiple systems and jails at my home.  I would very much like to 
implement a single sign on strategy with kerberos.  I think it's safer 
than having private keys on every single box.  I can easily do this for 
shh user logins to multiple boxes.  But I like to sign in as a user and 
then su to root when I get there.  (Forget about sudo, I am 
administering these boxes and don't want to type sudo for every single 
command, it's not a user machine).  From what I understand of Kerberos I 
would need change identity and type a password every time I ksu which is 
what I'm trying to avoid.


Am I right that it is imposable to maintain multiple simultaneous 
credentials and get the right one to automatically be used?


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


Port dependencies

2011-04-01 Thread Chris Telting


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.  
Ports link against so my optional components and pull them into the 
install.  Libraries and components are built based on make file 
defines.  But this doesn't have to be so.  It's possible and easy enough 
to check a running system for which libraries are installed and only if 
a feature is enabled to load the library.  The number of console 
programs that want to pull in X window or kde is my boggling.  Knowing 
how to program myself when I see a "make config" menu on every single 
port it makes me want to cry.  I think the "make config" menus should 
have everything checked by default and only be provided to prevent 
things from being compiled such as for embedded devices.


My question is why is this so?  Why can't programs do more run time 
configuration?  Is a configuration run time system library needed to 
make it easier?


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"


SSH persistent sessions without screen?

2011-03-31 Thread Chris Telting
I would like to have something like virtual terminals that continue 
running no matter if ssh is connected to them or not.  Something like 
the screen utility.  But I don't want to use screen, I'm looking for 
something more automated.  Maybe even be able to have multiple 
connections on different computers.


I have a number of computers and I like to use each for batch processing 
different stuff, especially compiling.  I'm mostly interested in 
connecting to running sessions from a mobile android phone.  I don't 
want to keep having to manually login every time through screen and it 
should be tolerant of a dropped connection.


I'm thinking there is probably a way to do this with just ssh.  Maybe 
have separate sshd daemons running on specific ports.  Any ideas?


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: Gui CD soft recommend

2011-03-31 Thread Chris Brennan
On Thu, Mar 31, 2011 at 4:10 AM, Gökşin Akdeniz
 wrote:

Try tkdvd. It is in ports tree (sysutils/tkdvd)
>
> --
> Gökşin Akdeniz (Gökşin Akdeniz) 
> Anahtar parmakizi/key fingerprint= FE10 8C14 A144 4FDE BE18  D5E3 E758
> F49A 8A5D F8AE
> [Son kullanma tarihi/expire date: 2011-06-08]
>
>
While not a GUI it's minimilistic, give bashburn a shot 


Port:   bashburn-2.1.2_2
Path:   /usr/ports/sysutils/bashburn
Info:   CD burning bash script
--
Port:   mybashburn-1.0.2_2
Path:   /usr/ports/sysutils/mybashburn
Info:   Ncurses CD burning bash script


Bashburn I've used before, Mybashburn I have not but it looks like the
next elocutionary step for Bashburn if it does indeed function the same.
Bashburn *IS* a collection of bash scripts that handle the cmdln apps
directly (for you), all driven by a menu.

-- 
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,

but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at 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 mirror server on a Debian operating system?

2011-03-27 Thread Chris Brennan
On Sun, Mar 27, 2011 at 4:27 PM, Csanyi Pal  wrote:

Chris Brennan  writes:
>
> > 2011/3/27 Paul Chany 
>
> > This same piece of mail, you sent a few hours ago frrom this very same
> > e-mail address with a different name 
>
> Yes, because when I sent the mail first time using my gmail address, I
> get not the mail back from the list so I was wonder what could be wrong.
>
> So I subscribe once again on the list with my other address
> (csanyi...@stcable.net) because I was thinking that that maybe the
> mailing list don't accept mails from Gmail. Sorry..
>
> --
> Regards, Paul
> <http://sourceforge.net/projects/lptinterface/>
> <http://savannah.nongnu.org/projects/lpt-interface/>
> <http://csanyi-pal.info>
>


Your mail made it though but the list does not 'mail-back' your e-mail ...
i.e. you do not see your own post until someone replies to it.

-- 
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,

but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at 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: searching for a good IDE

2011-03-27 Thread Chris Brennan
On Sun, Mar 27, 2011 at 2:07 PM, Chip Camden
 wrote:

Quoth Charlie Kester on Sunday, 27 March 2011:
> >
> > Personally, I prefer vim.  ;)
> >
>
> +1
>
> Someone will object that the OP asked for an IDE.  IMO, vim Integrates
> quite well with the shell, make, etc.
>
>
vim is all one needs ... once I sat down and learned the basics of vim/vi I
stopped installing nano, I feel much more comfortable in vim now then any
other editor, even notepad. gvim on my *one* windows machine and vim
everywhere else makes me very happy.

-- 
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,

but what's worse is when you play it forward
  ...it installs Windows 2000

-- Alfred Perlstein on chat at 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 mirror server on a Debian operating system?

2011-03-27 Thread Chris Brennan
2011/3/27 Paul Chany 

Hi,
>
> I have installed on my old Toshiba Satellite 2540CDS Laptop the minimal
> FreeBSD 8.2-RELEASE, using CD image: FreeBSD-8.2-RELEASE-i386-disc1.iso
>
> I have a home LAN with a gateway and I have a public Debian Server too.
>
> When on my laptop want to install some package from a FreeBSD server, I
> can't even if I select a nearby server. In Hungary the FreeBSD server
> doesn't have my recent release, in Slovenia does but the internet
> connection is probably slow because using sysinstall the state of
> downloading data from server stall.
>
> So the solution that I see in my case is to have my own FreeBSD mirror
> server that I can use only me on my LAN. This mirror server should run
> on my public Debian server. Why only me should use this server? Because
> my ISP package allow to me only 4GB traffic.
>
> So my question is: can I have a mirror of a FreeBSD server on my public
> server that run already a Debian operating system?
>

This same piece of mail, you sent a few hours ago frrom this very same
e-mail address with a different name 

 from Csanyi Pal  sender-time Sent at 12:13 PM
(GMT+02:00). Current time there: 8:52 PM. ✆ to freebsd-questions@freebsd.org
 date Sun, Mar 27, 2011 at 12:13 PM subject FreeBSD mirror server on a
Debian operating system? mailing list freebsd-questions.freebsd.org Filter
messages from this mailing list mailed-by freebsd.org


-- 
Did you know...

If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at 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"


<    1   2   3   4   5   6   7   8   9   10   >