Anyone Tried to use iPXE to boot with iSCSI?

2012-09-19 Thread dweimer
I was just trying some proof of concept testing to see if I could get a system booting with no local disk using iSCSI running from my FreeNAS box. I got started, by first booting a 9.1-RC1 CD, into live CD, created a /tmp/iscsi.conf used kldload to load the iscsi initiator, connected to the

Re: What replaces csup?

2012-09-19 Thread Stas Verberkt
mer...@stonehenge.com schreef op : Stas == Stas Verberkt lego...@legolasweb.nl writes: Stas On a side note, using Git does mean that everyone has to download a complete Stas repository. This makes using a csup-like architecture quite Stas heavy-weight. The entire history of the Linux kernel

Re: installation of yuma

2012-09-19 Thread ahmed elouadrhiri
thank you a lot Steve; it's worked very well. Best regards 2012/9/18 Steve O'Hara-Smith at...@sohara.org On Tue, 18 Sep 2012 14:25:03 + ahmed elouadrhiri ahmedelouadrh...@gmail.com wrote: Hi all; i tried to install yuma in freebsd by the command : make freebsd=1 and it give me

fsck not working on messed-up file system

2012-09-19 Thread Thomas Mueller
I have or had a problem with a file system (FreeBSD UFS2) messed up, either by errant software or system freeze/crash. I successfully cross-compiled, from FreeBSD 9.0-STABLE, a NetBSD 5.1_STABLE i386 system to install on 8 GB USB stick. I have both the NetBSD system source as well as pkgsrc

Re: fsck not working on messed-up file system

2012-09-19 Thread Steve O'Hara-Smith
On Wed, 19 Sep 2012 06:05:06 -0400 Thomas Mueller muelle...@insightbb.com wrote: THE FOLLOWING DISK SECTORS COULD NOT BE READ: 7584318, 7584319, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1475900 files,

Re: fsck not working on messed-up file system

2012-09-19 Thread Erich Dollansky
Hi, On Wed, 19 Sep 2012 06:05:06 -0400 Thomas Mueller muelle...@insightbb.com wrote: Script started on Wed Sep 19 04:15:02 2012 fsck_ffs /dev/ada0p9 just to make sure: the partition was not mounted when you started fsck? Now I wonder if the file system is really fixed, with possibly some

Re: have desktop on freebsd

2012-09-19 Thread Bernt Hansson
2012-09-19 07:23, saeedeh motlagh skrev: thanks Bernt, i deinstall it and then try startx. startx works and displays graphical page. but when i restart me system i do not have desktop yet. you know, startx displays graphical page when fbdev is installed too. please let me know if you have any

Re: schg flags from installworld

2012-09-19 Thread Gareth de Vaux
On Tue 2012-09-18 (23:31), Gareth de Vaux wrote: Looking at /usr/src/share/mk/bsd.prog.mk and /usr/src/share/mk/bsd.lib.mk - bins and libs get installed with schg if PRECIOUSPROG and PRECIOUSLIB are set respectively in their makefiles, both of which can be overridden by setting NO_FSCHG,

Reprieve [was: Re: FreeBSD 9.1-RC1 Available... (fwd)]

2012-09-19 Thread Ian Smith
Folks, Seems that those (like me) concerned about 9.1 release branch activity not having been exported to CVS, requiring moving to SVN and abandoning c*sup source updating 'all of a sudden', can relax migration schedules a bit, for now .. though it's been a good 'gee-up' for me, at least.

Re: What replaces csup?

2012-09-19 Thread pete wright
On Tue, Sep 18, 2012 at 6:41 AM, Warren Block wbl...@wonkity.com wrote: On Mon, 17 Sep 2012, pete wright wrote: On Mon, Sep 17, 2012 at 8:14 PM, Warren Block wbl...@wonkity.com wrote: csup updates just the files that have changed without all the overhead. svn export can get a copy of all

Re: What replaces csup?

2012-09-19 Thread pete wright
On Tue, Sep 18, 2012 at 5:44 AM, Stas Verberkt lego...@legolasweb.nl wrote: Jerry schreef op : On Tue, 18 Sep 2012 05:00:08 -0700 Michael Sierchio articulated: We are really behind the curve here. Git assumes (correctly) that disk space is inexpensive, much cheaper per byte than network

Re: What replaces csup?

2012-09-19 Thread Walter Hurry
On Mon, 17 Sep 2012 21:26:45 -0600, Warren Block wrote: For ports, it's probably worth saving the distfile directory along with local diffs. Move it back into place after the svn checkout of the ports tree. PMFJI. Newbie here: What's wrong with using SVN for src, and portsnap for ports?

Re: What replaces csup?

2012-09-19 Thread Robert Huff
Walter Hurry writes: PMFJI. Newbie here: What's wrong with using SVN for src, and portsnap for ports? _Wrong_? Nothing. But a lot of people like the idea of using the same tool to solve nearly identical problems. Your experience may diverga.

Can't find kernel, finds slices but no files on them

2012-09-19 Thread Fritiof Hedman
Hi list! I must warn you, I'm quite new to FreeBSD (I'm mostly using Linux otherwise). I have inherited an old (yes, very old) BSD 4.7 machine on my work that I need to clone. I've setuped an identical copy of the slices on the target machine, ran dump the source machine and restore on the target

Re: Can't find kernel, finds slices but no files on them

2012-09-19 Thread Polytropon
On Wed, 19 Sep 2012 23:28:30 +0200, Fritiof Hedman wrote: Hi list! I must warn you, I'm quite new to FreeBSD (I'm mostly using Linux otherwise). I have inherited an old (yes, very old) BSD 4.7 machine on my work that I need to clone. I've setuped an identical copy of the slices on the

Re: What replaces csup?

2012-09-19 Thread Warren Block
On Wed, 19 Sep 2012, Walter Hurry wrote: On Mon, 17 Sep 2012 21:26:45 -0600, Warren Block wrote: For ports, it's probably worth saving the distfile directory along with local diffs. Move it back into place after the svn checkout of the ports tree. PMFJI. Newbie here: What's wrong with

Re: Can't find kernel, finds slices but no files on them

2012-09-19 Thread Fritiof Hedman
On 19 September 2012 23:37, Polytropon free...@edvax.de wrote: On Wed, 19 Sep 2012 23:28:30 +0200, Fritiof Hedman wrote: Hi list! I must warn you, I'm quite new to FreeBSD (I'm mostly using Linux otherwise). I have inherited an old (yes, very old) BSD 4.7 machine on my work that I need to

Re: What replaces csup?

2012-09-19 Thread pete wright
On Wed, Sep 19, 2012 at 1:11 PM, Walter Hurry walterhu...@gmail.com wrote: On Mon, 17 Sep 2012 21:26:45 -0600, Warren Block wrote: For ports, it's probably worth saving the distfile directory along with local diffs. Move it back into place after the svn checkout of the ports tree. PMFJI.

Re: Can't find kernel, finds slices but no files on them

2012-09-19 Thread Polytropon
On Thu, 20 Sep 2012 00:22:20 +0200, Fritiof Hedman wrote: On 19 September 2012 23:37, Polytropon free...@edvax.de wrote: On Wed, 19 Sep 2012 23:28:30 +0200, Fritiof Hedman wrote: Hi list! I must warn you, I'm quite new to FreeBSD (I'm mostly using Linux otherwise). I have inherited an

Re: What replaces csup?

2012-09-19 Thread Walter Hurry
On Wed, 19 Sep 2012 16:18:02 -0600, Warren Block wrote: I also find portsnap slower than either csup or svn. That surprises me. Once the initial download and extract is done, I find portsnap fetch update to be miles faster than csup. However, each to his own, I suppose.

Re: Anyone Tried to use iPXE to boot with iSCSI?

2012-09-19 Thread Bill Tillman
- Original Message - From: dweimer dwei...@dweimer.net To: FreeBSD Questions freebsd-questions@freebsd.org Cc: Sent: Wednesday, September 19, 2012 1:53 AM Subject: Anyone Tried to use iPXE to boot with iSCSI? I was just trying some proof of concept testing to see if I could get a

bash Shell Scripting Question

2012-09-19 Thread Martin McCormick
I just discovered a knowledge deficiency on my part that I can't seem to resolve. If one writes a loop of the following form: #!/usr/local/bin/bash ls -LF |grep \/ /tmp/files while read dirname; do cd $dirname #Do whatever commands to be repeated in each directory. done

Re: bash Shell Scripting Question

2012-09-19 Thread Mihai Donțu
On Wed, 19 Sep 2012 21:03:11 -0500 Martin McCormick wrote: #!/usr/local/bin/bash ls -LF |grep \/ /tmp/files while read dirname; do cd $dirname #Do whatever commands to be repeated in each directory. done /tmp/files How about: ls -LF | grep \/ | while read dirname; do cd $dirname

Re: bash Shell Scripting Question

2012-09-19 Thread Polytropon
On Wed, 19 Sep 2012 21:03:11 -0500, Martin McCormick wrote: I just discovered a knowledge deficiency on my part that I can't seem to resolve. If one writes a loop of the following form: #!/usr/local/bin/bash Just a sidenote: If you're not using bash-specific functionality and