Re: sysinstall(8) && bsdlabel a new disk

2010-11-01 Thread perryh
Devin Teske  wrote:

> sysinstall probes hardware when it starts. Therefore, after making
> changes (specifically after writing) to the disk in the FDISK
> partition editor, you need to Ctrl-C and Abort-out and relaunch
> sysinstall so that it probes the new disk devices (ad4s1, ad4s2,
> etc.) before you can start adding BSD disklabels (ad4s1a, ad4s1b,
> etc.) to the slice (aka partition).
>
> This has been an age-old problem (hmmm, perhaps get could some mad
> karma for fixing it).

At least in 8.1, there is a sysinstall operation somewhere to
re-probe devices, presumably to cover exactly this sort of
situation.  Does it not work?
___
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: man(1) output error

2010-10-30 Thread perryh
Warren Block  wrote:

> >>> % man csh | less +/rehash
> >>>   [...]
> >>> Error executing formatting or display command.
> >>> system command exited with status 36096
> >>> Error executing formatting or display command.
> >>> system command exited with status 36096
> >>> No manual entry for csh
> >>> %
...
> > This seems to be a problem with the csh man page.
> > Other pages work fine, like 'man hosts | less +/named'
> > or 'man devfs | less +/ruleset'.
>
> Actually, it appears to be a problem with long manual pages,
> including csh, bash, or perlfunc.

Does it by any chance go away if you cause "less" to read the
pipe all the way to EOF, e.g. by entering G, before exiting?
If so, there may be a problem in the way man handles SIGPIPE.
___
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: okay, time to ask the wizards..

2010-10-28 Thread perryh
Chad Perrin  wrote:

> Plus . . . I like pie.

A bit out of season, aren't we?  It's nowhere near 1 minute before 2
on March 14.
___
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: Greybeards (Re: Netbooks & BSD)

2010-10-21 Thread perryh
"Svein Skogen (Listmail account)"  wrote:
> On 20.10.2010 09:47, per...@pluto.rain.com wrote:
> > Matthias Apitz  wrote:
> >> El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline
> >> escribi?:
> >>> PS:  I really _was_ current on hardware stuff.  Back in the VAX
> >>> 780 days :-) 
> >> I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
> > Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
> > The whole runtime fit on one RK05.  The sources took a second one.
> I guess I'm just a kid, then, since I wasn't exposed to computers until
> 6 years later (my excuse was being born in 1975). CP/M-80 and MP/M-80
> with intel asm, was where I started my hairpulling... Anybody else got
> nightmares about 8 inch floppies? ;)

If we're going to expand to non-Unix systems:  Fortran on an IBM 1401,
with punch card input and no OS at all, in 1966.
___
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"


Greybeards (Re: Netbooks & BSD)

2010-10-20 Thread perryh
Matthias Apitz  wrote:
> El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribi?:
> > PS:  I really _was_ current on hardware stuff.  Back in the VAX
> > 780 days :-) 
> I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.

Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
The whole runtime fit on one RK05.  The sources took a second one.
___
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"


partitioning a gmirror (was Re: sysinstall vs gmirror)

2010-10-04 Thread perryh


binE6c8fkIE6U.bin
Description: Binary data
___
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 BSD 8.1

2010-09-28 Thread perryh
Mike Clarke  wrote:
> On Monday 27 September 2010, per...@pluto.rain.com wrote:
> > I've recently started on a new system, and am planning to
> > install 8.1-RELEASE, including the corresponding ports tree;
> > then install what ports I can from packages and also fetch the
> > corresponding distfiles; and finally build -- from release-
> > corresponding ports -- any that aren't available as packages or
> > where I want non-default OPTION settings.  That approach should
> > avoid most nasty surprises while getting things set up and
> > working.  _After_ everything is installed and configured
> > properly will be plenty soon enough to consider whether any
> > ports need to be updated -- and the already-installed-and-
> > working package collection will provide a fallback in case
> > of trouble trying to build any updated versions.
>
> The problem is if/when you need to update a port as a result of
> a security advisory. If your ports tree is very much out of date
> then it's likely that updating that one port will require a number
> of dependencies to be updated as well, sometimes all the ports
> depending on one or more of the updated dependencies need to be
> updated as well and the resultant bag of worms can take quite a
> lot of sorting out.  The "little and often" approach of keeping
> the ports tree up to date could be less traumatic.

and, in this context, your point is?

I'm advocating starting from a stable and self-consistent baseline,
consisting of a release _and_ its corresponding port/package
collection, and then considering whether any updates are needed.
Isn't that orthogonal to the question of whether or not to follow
ports updates, once the baseline has been established?
___
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: sudo anomaly

2010-09-26 Thread perryh
Steven Friedrich  wrote:

> ... tried sudo mail. I got root's mailbox nd I deleted all but two
> emails. When I q(uit) mail, it said it saved 2 messages in mbox.
> But when I try to go back in it says I don't have any mail. There
> is no root directory in /var/mail.
>
> Did sudo lose my mbox?

"mbox" != the (input) system mailbox.

Chances are, those 2 messages are in /root/mbox
___
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 BSD 8.1

2010-09-26 Thread perryh
Matthew Seaman  wrote:
> On 26/09/2010 13:30:19, Michel Talon wrote:
> > Matthew Seaman said
> >> Be aware that installing the ports tree from the DVD images
> >> is not the ideal way to do it ... it is better to ... grab
> >> an up-to-date copy of the ports directly from the net.
> > 
> > I disagree with that ...  Another option is to install
> > the ports tree from the  DVD,and install corresponding
> > precompiled packages ... and *not* updating the ports
> > tree ...

I suspect the best results can be had from an approach in between
these; details below.

> ... being up-to-date with the ports tree generally *does*
> give you better results than not.

> Ports are a moving target, dependent entirely on upstream changes.

This last is an oversimplification.  Not all ports even _have_ an
upstream, and those that do (granted, the great majority) depend
not only on upstream changes but also on the maintainer's and
committers' ability to keep up with those changes.

> Expecting that a snapshot taken months or weeks ago will work
> just as well as one updated in the last hour is plain daft ...
> ported software generally does improve over time.  Updates that
> fix problems are way more common that updates that introduce them
> ...

Couldn't this as well be said of FreeBSD itself?  If it were
universally accepted, there would be no need for the stable
or security branches and the considerable effort that goes
into maintaining them:  everyone would just run -CURRENT.

One _huge_ advantage of starting with a release _and its
corresponding set of ports & packages_ is that everything
is self-consistent.  This tends not to be true of snapshots
taken between releases, if only because no one has time to
do that much release engineering for every update of every
port.

I tried to follow the OP's approach a few years ago, and got
burned rather badly.  By the time I had the system working
well enough to start on the project I had intended to work on,
the time budgeted for the setup _and_ the work had been almost
entirely consumed in setup!  I get the impression that M. Talon
may have had similar experiences.

I've recently started on a new system, and am planning to install
8.1-RELEASE, including the corresponding ports tree; then install
what ports I can from packages and also fetch the corresponding
distfiles; and finally build -- from release-corresponding ports --
any that aren't available as packages or where I want non-default
OPTION settings.  That approach should avoid most nasty surprises
while getting things set up and working.  _After_ everything is
installed and configured properly will be plenty soon enough to
consider whether any ports need to be updated -- and the already-
installed-and-working package collection will provide a fallback
in case of trouble trying to build any updated versions.
___
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: The nightmarish problem of installing a printer

2010-09-22 Thread perryh
Warren Block  wrote:

> If someone comes up with a working GDI printer emulation layer,
> that would make a great port.

They already did, and it's already in ports.
It's (part of) wine.

Unfortunately it uses CUPS.
___
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: The nightmarish problem of installing a printer

2010-09-22 Thread perryh
> > > Personally, for bulk printing, and even more so for
> > > intermittent printing (the kind where ink dries up and gets
> > > tossed away when you use the printer once every blue moon),
> > > most users would save a _LOT_ of money by looking at a laser
> > > printer instead.

+1

> > > Take a good look at Xerox'es "Phaser" line (used to be
> > > tektronix phaser). They're no longer pawn-your-firstborn
> > > expensive, they're reliable, and they basically speak every
> > > standard protocol on the market (including both Postscript
> > > and PCL).
...
> > The cheapest multi-function laser recommended by you is the
> > Phaser 6128MFP, an obviously loss-loser. The next version is
> > $1500 ...

The Phaser 6130 (which uses C, M, Y, and K toner cartridges rather
than the wax sticks that Tektronix introduced) was $400 about 4
years ago.

> > it would be total over-kill, and a gross waste of money,
> > to install one in my home.

I believe Gordon Bell, the founder of DEC, once said almost exactly
that about home computers :)

> A couple of years ago I got very tired of buying ink cartridges.
> I search and found the Samsung scx-4725fn for a very good price.
> Laser, network, all-in-one. It is not color but that was not a
> requirement for me.
>
> Just hook it up to the network and create a simple /etc/printcap
> and add the ip to /etc/hosts and away you go. 
>
> A quick search shows it can still be purchased for under $300 US.

Ditto for the Samsung ML-2571N, except that it is just a printer
and it was about $60 a few years ago IIRC.  (I am partial to the N
model, which is directly network connected.  Essentially the same
printer, but without the network port, goes for maybe $10 less.
IMO it's well worth $10 to just plug it in and have it work.)
___
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: The nightmarish problem of installing a printer

2010-09-20 Thread perryh
Steven Friedrich  wrote:

> > "Common Unix Printing System" certainly sounds as if the intent
> > was to be the "ONE thing that is used for printing".  Whether
> > they did a good job of it is another question entirely :(
>
> I think that you don't fully apreciate the task at hand.  When
> Unix was first invented, there were no laser printers, ink jets,
> USB, etc.
>
> That no one can create a one-size fits all solution OWES to the
> fact it's simply not always possible to unify disparate designs.
> They weren't designed to be interoperable.  Technology keeps
> marchng forward. We need to discard all of it eventually.

Back in the CP/M and early MS-DOS days, similar doubts were raised
regarding display systems.

Fortunately, those doubts did not stop some developers from doing
what others thought impossible.  The results included X11, which
has been rather durable for a considerable 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"


Re: The nightmarish problem of installing a printer

2010-09-18 Thread perryh
Polytropon  wrote:

> On Fri, 17 Sep 2010 15:10:45 -0700, per...@pluto.rain.com wrote:
> > Polytropon  wrote:
> > > I would like to have ONE thing that is used for printing,
> > > and that does support ALL printers ...
> > 
> > Isn't that exactly what CUPS is supposed to be?
>
> Obviously not.

Er, I said "is supposed to be", not "is" :)  "Common Unix Printing
System" certainly sounds as if the intent was to be the "ONE thing
that is used for printing".  Whether they did a good job of it is
another question entirely :(
___
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: sysinstall vs gmirror

2010-09-17 Thread perryh
Adam Vande More  wrote:

> On Fri, Sep 17, 2010 at 11:09 PM,  wrote:
> > > Next fdisk/gpart accordingly (don't forget to make it bootable).
> >
> > This is where I get stuck.  I've partitioned the physical drives
> > using sysinstall, but how do I go about partitioning gm0?
>
> Your problem is that you are still using sysinstall.

No, I'm not.

> You can't for your purposes(this was pointed out earlier).
> Fixit only!

The question is, how do I go about partitioning gm0 from Fixit?
I've seen nothing so far that describes how to go about creating
multiple partitions on a gmirror (or on anything else, for that
matter) without either using sysinstall or having to understand
gpart.

> Notice in the example it creates some basic filesystems/diretories

using gpart and ZFS

> ...

> > > If your setup if GPT compatible, I recommend using it.
> >
> > How do I find out whether this setup is GPT compatible?
>
> Hardware(BIOS) dependent.

OK, given the system's age I will presume that it is not, thus
(I suppose) no reason to deal with gpart.
___
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: sysinstall vs gmirror

2010-09-17 Thread perryh
Adam Vande More  wrote:

> On Sun, Sep 12, 2010 at 11:14 PM,  wrote:
> > The part I don't know how to do is partitioning gm0 by hand.
> > (I suppose it would require some sort of arcane incantations
> > involving bsdlabel.)  For all its limitations, sysinstall
> > seems at least to know how to translate a reasonably human-
> > readable representation of the desired slice and partition
> > layout into the necessary fdisk and bsdlabel commands.
>
> I don't know of any exact howto, but the general principles are
> laid out here:
>
> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

I finally had time to (try to) read through that, and I'm having
trouble locating a description of how to partition a gmirror.
(The page seems oriented almost entirely to ZFS and gpart, the
only mention of gmirror being in connection with swap.)  I'm quite
sure I don't want to attempt ZFS on a machine with only 512MB, and
I'm not at all sure that a BIOS of this age would understand gpart.

> It shows how to load geom modules from usb stick

I had already figured out that part :)

  Fixit# ln -s /dist/boot/kernel /boot
  Fixit# gmirror load

which is all I think I need until I get the mirror partitioned.

> Next fdisk/gpart accordingly (don't forget to make it bootable).

This is where I get stuck.  I've partitioned the physical drives
using sysinstall, but how do I go about partitioning gm0?

> If your setup if GPT compatible, I recommend using it.

How do I find out whether this setup is GPT compatible?

> IMO, it's significantly more straightforward than the old
> mbr style.

I sure did not get that impression from reading gpart(8) :(

For starters there seem to be at least 6 kernel options, of
which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and
GEOM_PART_MBR; there's apparently no "edit" function; and one
has to puzzle out what is meant by a "protective MBR" as part
of understanding how to make a GPT partition bootable.
___
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: The nightmarish problem of installing a printer

2010-09-17 Thread perryh
Polytropon  wrote:

> I would like to have ONE thing that is used for printing, and that
> does support ALL printers ...

Isn't that exactly what CUPS is supposed to be?
___
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: sysinstall vs gmirror

2010-09-12 Thread perryh
Matthew Seaman  wrote:

> On 12/09/2010 05:09:04, per...@pluto.rain.com wrote:
> > How do I get sysinstall to recognize a gmirror?
> > ...
> I don't think sysinstall will do what you want.

It certainly has been less than totally cooperative so far :(

> However, what is your ultimate goal?
> To install a system with a gmirror root drive?

No, to install a system with each of /, /usr, and /var mirrored and
journalled, with each journal kept in the same (mirrored) partition
as its FS -- diagram below.  IIUC, to put the journal in the same
partition with the FS I have to create the journal while the FS is
empty, hence before installing.  (This is all UFS -- 512MB seems a
bit small for ZFS.)

The plan after partitioning the mirror is to create the journals,
then install onto the journalled FS's, and finally to insert the
second half of the mirror after everything else is up and running.

> ... you can boot into the Fixit system, set up mirroring etc. and
> then work through the rest of the installation process by hand.
> The install sets are just split up tarballs and it's pretty easy
> to extract a copy of a system from them.

The part I don't know how to do is partitioning gm0 by hand.
(I suppose it would require some sort of arcane incantations
involving bsdlabel.)  For all its limitations, sysinstall
seems at least to know how to translate a reasonably human-
readable representation of the desired slice and partition
layout into the necessary fdisk and bsdlabel commands.

Someone suggested using the PC-BSD installer, which knows how
to do stuff like this, but when I asked how to do that from a
memstick (rather than from a CD or DVD) I didn't get an answer.

 ad0s2 FreeBSD ad2s2 FreeBSD
  ad0s2a <- gm0 ->  ad2s2a
 |   
   +-+
   |
   v
  gm0
   gm0a
gm0a.journal [gjournal label gm0a gm0a]  rootFS
   gm0d
gm0d.journal [gjournal label gm0a gm0a]  /var
   gm0e
gm0e.journal [gjournal label gm0a gm0a]  /usr 

There's more to it than this, but I think I know how to do the rest.
The current sticking point is getting the mirror partitioned.
___
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"


sysinstall vs gmirror

2010-09-11 Thread perryh
How do I get sysinstall to recognize a gmirror?

I've created the mirror -- which currently has only one provider --
using Fixit#, followed by

Fixit# ln -s /dist/boot/kernel /boot
Fixit# gmirror load

after which /dev/mirror/gm0{,a,b} exist.  However, even after
rescanning the disks, sysinstall doesn't include gm0 in its
drive list.  I also tried:

Fixit# ( cd /dev && ln -s mirror/* . && ll gm* )
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0@ -> mirror/gm0
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0a@ -> mirror/gm0a
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0b@ -> mirror/gm0b

in case sysinstall looks only in /dev itself and not in any
subdirectories, and that didn't help.  I even tried:

Fixit# ( cd /dev && ln -s mirror/gm0 ar0 \
   && for p in a b d e ; \ 
   do ln -s mirror/gm0$p ar0$p ; done && ll ar* )
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0@ -> mirror/gm0
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0a@ -> mirror/gm0a
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0b@ -> mirror/gm0b
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0d@ -> mirror/gm0d
lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0e@ -> mirror/gm0e

in case sysinstall looks only for names of known disk drivers,
and that didn't help either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ipfw fwd and ipfw allow

2010-09-11 Thread perryh
Victor Sudakov  wrote:

> ... the 'fwd ... keep-state' statement does create a useful
> dynamic rule. It contradicts the ipfw(8) man page but works ...

Hopefully someone who understands all this will submit a patch
for the man page :)
___
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 enabled freebsd requires root zfs partition?

2010-09-07 Thread perryh
mer...@stonehenge.com (Randal L. Schwartz) wrote:

> ... PCBSD can install a typical FreeBSD install without all of
> the PCBSD extra packages.

Is there a writeup somewhere on how to do this, much preferably
involving something like memstick rather than having to burn a
CD or DVD?
___
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"


More gmirror problems (Re: "gmirror load" broken in 8.1 memstick)

2010-09-06 Thread perryh
I wrote:

> The good news is ...
>
> Fixit# ln -s /dist/boot/kernel /boot
>
> after which "gmirror load" works, creating /dev/mirror/gm0{,a,b}.

and the bad news is that it still doesn't work:

* "gmirror load" did create /dev/mirror/gm0{,a,b}, and it produced
  no output on stdout or stderr, but it appended a couple of lines
  to dmesg and the second does not look at all promising:

  GEOM_MIRROR: Device mirror/gm0 launched (1/1).
  GEOM_MIRROR: Cannot add disk ad0s2a to gm0 (error=17).

  17 is defined in sys/errno.h as EEXIST /* File exists */

  What can this mean?  Of course ad0s2a and gm0 exist:  ad0s2a is
  the (so far only) provider for gm0, which was just instantiated.

  By a different test, that error message may be bogus (long lines
  reformatted):

  Fixit# ls -la /dev/mirror
  total 1
  dr-xr-xr-x  2 root  0  512 Sep  6 08:18 ./
  dr-xr-xr-x  8 root  0  512 Sep  6 08:08 ../
  crw-r-  1 root  operator0,  78 Sep  6 08:15 gm0
  crw-r-  1 root  operator0,  79 Sep  6 08:15 gm0a
  crw-r-  1 root  operator0,  80 Sep  6 08:15 gm0b

  Fixit# file -s /dev/mirror/* /dev/ad0s2a

  /dev/mirror/gm0:  Unix Fast File system [v2] (little-endian) last
  mounted on /mnt/z, last written at Sun Sep  5 03:24:40 2010, clean
  flag 1, readonly flag 0, number of blocks 154976879, number of
  data blocks 150098746, number of cylinder groups 1648, block size
  16384, fragment size 2048, average file size 16384, average number
  of files in dir 64, pending blocks to free 0, pending inodes to
  free 0, system-wide uuid 0, minimum percentage of free blocks 8,
  TIME optimization

  /dev/mirror/gm0a: Unix Fast File system [v2] (little-endian) last
  mounted on /mnt/z, last written at Sun Sep  5 03:24:40 2010, clean
  flag 1, readonly flag 0, number of blocks 154976879, number of
  data blocks 150098746, number of cylinder groups 1648, block size
  16384, fragment size 2048, average file size 16384, average number
  of files in dir 64, pending blocks to free 0, pending inodes to
  free 0, system-wide uuid 0, minimum percentage of free blocks 8,
  TIME optimization

  /dev/mirror/gm0b: ERROR: cannot read `/dev/mirror/gm0b'
  (Input/Output error)

  /dev/ad0s2a:  Unix Fast File system [v2] (little-endian) last
  mounted on /mnt/z, last written at Sun Sep  5 03:24:40 2010, clean
  flag 1, readonly flag 0, number of blocks 154976879, number of
  data blocks 150098746, number of cylinder groups 1648, block size
  16384, fragment size 2048, average file size 16384, average number
  of files in dir 64, pending blocks to free 0, pending inodes to
  free 0, system-wide uuid 0, minimum percentage of free blocks 8,
  TIME optimization

  This sure _looks_ as if mirror/gm0 and mirror/gm0a are seeing the
  data on ad0s2a, so maybe it's working after all.  But:

* After exiting from Fixit, and having sysinstall rescan devices so
  as to become aware of /dev/mirror/gm0*, gm0 is not in the disk
  list for either Partition (slice) or Label.  I even tried:

  Fixit# ( cd /dev && ln -s mirror/* . && ll gm* )
  lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0@ -> mirror/gm0
  lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0a@ -> mirror/gm0a
  lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0b@ -> mirror/gm0b

  in case sysinstall looks only in /dev itself and not in any
  subdirectories, and gm0 is *still* not in either list.  How
  do I get sysinstall to see it?
___
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: "gmirror load" broken in 8.1 memstick

2010-09-05 Thread perryh
Matthew Seaman  wrote:

> If you've been able to run 'gmirror label' then geom_mirror.ko is
> almost certainly already loaded into your kernel, making 'gmirror
> load' superfluous.  Check using kldstat(8).

Fixit# kldstat
Id Refs AddressSize Name
 11 0xc040 bb5504   kernel

It looks as if writing the metadata doesn't require geom_mirror.ko
to be loaded -- which makes a certain amount of sense since the
module, even if loaded, presumably shouldn't do anything to a
partition that doesn't already have metadata in its last sector.

The good news is that, now having an idea what to look for, I checked
for geom_mirror.ko in /boot/kernel and found -- surprise! -- the
/boot/kernel directory doesn't even exist in the Fixit FS (when
booted from the USB stick, dunno about the CD or DVD) and this is
apparently the cause of "gmirror load" reporting "Command 'load' not
available."  The fix is:

Fixit# ln -s /dist/boot/kernel /boot

after which "gmirror load" works, creating /dev/mirror/gm0{,a,b}.
___
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: Regex Help For Procmail

2010-09-05 Thread perryh
Frank Shute  wrote:

> Drew, try this:
>
> * ^From:.*famous-smoke\.com
>
> I think it's not catching it because the period isn't backslash
> escaped ...

Unless there's some edge case that I'm not thinking of, adding a
backslash to escape a period will never convert a non-match into
a match.  An unescaped period in an RE matches any character,
including a period.  An escaped period matches only a period.

Adding the backslash _does_ better represent what the OP wants
to accomplish, but the lack of it is not the cause of the RE not
matching.  (I'm not sufficiently familiar with how procmail uses
REs to figure out what _is_ causing it not to match.)
___
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"


"gmirror load" broken in 8.1 memstick

2010-09-04 Thread perryh
Fixit# gmirror label -vb round-robin gm0 /dev/ad0s2a

appeared to work properly.  (I didn't write down the exact
message, but it said something about the metadata having
been written successfully.)  However:

Fixit# gmirror load
gmirror: Command 'load' not available.

and it did not create /dev/mirror/gm0 or even the /dev/mirror
directory.

How do I fix this?
___
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: 8.1: Cron ignoring crontab updates

2010-09-03 Thread perryh
Arthur Chance  wrote:

> On 09/03/10 09:19, per...@pluto.rain.com wrote:
> > Chris Rees  wrote:
> >> You have to SIGHUP cron, not restart it.
> >> # killall -HUP cron
> >
> > Isn't crontab(1) supposed to do that, without separate
> > intervention?
>
>  From man cron
>
> > Additionally, cron checks each minute to see if its spool
> > directory's modification time (or the modification time on
> > /etc/crontab) has changed, and if it has, cron will then
> > examine the modification time on all crontabs and reload
> > those which have changed.  Thus cron need not be restarted
> > whenever a crontab file is modified.  Note that the
> > crontab(1) command updates the modification time of the
> > spool directory whenever it changes a crontab.

OK, I had the mechanism wrong.  The main point is, it should not
require manual intervention by an administrator to get cron(8) to
notice when crontab(1) has revised a crontab.  The one thing I can
think of, short of a bug, is that a change made less than 1 minute
before the newly-added or -removed event might not be noticed in
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"


Re: two ata-related problems

2010-09-03 Thread perryh
Erik Trulsson  wrote:

> So, yes, FreeBSD 8.1 *should* be able to recognize
> an ATAPI Zip drive.

No great urgency -- I won't need it during the install
and no specific plans even after that -- but any ideas
how to go about tracking this down?
___
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"


two ata-related problems

2010-09-03 Thread perryh
Two questions about installing FreeBSD 8.1 on a Dell Precision 420
(yes, I know it's old):

1. Should FreeBSD 8.1 be able to recognize a 100MB ATAPI Zip drive?
   I'm not finding it in the dmesg, although BIOS Setup recognizes
   it.  (It and a CDROM are on the secondary IDE channel; I've tried
   with each of them as master and either way the CD is recognized
   but the Zip is not.)

2. It currently has the original A01 BIOS.  I'm going to have to
   update that, because it doesn't recognize the 320GB drive I've
   added as a new boot drive.  With the 320GB installed as unit 0
   (master) on the primary IDE channel, the A01 BIOS won't even
   recognize the previously-working 40GB drive which is now unit 1;
   so the BIOS disables that channel entirely keeping FreeBSD from
   seeing those drives either.

   A BIOS upgrade should be straightforward, but while Googling
   I ran into a posting where someone apparently had a lot of
   trouble with a BIOS upgrade for one of these of boxes.  Thus
   the question:  Has anyone here had any experience, either good
   or bad, with running FreeBSD on one of these with an upgraded
   BIOS?  If so, which version?  I found A06, A07, A10, A11, and
   A13 on Dell's FTP site.

dmesg (from a USB boot) attached.  The reported 320GB (on an add-in
card) is a twin of the one described above that isn't recognized on
the primary on-board channel.  I want them on separate channels to
improve mirroring performance.
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (731.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Family = 6  Model = 8  Stepping = 3
  
Features=0x383fbff
real memory  = 536870912 (512 MB)
avail memory = 506056704 (482 MB)
ACPI APIC Table: 
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, f0 (3) failed
acpi0: reservation of 100, 1ef9e000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  on hostb0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  mem 
0xf400-0xf5ff,0xfcffc000-0xfcff,0xfc00-0xfc7f irq 16 at 
device 0.0 on pci1
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 
0xf8fffc00-0xf8fffc7f irq 16 at device 4.0 on pci2
miibus0:  on xl0
xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:22:5a:14
xl0: [ITHREAD]
pci2:  at device 6.0 (no driver attached)
atapci0:  port 
0xdc70-0xdc7f,0xdc50-0xdc5f,0xdc30-0xdc3f,0xdc10-0xdc1f,0xd8e0-0xd8ff,0xd400-0xd4ff
 irq 19 at device 11.0 on pci2
atapci0: [ITHREAD]
ata2:  on atapci0
ata2: [ITHREAD]
ata3:  on atapci0
ata3: [ITHREAD]
ata4:  on atapci0
ata4: [ITHREAD]
pcib3:  at device 14.0 on pci2
pci3:  on pcib3
ahc0:  port 0xec00-0xecff mem 
0xfafff000-0xfaff irq 18 at device 10.0 on pci3
ahc0: [ITHREAD]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1:  port 0xe800-0xe8ff mem 
0xfaffe000-0xfaffefff irq 19 at device 10.1 on pci3
ahc1: [ITHREAD]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0:  on atapci1
ata0: [ITHREAD]
ata1:  on atapci1
ata1: [ITHREAD]
uhci0:  port 0xff80-0xff9f irq 19 at device 
31.2 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0:  on uhci0
pci0:  at device 31.3 (no driver attached)
atrtc0:  port 0x70-0x7f irq 8 on acpi0
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
ppc0:  port 0x378-0x37f,0x778-0x77f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppc0: [ITHREAD]
ppbus0:  on ppc0
plip0:  on ppbus0
plip0: [ITHREAD]
lpt0:  on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0:  on ppbus0
pmtimer0 on i

Re: 8.1: Cron ignoring crontab updates

2010-09-03 Thread perryh
Chris Rees  wrote:

> You have to SIGHUP cron, not restart it.
>
> # killall -HUP cron

Isn't crontab(1) supposed to do that, without separate intervention?

> On 2 Sep 2010 21:11, "patrick"  wrote:
>
> I recently upgraded a FreeBSD 7.0 system to 8.1-RELEASE (via
> freebsd-update) and am experiencing the strangest cron problem
> I have ever seen.
>
> My cron jobs run, but if I make any changes to my crontab,
> cron does not pick them up; it continues to operate based on
> the snapshot of crontabs it loaded when cron was started up ...
> Has anyone come across this?

Yes, so long ago I no longer remember which Unix flavor it was on.
Could have been SunOs 3.5 or 4.x, some version of Solaris, UnixWare,
or even FreeBSD 4.x.
___
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: Interactive Port

2010-09-01 Thread perryh
Rem P Roberti  wrote:

> Brother!  Muttprint is now working fine.  The problem: the printer
> was offline!  Now, before you go accusing me of being a complete
> dufus, let me say that I had no way of knowing that that condition
> existed.  The printer itself indicated that it was online---no
> problem.  What happened is that somehow, and I'm not sure what
> caused this, the printer became disengaged from its usb port.

I'd call it a bug in the printer that it continues to indicate
online when it has lost its connection to its host (unless it
also has a network connection, and in that case I imagine you'd
be using the network instead of USB).

> ...  The only way that I could get it talking again to usb was by
> doing a reboot.

Now _that_ sounds like a possible bug in the USB subsystem, since
USB is supposed to be completely hot-pluggable and should not need
a reboot to get itself straightened out after a mishap.  Cc-ing usb@
list.

One question which will surely arise is, which FreeBSD version are
you using?  The USB stack was completely rewritten in 8.0.
___
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: System mail

2010-08-31 Thread perryh
Polytropon  wrote:

> On Mon, 30 Aug 2010 11:59:46 -0700,
> Rem P Roberti  wrote:
> >   At this time system mail is being delivered to /var/mail/,
> > which is the normal way of doing things.  Is it possible to have
> > system mail delivered to an email client, such as Thunderbird or
> > Mutt?
>
> No. Per definition, a mail client (mail user agent - MUA) can not
> be the target of mail delivery ...

Depending on what the OP had in mind, ports/mail/procmail might turn
out to be (at least part of) a solution.
___
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: ports database

2010-08-28 Thread perryh
Polytropon  wrote:

> > tar -cf ports.tar /usr/port
>
> It should be, better suited:
>
>   # cd /usr
>   # tar cf ports.tar ports
>
> So one could do "tar xf ports.tar" in the target machine's /usr
> ...

Better put the created tarfile somewhere other than in the directory
that is being tarred :)
and it might as well be compressed, something like:

# cd /usr
# tar cf - ports | gzip > /var/tmp/ports.tgz
___
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: Xorg Problems

2010-08-22 Thread perryh
Fred Boatwright  wrote:

> Until FBSD X is working on the pc I have to use Netscape 4.79 on
> a Sun running Solaris 2.6 (which I would prefer to keep using if
> only a modern browser was available) ...

If the problems with X on FBSD are limited to the X "server"
(display subsystem), perhaps you can run X "clients" (such as a
recent version of FireFox) on the FBSD box with DISPLAY set to
the Solaris box.

The simplest way of doing this is to ssh into the FBSD box from an
xterm (or rxvt, or whatever) on the Solaris box.  Depending on how
ssh is set up you may (or may not) need to specify -X to get the
X protocol forwarded.  Forwarding will result in DISPLAY being set
to something like localhost:10.0 in the FBSD shell session, and it
should "just work."
___
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: Typical Network Performance

2010-08-08 Thread perryh
"Jason C. Wells"  wrote:
> By process of elimination (swap cables, swap ports, try different
> host pairs) I was able to discover that a single server on my home
> LAN was getting about 1.6% performance compared to other servers
> getting 94%
...
> What would be the next step to figuring out why this host's network
> performance is slow?

My next step would be to check whether this host and its hub/switch
port agree on speed and duplex -- occasionally some combination
of netcard phy and switch type gets the negotiation wrong.  Duplex
mismatch, in particular, can have huge performance impact.
___
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 for a buildable version of OpenOffice.org

2010-08-05 Thread perryh
Scott Bennett  wrote:

> No packages appear to be available for these ports.

As of a week or so ago, freebsd.org (and presumably at least some of
the mirrors) had openoffice.org-2.4.3_2.tbz among the 8.1 packages.
I didn't check any other releases.
___
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: Installing a system to use both gjournal and gmirror

2010-08-01 Thread perryh
Aram H??v??rneanu  wrote:
> On Sat, Jul 31, 2010 at 12:38 PM,   wrote:
> > I've read the Handbook sections on gmirror and gjournal, and
> > the gjournal-desktop article, and I'm still unclear on how to
> > go about setting up a configuration that uses both.
>
> I have GPT disks and do GEOM mirror for / plus GEOM stripe
> for everything else. Everything is using GEOM Journal and the
> filesystem is UFS2.
>
> excelsior% gpart show
> =>   34  625142381  ad4  GPT  (298G)
>  341281  freebsd-boot  (64K)
> 16241943042  freebsd-ufs  (2.0G)
> 419446641943043  freebsd-swap  (2.0G)
> 838877062914564  freebsd-ufs  (3.0G)
>14680226   209715205  freebsd-ufs  (10G)
>35651746   104857606  freebsd-ufs  (5.0G)
>46137506  5790049097  freebsd-ufs  (276G)
> 
> =>   34  625142381  ad6  GPT  (298G)
>  341281  freebsd-boot  (64K)
> 16241943042  freebsd-ufs  (2.0G)
> 419446641943043  freebsd-swap  (2.0G)
> 838877062914564  freebsd-ufs  (3.0G)
>14680226   209715205  freebsd-ufs  (10G)
>35651746   104857606  freebsd-ufs  (5.0G)
>46137506  5790049097  freebsd-ufs  (276G)
> 
> excelsior% gmirror status
>   NameStatus  Components
> mirror/rootmirror0  COMPLETE  ad4p2
>   ad6p2
>
> excelsior% gstripe status
> Name  Status  Components
>stripe/varstripe0  UP  ad4p4
>   ad6p4
>stripe/usrstripe0  UP  ad4p5
>   ad6p5
> stripe/usrobjstripe0  UP  ad4p6
>   ad6p6
>   stripe/tankstripe0  UP  ad4p7
>   ad6p7
>
> excelsior% gjournal status
> Name  Status  Components
>   mirror/rootmirror0.journal N/A  mirror/rootmirror0
>stripe/varstripe0.journal N/A  stripe/varstripe0
>stripe/usrstripe0.journal N/A  stripe/usrstripe0
> stripe/usrobjstripe0.journal N/A  stripe/usrobjstripe0
>   stripe/tankstripe0.journal N/A  stripe/tankstripe0
...



Very nice.  How did you go about installing the system, to produce
that configuration?
___
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: Installing a system to use both gjournal and gmirror

2010-07-31 Thread perryh
Adam Vande More  wrote:

> > * Since I can't mirror or journal a FAT32 slice AFAIK,
>
> You can do both to it, it just won't be able to handle the journal.
> Mirroring is just fine.  GEOM stuff works at the block level making
> it filesystem independant.

Wouldn't journalling a FS that doesn't support it be wasted effort?

I suppose mirroring would work as long as the partition were written
only by FreeBSD.  Anything written by DOS or Windows would not get
mirrored, resulting in confusion as to which copy was correct, no?

> >  and there seems little point in mirroring swap or /tmp ...
>
> While you are correct there isn't much point in mirroring swap
> and tmp, there also isn't much point in trying to save the space
> either.  It's not very much relatively and if you use it for
> something else you impact the performance of your disks.

Granted there may not be a lot of space involved, but I don't follow
you WRT performance impact.  If anything I'd think that independent
equal-sized swap partitions on separate channels should perform
better than if they were mirrored, since any given write would be
performed on only one of them vs on both.

> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/gjournal-desktop/

That's the how-to whose 8.1-RELEASE version I had already looked at.
I didn't see any mention of performance, nor of mirroring, nor of
how to intervene after sysinstall has sliced and partitioned the
disks and before it starts installing the distributions -- the last
being necessary if the data and journal are to share a partition.
Did I miss something?
___
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: Installing a system to use both gjournal and gmirror

2010-07-31 Thread perryh
krad  wrote:

> have a play with the latest pc-bsd disk if you are having issues.
> It will install a native freebsd, and supports gmirror and
> gjournal. You can do it via a script type install or GUI.

I'm not to the point of having issues yet :)

I haven't found any instructions on the pc-bsd site for setting up
journalling -- only some dmesg excerpts which suggest that it is in
fact available and (in at least one case) the journal and data were
indeed on the same partition -- but maybe my google-fu is not strong
enough.  Searches for info regarding mirroring are overwhelmed by
mentions of the word in the context of download sites.
___
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"


Installing a system to use both gjournal and gmirror

2010-07-31 Thread perryh
I've read the Handbook sections on gmirror and gjournal, and the
gjournal-desktop article, and I'm still unclear on how to go about
setting up a configuration that uses both.

* Since I haven't started the installation -- thus the partitions
  haven't even been created yet -- it seems as if it "should" be
  possible to put the journals in the same partitions with the data.

* Since I can't mirror or journal a FAT32 slice AFAIK, and there
  seems little point in mirroring swap or /tmp, I think I want to
  end up with something along the lines of (on identical drives ad0
  and ad2):

ad0   ad2
 ad0s1 FAT32
 ad0s2 FreeBSD ad2s1 FreeBSD
  ad0s2a <- gm0 ->  ad2s1a
 |
   +-+
   |
   |  ad0s2b swap   ad2s1b swap
   |  ad0s2c [whole slice]  ad2s1c [whole slice]
   |ad2s1d /tmp [same size as ad0s1]
   v
  gm0
   gm0s1
gm0s1a
 gm0s1a.journal [gjournal label ad0s1a ad0s1a]  rootFS
gm0s1c  [whole mirror]
gm0s1d
 gm0s1d.journal [gjournal label ad0s1a ad0s1a]  /var
gm0s1e
 gm0s1e.journal [gjournal label ad0s1a ad0s1a]  /usr

How do I go about doing something like this?
___
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"


Installing 8.1-RELEASE from the memstick

2010-07-31 Thread perryh
When installing from the 8.1-RELEASE memstick, what is the correct
selection for Installation Media?  I'm not finding any mention of
memstick in the Handbook.
___
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: Are there tools for binary update(security etc.) of applications?

2010-07-30 Thread perryh
Luca Renaud  wrote:

> I updated my system from FreeBSD 8.0 to 8.1 using the tool
> freebsd-update. As far as I know this tool only updates the
> core system and user land utilities, thus, all other apps
> are not updated.

Correct.

> I use the gnome desktop, and I regularly receive the warning from
> Software Updater that I have 240, or so, applications not updated
> etc., and if I want to update them.  My question is: update them
> through the ports system? (compiling them all?) or binary update?
> Are there tools capable of doing that using the command line?
> (binary update of apps not in the core system or userland
> utilities, but also important regarding security questions, for
> example).

Either portmaster or portupgrade can update using pre-built packages
from freebsd.org or its mirrors.  Portmaster (having no dependencies)
is likely the easier to install, unless you already have ruby installed.
___
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: Booting from floppy to install 8.1

2010-07-30 Thread perryh
"Thomas Mueller"  wrote:

> > Should I be able to do a network install of 8.1 using a 7.3 boot
> > floppy set?  (I'm not planning to set up zfs, at least initially.)
...
> I once net-installed FreeBSD using a boot CD from an earlier
> version; I think it was a disk one rather than boot-only ...
> If you use boot floppies, use only the two (or is it three?)
> needed to boot the install system.

If I've understood the 7.3 set correctly it's now up to five:  the
initial boot, plus 3 for the kernel and one for the mfsroot image.

> I never used zfs, don't have big enough hard drive or enough RAM
> to justify zfs.

Ditto, at least as to RAM (512MB, which I tend to think of as
_huge_ -- after all, "no one should ever need more than 640KB" :)
I still have a couple of _hard drives_ that are only 10MB each
sitting around somewhere.

> You could look into PLoP (http://www.plop.at/) boot manager: may
> be able to boot CD or USB even when BIOS does not support booting
> from CD or USB ...

THANK YOU!!  It does indeed boot the machine from the 8.1-RELEASE
USB memstick, solving the problem entirely.  This deserves to be
better known.

> If I were in your situation, my first choice would be net install,
> assuming you have cable or DSL; dialup would be awful slow.

Even dialup would be faster (or at least a lot easier) than
installing the whole system from floppies.  By "boot floppy set"
I was referring to just the boot, kernel, and mfsroot needed to
get started.
___
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: ok, i give up...

2010-07-29 Thread perryh
Frank Shute  wrote:
> On Wed, Jul 28, 2010 at 07:04:51PM -0700, Gary Kline wrote:
> > guys, i've been searching for a calender/reminder prog
> > than i had YEARS ago.  cannot find.  
> > 
> > it had a ~/.datafile that was ascii.  things like
> > 
> > 
> > 
> > # Bill's birthday:
> > 08 08 echo "Send Bill a birthday card.
> > 
> > # watch one-time broadcast!!
> > 08 09 2010  echo: "Watch PBS show at 20:00 hours"
> > 
> > 
...
> deskutils/ical ?

Good program, but probably not what the OP had in mind.
ical's .calendar file, while ascii, is in a structured
format which would be a bit of a pain to edit by hand;
and I don't recall its being set up to send email.
___
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"


Booting from floppy to install 8.1

2010-07-29 Thread perryh
I'm trying to solve a chicken-egg problem.

I need to boot from floppy to install 8.1, and I don't already have
a running 8.1 system on which to build a set of 8.1 floppy images.
(The machine in question is an oldish Pentium-III that only boots
from its hard drive or from floppy -- the BIOS claims it can also
boot from its ATAPI Zip-250 drive but that capability doesn't seem
to be working.)

By comparing the contents of the 7.3 bootonly ISO and the
corresponding floppy images, I've figured out how to construct
_almost_ everything on the floppies from the contents of the
bootonly ISO.  The exception is the boot floppy's boot/loader,
which is not the same as or obviously derivable from any file
on the bootonly ISO including the ISO's boot/loader (which has
changed between 7.3 and 8.1, else I'd feel reasonably safe about
trying to use the 7.3 boot floppy's boot/loader file).

So, in order of simplicity:

Should I be able to do a network install of 8.1 using a 7.3 boot
floppy set?  (I'm not planning to set up zfs, at least initially.)

If not, are the 7.3 and 8.1 boot/loader files similar enough that
the boot/loader from a 7.3 boot floppy "should" work when all else
in the floppy set is from 8.1?

Is there a reasonable way to build the proper boot/loader file for
an 8.1 boot floppy using a 6.x or 7.x system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD logo (a moderate opinion)

2010-07-28 Thread perryh
Gary Gatten  wrote:

> Will someone PLEASE kill this thread!  Moderator(s)?

Er, questions@ is not moderated ...

You are, of course, welcome to add a rule to your procmail
or whatever to delete these messages before you see them.
___
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: OpenOffice 3.2.1 in FreeBSD 8.1

2010-07-28 Thread perryh
"Jack L."  wrote:

> Oh, they aren't on the freebsd package sites due to some of the
> dependencies having licensing issues preventing it from being
> built automatically (java). That's why there's a seperate site
> for them.

The 8.1 package collection on freebsd.org includes OOo 2.4.3.
Unless OOo 3.x has added a java dependency that OOo 2.x did not
have, it may just be a matter of OOo 3.x not having been added
to the FreeBSD port system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD logo

2010-07-27 Thread perryh
"Kruppa, Peter Ulrich"  wrote:

> Pan (god of the shepherds) ... partially resembles a goat.

And thus, when a critic Pans a show, he gets the performers' goat?
___
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 INDEX in .sh

2010-07-25 Thread perryh
Aiza  wrote:

> ... see a big inconsistence in how ports list build-deps
> and run-deps. Some ports list no build-deps just run-deps
> and vise-versa and some have same listed list in both.

None of these is necessarily wrong.  A port consisting solely of a
Perl script would have no build-deps -- there's nothing to build --
but it would have a run-dep on perl.  A port which uses no shared
libs outside the base would have no run-deps, but it might have a
build-dep on a compiler if written in a language whose compiler
isn't part of the base.

> Thinking I will have to take both the build and run deps lists
> and sort them together and drop dups to create a good list of
> dependents to allow for the lax enforcement of standards in the
> Makefile about how to list the ports dependents.

If you're only going to build the port (to create a package to be
installed elsewhere) you don't need the run-deps.  If you're only
going to run it (having built it elsewhere) you don't need the
build-deps.  If you're going to build/install/run on the same system
you need both the build-deps and the run-deps, but after the build
has finished you can delete any build-deps that aren't also run-deps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: BSD logo

2010-07-25 Thread perryh
Chip Camden  wrote:

> Personally, I like the devilish association, however indirect
> it may be.  FreeBSD is somewhat counter-cultural and anti-
> authoritarian, after all.

This discussion has drifted badly OT, but I feel compelled to
point out that Christ Himself was very counter-cultural and anti-
authoritarian for His time.  That's what got Him crucified, no?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


freebsd-questions@freebsd.org

2010-07-08 Thread perryh
Anonymous  wrote:

> Dmitry Lunts  writes:
>
> > Hello,All!
> > There is debugfs program dealing with ext2/ext3/ext4 filesystems.
> > Is there some tool in FreeBSD with functionality analogous to debugfs
> > which can operate on UFS2?
>
> Not sure but fsdb(8) may help.

Before the development of fsck, its job was split between two
utilities -- icheck and dcheck -- which in addition to their
principal use for fixing corrupted filesystems also provided
the ability to do exactly this sort of thing.

I have no idea how much the filesystem data structures may have
changed since, but if you can track down their sources and get
them to compile they might still be useful.
___
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 8.0 p#3

2010-06-27 Thread perryh
Matthew Seaman  wrote:

> Fix your ports supfile: for ports you /always/ want HEAD ...

s/always/almost &/

If one wanted to download a copy of the ports tree as it existed
when, say, 6.1 was released, specifying the corresponding tag would
be the way to get it.  Granted one seldom wants a frozen checkpoint
like that.
___
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: Atheros AR8131 Ethernet hangs shutdown

2010-06-09 Thread perryh
CyberLeo Kitsana  wrote:

> ... Alas, this box lacks obvious serial ports.

If you don't mind taking it apart, there's a fair chance of finding
a 3- or 9-pin SIO header on the circuit board.  It may be TTL level
rather than RS232, however.
___
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: office apps

2010-06-07 Thread perryh
Charlie Kester  wrote:

> Can PowerPoint save to PDF, which is what almost
> everyone else seems to be using for presentations?

Just about any app, including PPT, can print to PDF if Acrobat
is installed.  Without Acrobat, print-to-file specifying a
PostScript printer (e.g. an Apple LaserWriter) will produce a
PostScript file, which you can make into a PDF using ps2pdf.
___
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: text editor

2010-06-03 Thread perryh
mer...@stonehenge.com (Randal L. Schwartz) wrote:

> Robert> Anybody else familiar with TECO?  <*EVIL* grin>
> I wrote a screen-based editor in it, having heard of Emacs,
> wanting to do the same thing.

Didn't Emacs start out as a reimplementation of TECO in Lisp?
___
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: text editor

2010-06-02 Thread perryh
Matthew Seaman  wrote:

> Young whippersnappers.  *Eight* was the good old days,
> back before the web was invented.

Dept of (in)famous last words:

  There is no reason for anyone to have a computer in their home.
  -- Gordon Bell, founder of DEC

  No one will ever need more than 640K.
  -- Bill Gates, perpetrator of Microsoft
___
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: text editor

2010-05-29 Thread perryh
Fbsd1  wrote:
> Been using ee and been happy.
> Now I have need for an editor with block commands.
...
> Is there any editors with a function like this?

Either vi or emacs can do this general sort of thing.
___
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: 'Serious' crypto?

2010-05-29 Thread perryh
Matthew Seaman  wrote:

> ... I don't think you could get support cover with a 4 hour
> on-site response from Soekris...

OTOH, given the price difference, one could afford to keep a
whole spare system on hand.
___
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: Help With pptpclient Setup

2010-05-20 Thread perryh
Drew Tomlinson  wrote:

> >> I'm using FBSD 8.0-STABLE and trying to connect to a Cisco
> >>   VPN at work.  Windows PCs connect with the basic Microsoft
> >>   dial-up networking client.  Thus I assume pptpclient is my
> >>   answer for FBSD.
> >
> > I would think GRE would be the answer here.
> >
> > ...
>
> Thanks for your reply.  However I do not see how to pass my 
> username/password to the Cisco VPN in either of those 2 links.

Dunno about either pptpclient or GRE, but vpnc knows how to
handle username & password and seems to work here,
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread perryh
Chip Camden  wrote:

> Does anyone have a recommendation for NAS that works well for
> both FreeBSD and Windows clients?

IME, among commercial offerings, virtually all support SMB (via
Samba) but only the high-end (large & relatively costly) ones
support NFS also.  (A while back, the largest Buffalo that Fry's
had -- 4TB IIRC -- claimed to support NFS; all other NAS of any
brand mentioned only SMB and DELNI.)

You can use an inexpensive SMB-only NAS with a FreeBSD client,
but you'll need Samba on the client.
___
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: Small computer to run a GUI?

2010-05-08 Thread perryh
Robert Huff  wrote:

>   I seem to have lost the bookmark, but within the last 18
> months or so I saw an article for something that might work here.
> It ran Linux, so hopefully it would run *BSD.
>   It had a 1 ghz processor, and 512 mbytes of RAM.
>   The package was a a cube. 2"x2"x2".  That's correct, inches.
> One face has a power plug; another had a USB connector; a third
> has a (100 mbit) ethernet connector.
>   The price was (I think) under US $150.

Sounds a bit like a ShivaPlug.
___
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: Strange diskspace loss

2010-05-04 Thread perryh
 wrote:

> And the fsck:
>
> # fsck
...
> ** /dev/aacdu0s1e (NO WRITE)
> ** Last Mounted on /var
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=23587  OWNER=root
> MODE=100644
> SIZE=0 MTIME=Apr  9 13:36
> 2010
> CLEAR?
> no
>
> UNREF FILE I=3156011  OWNER=root MODE=100644
> SIZE=6944766 MTIME=May  4 04:34 2010
> CLEAR? no
>
> UNREF FILE I=3179521  OWNER=www MODE=100644
> SIZE=30361665474 MTIME=May  4 09:43 2010
  
> CLEAR? no

There's at least part of your problem:  30GB that du can't see
because it isn't linked to by any directory entry.  Something
associated with your web server has created a large scratch file,
which it still has open (and thus the space can't be reclaimed),
but it unlinked the file after creating it so that it would
automatically go away once the process dies.

This sort of thing -- though seldom so large as this -- is not at
all uncommon in /tmp.  It's less common, but (as in this case) not
unheard of, in /var/tmp.
___
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: X is broken after upgrade

2010-05-02 Thread perryh
Jamie Griffin  wrote:
> When it crashes, i've noticed another error that shows on the console:
>
> /libexec/ld-elf.so.1: /usr/local/lib/xorg/modules/drivers/intel_drv.so:
> Undefinded symbol "xf86LoaderReqSymLists"
  ^^

> ... not sure what that means exactly, any ideas?

Among other things, it means you transcribed the message by hand
instead of copy-pasting it :)

You seem to have a missing shared-library (runtime) dependency.
Perhaps one of your X libs didn't get upgraded?
___
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: Wpoison?????

2010-04-27 Thread perryh
John  wrote:

> I wouldn't need to create a new e-mail account, I've already
> got lots of them that seem to be pure spam magnates, including
> "man" (the manual pages psuedo-user) which are getting stuff
> sent to them all the time.  I'm pretty sure that anyone sending
> to "m...@starfire.mn.org" is a spammer...

Another favorite, at least here, seems to be old Message-Id's
that have been harvested and used as email addresses :(
I haven't seen anything to "man" yet, however.
___
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: Wpoison?????

2010-04-27 Thread perryh
John  wrote:

> > There are better systems that have a pure honeypot which actually
> > accepts mail (and add the IPs that send mail to a blacklist)
>
> OK - where do we find one of THOSE?

Unfortunately, THOSE may be a bit too simplistic :(

Someone forges an email appearing to come from one of your honeypot
addresses, and sends it to a bogus (or on-vacation) address at a
legitimate site.  The bounce (or vacation response) comes to your
honeypot address, causing you to blacklist the legitimate site.

No, I am not making this up.  More than once I've discovered one of
my employer's mail servers on the Spamcop blacklist, causing my home
upstream to bounce (as presumed spam) messages I tried to send from
office to home.  This seemed to have been the mechanism involved.
___
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: Network laser printcap

2010-04-24 Thread perryh
"Graham Bentley"  wrote:
> Could anyone using a network laser printer post
> their working /etc/printcap entry?
>
> Having mixed results getting a Kyocera FS-1010
> working consistently on both ascii & ps

These entries work here on 6.1:

lp|Samsung ML-2571N PostScript network printer:\
:sh:\
:rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs:
xerox|Xerox Phaser 6130 Color PostScript network printer:\
:sh:\
:rm=xp6130:sd=/var/spool/output/xp6130:lf=/var/log/lpd-errs:
___
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: [SPURIOUS] Delivery Status Notification(Failure) (fwd)

2010-04-21 Thread perryh
Matthew Seaman  wrote:

> One bounce is bad enough if it goes back to the whole list
> -- but that could be excused as a momentary aberration.
> Any more than that is grounds for reporting the message to
> postmas...@freebsd.org and having the sender blacklisted:
> anyone that configures a mail server to send error notifications
> to an entire mailing list needs a) to spend some quality time
> studying the SMTP RFCs and b) to step away from the keyboard
> /now/ as they are clearly not competent to run a mail server
> on the Internet.

I've seen no indications of the bounces going to the list, only to
the sender (i.e. I posted 4 messages to freebsd-questions@ and got
back 4 bounces; I didn't get bounces that seemed related to anyone
else's posts).  However, it does look as if someone needs to teach
that mailserver about the Errors-To: header.

> Thoroughly recommend using relaydb(1) to teach your mail system
> where you've received spam from in the past and make sure it
> doesn't happen again ...

I let my uucp(!) upstream's Red Condor spam filter deal with that
sort of problem :)
___
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: [SPURIOUS] Delivery Status Notification(Failure) (fwd)

2010-04-20 Thread perryh
Ian Smith  wrote:

> Has anyone (everyone?) else been receiving these DSNs a week or so
> after having posted to freebsd-questions@ ?  Since around early
> April?
>
> I've had four such in the last three days ...
>
> If it's 'just me' I can block their source, but if more widespread
> I'll ask our esteemed postmaster (cc'd) to try hunting the errant
> recipient.
>
> cheers, Ian
>
> -- Forwarded message --

> Your message:
> To: twelc...@mobileemail.vodafonesa.co.za
> Subject: Re: reliable rs-232
> Sent Date: 25:05 +
> has not been delivered to the recipient's BlackBerry Handheld.

Now that you mention it, yes.  A posting to "freebsd-questions@"
about 01:00 (US Pacific) on Apr 06 did not get one of those, but
one about 01:10 on Apr 08 and three (one about 01:00, two about
19:10) on Apr 09 did.  The first notice turned up at 20:16 Apr 16,
and the other three between 20:13 and 20:15 on Apr 17.  All four
specify the same recipient address as yours.
___
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: USB Powered Speakers

2010-04-09 Thread perryh
Programmer In Training  wrote:

> I'm thinking I'm just going to wait until Tuesday and get a brand
> new pair of wall-powered speakers. This hassle is NOT worth it ...

If "speakers on USB 2.0 card, all else on 1.x builtins" doesn't
work, you might want to try a power adapter that has a USB host
connector.  (I've seen such at Fry's, intended for devices like
iPods that were designed to recharge their internal batteries
from a USB port.)  This would effectively convert your current
set to wall-powered, which might be less costly than a new set.

WRT the suggestion to hack something together, I wouldn't suggest
attempting it unless you're quite sure of what would be involved.
It wouldn't be exactly difficult, but getting something backwards
-- or connecting to the +12 instead of the +5 supply -- would at
least let all the magic blue smoke out of the speakers :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Kernel Config for NAT

2010-04-09 Thread perryh
Ian Smith  wrote:
>  > >  http://www.freebsd.org/doc/handbook/firewalls-ipfw.html
> 
> This is absolutely the worst section of an otherwise great
> handbook ...  Nothing short of a rewrite from scratch could
> fix it ...

As always, I'm sure a patch -- to provide that rewrite --
would be welcome.
___
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: USB Powered Speakers

2010-04-09 Thread perryh
Programmer In Training  wrote:

> ... they are only attached for power purposes ...

> Input power: DC 5V 500mA

Any chance these speakers need a USB 2.0 port, and all the ports
on your FreeBSD box are 1.x?  I don't remember the USB power spec
offhand, but 2.5W may exceed what a USB 1.x port can supply --
a limit that applies regardless of the system's overall power
provisioning.
___
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 customized can an mfsroot be?

2010-04-08 Thread perryh
Peter Steele  wrote:
> In my read-only CD-ROM boot case, /var is created as a MFS device
> automatically and populated, but a basic directory layout only is
> used. Nothing from the CD-ROM /var is copied into the MFS /var
> that is created.
>
> I cannot figure out how BSD can do this automagically, so I'll
> have to have a duplicate copy of /var on the CD and populate it
> from that. What I've tried that works well is when I'm about to
> run mkisofs to create the .iso from, I rename my /var to /var2 and
> create an empty /var. When the iso is booted, a default MFS based
> /var is created with a specific collection of directories. I have
> a startup script that copies my /var2 contents into /var and that
> does the trick.

You might be able to reduce the iso size some by making a tarball
of /var (using tar -y or tar -z) instead of keeping /var2 as a tree.
Granted you would then need to have tar(1) in the iso, which may
cancel out much of the savings if you would not otherwise have
needed it.
___
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: Intel D945GSE vs Zotac ION ITX (was: Support for Zotac MB with nVidia ION chipset)

2010-04-06 Thread perryh
Robert Bonomi  wrote:

> One fairly well-known super computer class architecture from the
> mid 1960s ran without *any* error checking in the CPU *or* main
> memory.  Dr. Seymour Cray analyzed things and concluded the
> significant extra component count for just doing 'parity'
> checking, let alone ECC made for a net _reduction_ in overall
> system reliability, *IF* the machine was run under very tightly
> controlled operating conditions -- the big ones being extremely
> stable power and a very limited temperature range.  So, he
> specified the design to tight tolerances, and ran truely 'naked'
> hardward. Scary, but true.  And, it worked.

CDC-6600 and/or 7600, I presume?

The flaw in that reasoning is that, while an unchecked machine may
indeed be faster and/or have a somewhat better MTBF, the symptom
of a failure may well be silently incorrect results.  If reliable
production results are what's valued, as opposed to time between
detected failures while running diagnostics*, a checked or corrected
design wins hands down.

> This was also a machine where, at any given moment, a fair part
> of the data in the CPU was 'in the wires' ("in transit" from one
> part of the CPU to another), and significant parts of the wiring
> harness had to be of _just_the_right_length_ (speed-of-light
> considerations) for the box to work.

Second- (or third?) hand war story from the manufacturing dept:
Occasionally the instructions would call for pin so-and-so to be
connected to pin thus-and-such with, say, a 6" wire -- when the
pins in question were 8" apart!  The source of the story claimed
that the standard practice in such cases was to use the shortest
wire that would reach, and let the QA dept worry about the fallout.

* A diagnostic is a program that runs when the hardware is
  malfunctioning -- R. F. Rosin.
___
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: Sendmail Five Second Greeting Delay

2010-04-03 Thread perryh
Lowell Gilbert  wrote:
> Matthew Seaman  writes:
> > Ident queries like this will cause a delay if the other side
> > doesn't respond respond to the ident query ...
> I consider it polite for firewalls to actively refuse to open
> the connection (TCP reset) rather than just dropping the request,
> though.  There's really no downside to doing so.

Other than giving port-scanners an affirmative indication that
there is a device of some sort at the IP address involved.
Some firewalls even drop pings for exactly this reason.

If the request comes from an address to which I've recently*
initiated a connection -- so he already knows that my address
is currently alive -- I ought to either respond per protocol
or reset.  If it comes from who-knows-where, it may be safer
to drop it.

The ident protocol is useful for the purpose for which it was
designed:  to pass "whom to blame" info between servers which have
reason to trust one another's identity (based on, e.g., stable IP
addresses) and administration.  Granted the circumstances in which
these conditions are met are a lot less prevalent than they once
were.

* for some resonable definition of recently
___
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, postfix and push email

2010-03-28 Thread perryh
Dan Nelson  wrote:
> For ActiveSync at least, the phone has to keep a TCP connection to
> the server open 24/7, and the server sends a notification when a
> new mail arrives.  MobileMe probably works the same way.  The IMAP
> protocol supports a similar "notify on new mail" option, but for
> some reason Apple doesn't use it in their client.

Sigh.  It's hardly the first time a major software company
insisted on "improving" a standard protocol instead of
maintaining compatibility/interoperability with the rest
of the world.
___
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, postfix and push email

2010-03-27 Thread perryh
Tim Judd  wrote:
> On 3/27/10, Ron (Lists)  wrote:
> > Is there a way to get my freebsd/postfix setup to send push
> > notifications to an iPhone ... I know it can be done with
> > Exchange and ActiveSync, but I don't want to run any kind of
> > exchange server.
>
> Wouldn't push email be a function of your POP3 or IMAP server?
> FreeBSD and Postfix are neither of those.

Er, no.  POP3 and IMAP are "pull" services, wherein the client
polls the server periodically for any newly-arrived messages.
A client-level "push" service would need to operate similarly
to biff(1)/comsat(8).
___
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: Question about expr

2010-03-27 Thread perryh
Manish Jain  wrote:
> When you execute a script ...  the aliases are 
> ignored. Is there some way to fix this ...

Search for expand_aliases in the bash manpage.
___
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: Very suspicious stack trace

2010-03-26 Thread perryh
Peter Steele  wrote:
> what would lead malloc() into calling abort()?
> Everything seems to be in order.

Something may have trashed its internal data structures.
I'd suggest a close look for things like buffer overflows.
___
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: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-12 Thread perryh
Scott Bennett  wrote:
> If your program never frees any memory, then there is never
> any garbage to collect.

Last I knew, "garbage collection" refers to tracking down and
reclaiming allocated memory to which no valid references exist.

The particular example given here is sufficiently trivial not
to actually need GC -- it could easily free() before losing
the (only) reference -- but keeping track can become extremely
tricky in complex systems (hence the considerable effort that
has been expended in designing and implementing GC systems).
___
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: [OT] ssh security

2010-03-09 Thread perryh
Olivier Nicole  wrote:
> > What happened to Diffie-Hellman?  Last I heard, its whole
> > point was to enable secure communication, protected from both
> > eavesdropping and MIM attacks, between systems having no prior
> > trust relationship (e.g. any sort of pre-shared secret) ...
>
> I am not expert in cryptography ...

Nor am I

> but logic tends to tell me that is I have no prior knowledge about
> the person I am about to talk to, anybody (MIM) could pretend to
> be that person.
>
> The pre-shared information need not to be secret ... but there is
> need for pre-shared trusted information.

Er, if the pre-shared information is not secret, how can I be sure
that the person presenting it is in fact my intended correspondent
and not a MIM?  My impression is that Diffie-Hellman (somehow) solves
this sort of problem.
___
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: [OT] ssh security

2010-03-09 Thread perryh
Angelin Lalev  wrote:
> So, SSH uses algorithms like ssh-dss or ssh-rsa to do key exchange.
> These algorithms can defeat any attempts on eavesdropping, but cannot
> defeat man-in-the-middle attacks.  To defeat them, some pre-shared
> information is needed - key fingerprint.

What happened to Diffie-Hellman?  Last I heard, its whole point was
to enable secure communication, protected from both eavesdropping
and MIM attacks, between systems having no prior trust relationship
(e.g. any sort of pre-shared secret).  What stops the server and
client from establishing a Diffie-Hellman session and using it to
perform the key exchange?
___
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: Non-maskable interrupt trap

2010-03-06 Thread perryh
Marco Beishuizen  wrote:
> Fot the first time in years I had a kernel panic in FreeBSD
> (8.0-ST).  While playing a flash movie in Firefox (3.6),
> everything just locked up and only resetting helped. After the
> reboot it wrote a corefile in /var/crash/ which is unfortunately
> too big to read by any text editor.

Corefiles are binary, not usefully readable with anything text
oriented.  See the Handbook section on Kernel Debugging for how
to get a backtrace from it.

> ...
> Hope that someone has an idea what has caused this. I just can't
> imagine that a flash plugin is able to crash FreeBSD.

One possible cause is a driver bug in some obscure corner case that
the flash player tried to use.
___
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 install from floppy

2010-03-06 Thread perryh
Piotr Lukawski  wrote:
> ... I really cannot understand why nobody can change
> just one parameter and put the file in a proper place in
> ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/

I seem to remember something about the floppy images being dropped
because few current (or even recent) systems have a floppy drive at
all, much less a bootable one.

I sure hope they don't start applying the same reasoning to drivers
for old-ish devices.  Some of us do not rush out and acquire
the latest/greatest whiz-giz every few months just because it's
available.
___
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: Flash viewer for FBSD

2010-03-06 Thread perryh
Pongthep Kulkrisada  wrote:
> * Warren Block (wbl...@wonkity.com) wrote:
> > When you upgrade from 7.x to 8.x, it's necessary to rebuild
> > *all* ports.
> ...
> Some people only use console, they should rebuild all ports
> relating to their work.
> They do not have to rebuild KDE or GNOME, for example.

Instructions like "rebuild *all* ports" mean "rebuild *all* ports
that you have installed on your system".  No one expects you to
build every port in the tree, unless your system is pointyhat :)
___
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: setting default directory ACLs using xargs

2010-02-13 Thread perryh
Doug Sampson  wrote:

> I need to do this at the command prompt for all directories:
...
> r...@aries:/data/Products# getfacl . | setfacl -d -b -n -M - .

> Now, I have thousands of subdirectories that I want to apply this
> to. When I attempt to use the xarg command with the above command
> modified to work with xargs, I end up with an error message ...

Two possibilities come to mind:

* Try using the "-L 1" switch to cause xargs to run a separate
  command instance for each input value.

* You may have run into one of the rare situations where
  "find ... | xargs" is not the best tool for the job.  It may
  work better to set up a 3-line shell script along the lines of

#!/bin/sh
cd $1
getfacl . | setfacl -d -b -n -M - .

  and then use "find -type d -exec" to run it for each directory.
___
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: display and manipulate math symbols?

2010-02-09 Thread perryh
Gary Kline  wrote:

> Is there any app or web site where you can select from a bunch of
> math symbols and arrange them on-screen ... pre-drawn symbols that
> could be moused around?

If not for the WYSIWYG requirement I'd suggest some variant of TeX.

Based entirely on reputation, I'd think PowerPoint could do this
fairly easily, provided the symbols you need are in one of the
installed fonts.  Have you tried the corresponding OpenOffice tool?
(I think it may be called "present" or some such.)

If I were going to do something like this, and didn't want to take
time to learn a new tool, I'd try using Visio -- one of only two
apps which I've found useful enough to get me to voluntarily put up
with Windoze.  Dunno (yet) how well it will run under wine; this is
one of several things I intend to try if I can ever find the time to
get a newer FreeBSD system set up.  (Wine is reputed to not work at
all well on 6.1.)

Ports/graphics/dia is somewhat similar to Visio, I think more
limited, but perhaps sufficient depending on just what you need
to do.
___
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: backup terminal title

2010-02-06 Thread perryh
Warren Block  wrote:
> What's the sequence for reading the terminal title?

If I remembered it I'd have included it :)

The first 3 results from Googling "xterm escape sequences" are

  rtfm.etla.org/xterm/ctlseq.html

  www.faqs.org/docs/Linux-mini/Xterm-Title.html

  www.kitebird.com/csh-tcsh-book/ctlseqs.pdf

I'd expect it to be in at least one of them.

(#4 may be a miss, but the next 5 also look promising.)
___
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: Howto run privileged commands on login/logout

2010-02-06 Thread perryh
Erik Norgaard  wrote:
> I'm playing around with diskless operation. I'd like to be able
> to run privileged commands when a user logins or logs out:
>
> - on login, nfs mount the user's home directory (ok, not critical,
> I can mount /home)

Or, better yet, use an automounter.

> - on logout a system reboot to clean up any temporary files left
> from the session.

I'm not aware of any existing, simple method to handle this part.
It might not be all that difficult to hack something into getty(8)
or init(8).  Another possibility would be to clean /tmp and /var/tmp
in the .logout script, which should not require any special privs.
___
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: backup terminal title

2010-02-06 Thread perryh
> I wish to use  the "\033]0;%s\007" sequence in a shell-script to
> set the title of a terminal. But only if I am able to undo it.
>
> My requirement is that this must be done without using anything
> outside the base system.

There is an escape sequence which will cause the terminal to echo
back its current title, but it's a bit tricky to use given only
base-system tools because the echo ends with, IIRC, \007 rather
than \n.  It may be possible in some shells to temporarily set the
line-end character to \007.  You probably also want to (somehow)
cover problematic cases like terminals that don't reply to the
inquiry even though TERMCAP implies that they should.
___
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: PCIe audio cards: what is tob be preferred with FreeBSD 8.0/9-CURRENT?

2010-01-24 Thread perryh
"O. Hartmann"  wrote:
> At this very moment I utilise a M-Audio 5.1 PCI-audio board with
> which I'm really satisfied. My next box doesn't have PCI slots
> at all ... I look for the Soundblaster X-Fi range of PCIe cards, 

It's possible to get an adapter that plugs into a PCIe slot and
provides a PCI slot, which might enable you to continue using
your current card.  I've never actually seen one, so don't know
about the mechanics; it could turn out that it can only be used
by leaving the cover off of the box :(
___
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: "Checksum mismatch -- will transfer entire file"

2009-12-28 Thread perryh
Victor Sudakov  wrote:
> ... [svn] needs python26, perl and tcl - all the three of them ...

It seems you may have discovered the significance of the name:
it subverts the sysadmin's sanity.  Maybe it can find practical
use as a meta-port for scripting languages, if someone cares to
add ruby to the mix ;)
___
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: editing a binary file

2009-12-18 Thread perryh
Greg Larkin  wrote:
> ...
> > truncate -4 myfile should get rid of the last four bytes.  Maybe
> > there's a similar efficient way to truncate the start of a file.
>
> This should do it:
>
> dd if=oldfile of=newfile bs=1 skip=4

Or, perhaps marginally more efficient:

dd if=oldfile of=newfile bs=4 skip=1
___
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: Sorting a device list

2009-11-29 Thread perryh
Oliver Mahmoudi  wrote:
> you can try to delete the /dev/ad10 entry with sed and then just
> append it to the end manually using the printf(1) utility like so:
>
> # ls /dev/ad* | sed s/"\/dev\/ad10"// | grep "/dev/ad" && printf
> "/dev/ad10\n"

Or strip the non-numerics from the beginning of each line, and put
them back after sorting:

# pfx=/dev/ad ; ls -d1 ${pfx}* | sed "s;$pfx;;" | sort -n | sed "s;^;$pfx;"
___
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: BTX Loader crashes -- Help wanted

2009-11-21 Thread perryh
"Ronald F. Guilmette"  wrote:
> If one can't even install from the distribution CDs/DVDs
> on perfectly good hardware ... it's not like the whole SATA
> interface standard is exactly ``new'' or anything anymore.)
>
> ... Should I stick my neck out and label this PR
> either severity==critical or priority==high ?

Before filing a PR at all, you might want to check what kind of
SATA controller chip you've got.  There have been several postings
on the FreeBSD lists reporting that the Silicon Image 3112 should
not be considered "perfectly good hardware".
___
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: Problems with FreeBSD assembly

2009-11-12 Thread perryh
Mihai Don??u  wrote:
> I don't think the kernel is the one that initializes the
> 0, 1 and 2 file descriptors (stdin, stdout and stderr).

Correct so far.

> I think you have to open them yourself ...

No, the shell does it.  That's how it is able to set up
pipes and redirection.
___
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: stuff and even more problems.... [ to mostly the hard core ]

2009-11-08 Thread perryh
Gary Kline  wrote:
> the keybd isn't the problem ...  problem is that on my KVM
> switch are only ps2 plugs.  on the back of the dell are USB
> jacks.  i need something to convert from the PS2 plug to
> fit into the USB   

Such things do exist:
http://www.amazon.com/Adesso-Adapter-connects-connectors-ADP-PU21/dp/B8ZPED
http://www.amazon.com/TRENDnet-USB-PS-2-Converter/dp/B0007T27HI
http://www.amazon.com/Ultra-USB-Male-Female-Adapter/dp/B000658ETS
http://www.frys.com/product/3470803
http://www.frys.com/product/3866207
http://www.frys.com/product/4161343
___
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: WD External Disc Drive

2009-10-27 Thread perryh
> > > ... If you are refering to a kind of
> > > hard disk, use "disk" with k. Think like "diskette". If you
> > > are refering to optical media, use "disc" with c. Think like
> > > "CD = compact disc".
> >
> > An arbitrary convention adopted by you and a few other people
> > does not invalidate the dictionary spellings and usage.

Am I the only one who is finding the longevity of this bikeshed a
bit disk-gusting?
___
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: / almost out of space just after installation

2009-10-08 Thread perryh
Oliver Fromme  wrote:
> Chris Stankevitz  wrote:
>  ...
>  > Q1: Is 26M free space on / after installing FreeBSD normal?
>
> It depends on the FreeBSD version, and whether you installed
> the kernel with debug symbols.  430 MB space used in the
> root file system isn't completely uncommon.
>
> Nowadays I recomment to spend 1 GB for the root file system ...

I have long wondered where sysinstall gets its default FS sizes.

At least as far back as SunOs 3.5* the installer was able to auto-
size the partitions based on the selected distribution sets.  Of
course, this means that the installer must know the size of each
distribution set -- on each of /, /usr, and /var -- and that the
selection of what to install has to happen before the partitioning
is actually done.  I would think that the sizing of the distribution
sets could easily be automated as part of the release process, and
that the needed reordering of the installation process would not
be all that difficult for someone familiar with sysinstall and
accustomed to coding in the language involved.

* a commercial incarnation of 4.2BSD, some 20 or 30 years ago;
  I date myself by having even heard of it :)
___
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: X - after some time can't lauch new windows, Error: Can't open display

2009-09-24 Thread perryh
Anton Shterenlikht  wrote:
> After some time I cannot open any new windows in X,
> I get
>   No protocol specified
>   Error: Can't open display: :0.0
>
> This is on i386 9.0-current with ... xorg-7.4_2,
> xorg-server-1.6.1,1, xf86-video-intel-2.7.1
...
> After logging into X via xdm I can launch new windows fine.
> But after a while, probably several hours, an attempt to
> launch a new window, i.e. any program that opens a new window,
> like xterm or xpdf, results in the error message above.

I have not seen this with local clients, but I _have_ seen something
similar from time to time with remote (ssh tunneled) clients.  IIRC
there was also some kind of squawk about display permissions, as if
something related to xauth had gotten messed up.

I'm running FreeBSD 6.1 with Xorg 6.9.0; remotes are various Linux
and Solaris boxes (and I haven't made note of their versions, nor
if the problem happens with some remote versions and not others).
Point being that, if we're both seeing the same issue or closely
related, it's not of recent origin.
___
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: reporter on deadline seeks comment about reported security bug in FreeBSD

2009-09-15 Thread perryh
Jerry  wrote:
> Waiting until someone is harmed is tantamount to being an
> accomplice to the act.

And providing details of a currently-undefendable vulnerability
to a black hat who did not previously know about it, thereby
enabling the black hat to perpetrate harm that would otherwise
not have occurred, isn't?
___
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: rebinding keys to functions

2009-09-15 Thread perryh
Roland Smith  wrote:
> Writing a driver to detect if headphones are connected sounds
> much more complicated to me than connecting a couple of switches!
> I mean, you'd have to measure something like the impedance of
> the jack. Surely that is more expensive than a simple switch?

Or use a simpler jack, with one switch that connects to ground or
not depending on whether the plug is inserted or not.  It probably
costs a cent or two less than the usual two-switch variety, and this
is a BOM (Bill Of Materials, i.e. per-unit-built) savings.  Writing
the driver is an NRE (non-recurring engineering) expense which can
be amortized over -- the manufacturer hopes -- a huge number of
delivered units.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there such thing as a 'soft checksum' tool?

2009-09-08 Thread perryh
Mel Flynn  wrote:
> On Monday 07 September 2009 05:09:53 Michael David Crawford wrote:
> > > M> I'm looking for a pseudo-checksum tool for use with
> > > M> cataloging images.
> > One way you could approach it might be to use a blur filter ...
> > Small differences in individual pixels would be blurred away.
> ... the above does not work, because of compression anyway.
> Just because you think of an image as a bitmap, does not mean
> it's stored as such.

Certainly it is the decompressed payloads of the JPEG etc. files
that are to be compared, rather than the files themselves.  It
would never have occurred to me that anyone participating in the
discussion might have thought otherwise.

However, thinking about this inquiry and JPEG in the same sentence
has given me an idea that might help the OP:  JPEG is a "lossy"
compression, with the degree of loss related to the chosen image
quality, so two "similar" images might become identical -- or at
least more similar -- if compressed to a sufficiently low quality
using the JPEG algorithm.
___
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   >