On Thu, 24 Jun 2010 05:19:53 +0200, Thomas Keusch
wrote:
> t...@eternity:~$ b=5
> t...@eternity:~$ case "$b" in
>> [0-9] )
>> echo numeric
>> ;;
>> * )
>> echo alpha
>> ;;
>> esac
> numeric
> t...@eternity:~$
>
> Works for me.
Depending on what "numeric" means, th
Aiza wrote:
Thomas wrote:
On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote:
Hello,
Receiving a variable from the command line that is suppose
to contain numeric values.
How do I code a test to verify the content is numeric?
http://www.google.com/search?q=shell+test+if+variable+numeric
On Wed, Jun 23, 2010 at 08:10:13PM +0200, Polytropon wrote:
> On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser wrote:
> > On 06/23/10 11:35, Polytropon wrote:
> > > Of course, all write attempts to /var will then fail.
> >
> > Or even worse: they'll succeeded. And then when you re-mount /var,
>
On Wed, Jun 23, 2010 at 6:28 PM, Mark Costlow wrote:
> I hope this question isn't too stupid.
>
> Any hints or clue-by-fours?
>
>
What's the output of 'gpart show'?
--
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd
>> On Thu, 24 Jun 2010 09:24:39 +0800,
>> Aiza said:
A> Receiving a variable from the command line that is suppose to contain
A> numeric values. How do I code a test to verify the content is numeric?
The script below will work with the Bourne or Korn shell.
Results for "0 1 12 1234 .12 1
On Thu, Jun 24, 2010 at 03:44:34AM +0100, RW wrote:
Hello,
> On Thu, 24 Jun 2010 03:37:55 +0200
> Thomas wrote:
>
> > On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote:
> >
> > Hello,
> >
> > > Receiving a variable from the command line that is suppose
> > > to contain numeric values.
> >
On 6/23/10, Nicholas Mills wrote:
> All,
>
> I am running 8.0-RELEASE and having trouble with the ed driver that is
> compiled by default into GENERIC. My machine is actually a VM running under
> Parallels Server Bare Metal 4. I would like my card to be attached to the
> Parallels driver in ports
Thomas wrote:
On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote:
Hello,
Receiving a variable from the command line that is suppose
to contain numeric values.
How do I code a test to verify the content is numeric?
http://www.google.com/search?q=shell+test+if+variable+numeric
First link
On Thu, 24 Jun 2010 03:37:55 +0200
Thomas wrote:
> On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote:
>
> Hello,
>
> > Receiving a variable from the command line that is suppose
> > to contain numeric values.
> >
> > How do I code a test to verify the content is numeric?
>
> http://www.go
On Thu, 24 Jun 2010 09:24:39 +0800
Aiza wrote:
> Receiving a variable from the command line that is suppose
> to contain numeric values.
>
> How do I code a test to verify the content is numeric?
echo "$your_variable" | grep -E "^[0-9]+(\.[0-9]*)*[0-9]+$"
If $your_variable is numeric (123, or
Since I don't have any other ideas yet, I'll give that a try. I'll
let you know if it works tomorrow if it has finished by then :-)
Mark
On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote:
>Mark,
>I'm certainly no expert, but I think I can point you in the right
>directio
On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote:
Hello,
> Receiving a variable from the command line that is suppose
> to contain numeric values.
>
> How do I code a test to verify the content is numeric?
http://www.google.com/search?q=shell+test+if+variable+numeric
First link =>
http://
Receiving a variable from the command line that is suppose
to contain numeric values.
How do I code a test to verify the content is numeric?
Thanks for for help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/
Mark,
I'm certainly no expert, but I think I can point you in the right direction.
The system appears to be attempting to read from a GPT stored on the disk
from when you used it on Linux. I'm not sure of the specifics, but I do know
that some GPT info is stored near the end of the drive. The easy
I hope this question isn't too stupid.
I have a machine with a 3Ware RAID card, with 4 SATA drives attached.
2 drives are 250GB in a RAID1 volume, and act as the boot disk with
a standard freebsd partiction map (/, /var, /usr, and swap on this disk).
The other 2 drives are 1TB in a RAID1 volume,
All,
I am running 8.0-RELEASE and having trouble with the ed driver that is
compiled by default into GENERIC. My machine is actually a VM running under
Parallels Server Bare Metal 4. I would like my card to be attached to the
Parallels driver in ports (pvmnet) instead of ed. Is there some boot opt
Thanks for the reply. I actually posted a response to this original
message with more details showing just raw tcp data sent from one box to
another box is getting corrupted.
The culprit is definitely kinetic.
Futhermore, i've determined both NICs are doing it.
kinetic:~# netstat -i
NameMt
Martin Minkus writes:
> It seems this issue I reported below may actually be related to some
> kind of TCP packet corruption ?
Possible. Or memory errors. Hard to say much at this point, when you
don't even know which side is actually causing the errors.
> Still same box. I’ve noticed my SSH
On Tuesday 22 June 2010 19:52:54 Andy Balholm wrote:
> I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:
>
> When I type startx, the X server starts, and some xterm windows open, but
> it will not respond to keyboard or mouse input. The mouse pointer won't
> move, and the only
oklahoma wrote:
>> /usr/ports/misc/compat6x
>>
>is there any difference between the port and kernel options
>compat_freebsd6 beside compiling of kernel vs installing port?
Yes. The kernel options provide kernel compatibility and the ports
provide userland compatibility. You need both to run old
On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser wrote:
> On 06/23/10 11:35, Polytropon wrote:
> > Of course, all write attempts to /var will then fail.
>
> Or even worse: they'll succeeded. And then when you re-mount /var,
> you'll lose access to all the files you've written in the mean time.
On 06/23/10 11:35, Polytropon wrote:
Of course, all write attempts to /var will then fail.
Or even worse: they'll succeeded. And then when you re-mount /var,
you'll lose access to all the files you've written in the mean time.
--
Kirk Strauser
___
On 22 June 2010 20:36, Erik Norgaard wrote:
> On 21/06/10 20.06, pete wright wrote:
>
>> On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote:
>>>
I'm particuclary trying to implement some type of rate control as we
are getting hammered by spam.
>>>
>> I'd humbly suggest pf + spam
On Tue, 22 Jun 2010 22:14:20 -0700, Gary Kline wrote:
> fsck seemed to fix most slices, but a check as root
> told me the /var was//IS still dirty. Q: how can i umount /var
> and run fsck -y without going single-user? remember that in order to
> regain keyboard control of ethic i have to cr
Chuck Swiger wrote:
ises?
Yes, you want:
/usr/ports/misc/compat6x
is there any difference between the port and kernel options
compat_freebsd6 beside compiling of kernel vs installing port?
___
freebsd-questions@freebsd.or
In the last episode (Jun 23), Anton Shterenlikht said:
> On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote:
> > In the last episode (Jun 23), Anton Shterenlikht said:
> > > I've an old slow i386 running -current r209398
> > >
> > > Because it's slow I don't build everything. Here's my
> >
On 27 May 2010 12:12, Matthew Seaman wrote:
> The hardest job I've had an OpenBSD firewall do is actually as a
> mid-level firewall between a DMZ full of web servers and a back-end
> database layer. The thing to watch out for is running out of states in
> PF. It's trivial to change that in the
On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote:
> In the last episode (Jun 23), Anton Shterenlikht said:
> > I've an old slow i386 running -current r209398
> >
> > Because it's slow I don't build everything. Here's my
> > /etc/src.conf:
> >
> [...]
> > WITHOUT_LEGACY_CONSOLE=
> [...]
On 28 May 2010 07:38, Bruce Cran wrote:
> This is possibly the wrong place to be saying this, but isn't OpenBSD
> usually recommended for
> routers? I believe the version of pf, for example, is normally kept more
> up-to-date than than
> in FreeBSD. The major downside I know of is that it's not
In the last episode (Jun 23), Anton Shterenlikht said:
> I've an old slow i386 running -current r209398
>
> Because it's slow I don't build everything. Here's my
> /etc/src.conf:
>
[...]
> WITHOUT_LEGACY_CONSOLE=
[...]
> followed by the standard update procedure
>
> # make buildworld
> # make b
On Wednesday 23 June 2010 12:54:48 Vincent Hoffman wrote:
> On 23/06/2010 11:26, Aiza wrote:
> > Is there an equivalent of the MAC sparseimage on FreeBSD?
>
> If you mean you would like to make a sparse file and attach it using
> mdconfg then
> dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 c
I've an old slow i386 running -current r209398
Because it's slow I don't build everything. Here's my
/etc/src.conf:
WITHOUT_ACPI=
WITHOUT_AT=
WITHOUT_ATM=
WITHOUT_AUTHPF=
WITHOUT_BIND_DNSSEC=
WITHOUT_BIND_ETC=
WITHOUT_BIND_LIBS_LWRES=
WITHOUT_BIND_MTREE=
WITHOUT_BIND_NAMED=
WITHOUT_BLUETOOTH=
WIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23/06/2010 11:26:43, Aiza wrote:
> Is there an equivalent of the MAC sparseimage on FreeBSD?
A filesystem image that only takes up as much space as the total of all
the files within it?
Not exactly. There are many archiving formats -- dump, tar,
On 23/06/2010 11:26, Aiza wrote:
> Is there an equivalent of the MAC sparseimage on FreeBSD?
If you mean you would like to make a sparse file and attach it using
mdconfg then
dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0
This will give you a sparse file that reports a gig in size, but
Is there an equivalent of the MAC sparseimage on FreeBSD?
___
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"
On 23/06/2010 5:52 π.μ., Al Plant wrote:
> Aloha,
>
> I am looking for the easiest way to copy a fresh working FreeBSD 8* HD
> install (Manolis version) to a bigger HD that I found.
>
> I plan to have the new HD in the same box for doing this copy.
>
> Can I use sysinstall to make the new default s
On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote:
>
> Now I checked the log (/var/db/backula/log) and got the following error
> message:
> 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
> Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131
Hi,
During upgrading my ports I run into very nasty problems compiling
e.g. sound-juicer or libmisicbrainz3, or more generally, ports that
depend on neon28:
Compilatino of e.g sound-juicer stops with the following error:
-- < Cut here > --
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 23/06/2010 08:29:41, n dhert wrote:
> Why does it stop? Can it be avoided? Or can I make portupgrade -af start
> from where it got so far in the first run ?
portupgrade is written in ruby -- having its command interpreter ripped
out from underneath
On 23 June 2010 08:29, n dhert wrote:
> in the process of upgrading 7.2 -> 8.0, the last step is to recompile all
> ports
> (section 24.2.3 of freebsd manual)
> # portupgrade -f ruby
> # rm /var/db/pkg/pkgdb.db
> # portugprade -f ruby18-bdb
> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
>
> # p
in the process of upgrading 7.2 -> 8.0, the last step is to recompile all
ports
(section 24.2.3 of freebsd manual)
# portupgrade -f ruby
# rm /var/db/pkg/pkgdb.db
# portugprade -f ruby18-bdb
# rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
# portupgrade -af
Did that for my 760 ports, but after 499
41 matches
Mail list logo