Where is mkisofs

2010-03-13 Thread Aiza


http://www.freebsd.org/cgi/ports.cgi?query=mkisofsstype=allsektion=all

This just shows gui frontends for mkisofs.

Need to create iso. How to do 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


Berkeley DB upgrade

2010-03-13 Thread Erik Norgaard

Hi:

I want to upgrade my BerkeleyDB, I have some 500MB in BDB 43.

- What is the latest stable version?
- Is there any way of determining if datafiles are compatible
  across versions?
- Is there any tool for migrating between versions?

Thanks, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is mkisofs

2010-03-13 Thread Amitabh Kant
On Sat, Mar 13, 2010 at 3:50 PM, Aiza aiz...@comclark.com wrote:


 http://www.freebsd.org/cgi/ports.cgi?query=mkisofsstype=allsektion=all

 This just shows gui frontends for mkisofs.

 Need to create iso. How to do it?



Installing the port /usr/ports/sysutils/cdrtools/  installs mkisofs



Amitabh Kant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Berkeley DB upgrade

2010-03-13 Thread C. P. Ghost
On Sat, Mar 13, 2010 at 11:26 AM, Erik Norgaard norga...@locolomo.org wrote:
 Hi:

 I want to upgrade my BerkeleyDB, I have some 500MB in BDB 43.

 - What is the latest stable version?
 - Is there any way of determining if datafiles are compatible
  across versions?
 - Is there any tool for migrating between versions?

The upgrade process is explained here:

http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_upgrade.html

http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/upgrade_process.html

http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/db_upgrade.html

http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/dbupgrade.html

Of course, don't forget to backup your old data before upgrading! ;-)

 Thanks, Erik

 --
 Erik Nørgaard
 Ph: +34.666334818/+34.915211157                  http://www.locolomo.org

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is mkisofs

2010-03-13 Thread Polytropon
On Sat, 13 Mar 2010 18:20:40 +0800, Aiza aiz...@comclark.com wrote:
 
 http://www.freebsd.org/cgi/ports.cgi?query=mkisofsstype=allsektion=all
 
 This just shows gui frontends for mkisofs.
 
 Need to create iso. How to do it?

The mkisofs program is part of the cdrtools port / package.
After installing it, you would do something like this:

% mkisofs -r -o myisofile.iso myfiles/

Keep in mind that it may be needed to specify additional
options if you need Joliet extension - see man mkisofs.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Full Unicode Support for FreeBSD

2010-03-13 Thread Paul B Mahol
On 3/12/10, Chuck Swiger cswi...@mac.com wrote:
 Hi, Elmar--

 On Mar 12, 2010, at 9:54 AM, Elmar Stellnberger wrote:
  I am looking forward to engage in FreeBSD by implementing ext3-support
 and a suspend to disk facility.

 mount_ext2fs or fusefs ought to work with ext3 filesystems.

 zzz or acpiconf -s 4 ought to address the suspend to disk facility, but it
 depends greatly upon the quality of the BIOS to actually conform with the
 ACPI spec.


I believe that OP is talking about OS support and not about BIOS support.

Linux _have_ OS support for suspend to disk, freebsd does not.
 If there would be any interest I also ported my checkroot facility
 (http://www.elstel.com/checkroot/).

 How is this different from what's already available:

   http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html

 ...or via something like tripwire?  If you're only doing MD5 and not
 something like SHA1 or SHA256 (or multiple checksums, better yet), I don't
 see the point

 However all these little configuration issues like UTF-8 support are
 out of the scope what I can do because I am not a packager.

 I'm not sure what you mean by UTF-8 support.  FreeBSD itself does
 reasonably well, and the quality of third-party ports varies.

 I would be glad if the responsible packagers or anyone else was willing to
 engage
 in this. At least I will have to think about my engagement in terms of
 community support for precious issues like this one.

 It's unclear what you mean by this.  At the basic level, things happen by
 people writing changes and submitting patches.  There is no shortage of
 opinions which are sadly lacking code.  :-)

 Regards,
 --
 -Chuck

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[FreeBSD 8.0] Installing KDE4 from sources: building xmlto fault

2010-03-13 Thread Антон Клесс
Good day!

I'm running FreeBSD 8.0-STABLE-201002 amd64.

Trying to install KDE4 from port, compiling the sources, I get xmlto-0.0.23
building fault:

# cd /usr/ports/x11/kde4/
# make install clean

...
===  Building for
xmlto-0.0.23

make
all-am

for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/local/bin/bash
./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; exit $RC
)
xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml does not
validate (status
3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml:4: warning:
failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
   http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
^
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
warning: failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
validity error : Could not load the external subset 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
Document /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml does
not validate
xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml does not
validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml:3: warning:
failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
 http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
  ^
I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
warning: failed to load external entity 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
validity error : Could not load the external subset 
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;
Document /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml does
not validate
*** Error code 13

Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.23.
*** Error code 1

Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.23.
*** Error code 1

Stop in /usr/ports/textproc/xmlto.
*** Error code 1

Stop in /usr/ports/textproc/xmlto.
*** Error code 1

Stop in /usr/ports/print/system-config-printer.
*** Error code 1

Stop in /usr/ports/print/kdeutils4-printer-applet.
*** Error code 1

Stop in /usr/ports/misc/kdeutils4.
*** Error code 1

Stop in /usr/ports/misc/kdeutils4.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.



But I can manually download this file:

# fetch http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
docbookx.dtd  100% of 5705  B   36 kBps

# wget http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
--2010-03-13 17:06:02--
http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
Resolving www.oasis-open.org... 66.151.234.59
Connecting to www.oasis-open.org|66.151.234.59|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5705 (5.6K) [text/plain]
Saving to: `docbookx.dtd'

100%[===]
5,705   --.-K/s   in 0.1s

2010-03-13 17:06:02 (38.8 KB/s) - `docbookx.dtd' saved [5705/5705]



What do I have to do to continue port installation?
___
freebsd-questions@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: download via pure http

2010-03-13 Thread Eitan Adler

 You can just access ftp.freebsd.org by HTTP

but sysinstall doesn't give me that option - or at least I can't find 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: [FreeBSD 8.0] Installing KDE4 from sources: building xmlto fault

2010-03-13 Thread Bruce Cran
On Saturday 13 March 2010 14:08:46 Антон Клесс wrote:
 Good day!
 
 I'm running FreeBSD 8.0-STABLE-201002 amd64.
 
 Trying to install KDE4 from port, compiling the sources, I get xmlto-0.0.23
 building fault:
 
 What do I have to do to continue port installation?

It took me a while to figure out. I guess you've deselected some DocBook 
formats that you may think you'd never want to use, in textproc/docbook - go 
back and reinstate (reconfigure) the default selections, because otherwise 
things break. Don't just reinstate the 4.2 format because things depend on the 
XML formats too :)

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate problem

2010-03-13 Thread Антон Клесс
2010/3/13 Randal L. Schwartz mer...@stonehenge.com


 But really, why are you using ntpdate and not just ntpd?

 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
 See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
 discussion
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




I saw that more than year ago on my teacher's server, when I was deal with
my first FreeBSD, so it's just a kind of habit.

But on the other hand, if it exists, it could work properly, and I am
interested in just to understand, how it should be set up.
___
freebsd-questions@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] Installing KDE4 from sources: building xmlto fault

2010-03-13 Thread Антон Клесс
Hmmm.

/usr/ports/textproc/docbook was not installed. I install it by hands (make
install clean) withdefault options, then bask to my KDE building - it
continued without fault.

So, thank you a lot, and so on - we have the deal with incorrect port? It
was nothing broken by myself.


2010/3/13 Bruce Cran br...@cran.org.uk

 On Saturday 13 March 2010 14:08:46 Антон Клесс wrote:
  Good day!
 
  I'm running FreeBSD 8.0-STABLE-201002 amd64.
 
  Trying to install KDE4 from port, compiling the sources, I get
 xmlto-0.0.23
  building fault:
 
  What do I have to do to continue port installation?

 It took me a while to figure out. I guess you've deselected some DocBook
 formats that you may think you'd never want to use, in textproc/docbook -
 go
 back and reinstate (reconfigure) the default selections, because otherwise
 things break. Don't just reinstate the 4.2 format because things depend on
 the
 XML formats too :)

 --
 Bruce Cran




-- 
С уважением,
Антон Клесс,
http://kless.spb.ru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Still unable to update kdelibs3

2010-03-13 Thread Carmel
I have tried everything in the UPDATING file; however, I am still
unable to get 'kdelibs3' updated. It always ends with this error
message:

Making all in dnssd
gmake[2]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg 
./settings.kcfgc; ret=$?; \
if test $ret != 0; then rm -f settings.h ; exit $ret ;  fi
/libexec/ld-elf.so.1: Shared object libjpeg.so.10 not found, required by 
libkdefx.so.6
gmake[2]: *** [settings.h] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10'
gmake: *** [all] Error 2
*** Error code 1

Other than deleting everything and starting over, I have no idea how to
proceed.

--

Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

The universe is ruled by letting things take their course.
It cannot be ruled by interfering.


Chinese proverb

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Amanda, FreeBSD8, amtype, hairpulling, etc.

2010-03-13 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12.03.2010 15:20, Svein Skogen wrote:
 I'm having trouble getting Amanda (2.6.1p2 from ports) to play nicely
 with my hardware.
 
 Devices are:
 HP Ultrium 3-SCSI Q25W   at scbus0 target 1 lun 0 (sa0,pass0)
 HP 1x8 G2 AUTOLDR 2.80   at scbus0 target 1 lun 1 (pass1,ch0)
 connected via:
 mpt0: LSILogic SAS/SATA Adapter port 0x9000-0x90ff mem
 0xfe4fc000-0xfe4f,0xfe4e-0xfe4e irq 16 at device 0.0 on pci2
 mpt0: [ITHREAD]
 mpt0: MPI Version=1.5.20.0
 
 os and number in question is:
 FreeBSD storage.stillbilde.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar
  9 07:01:59 UTC 2010
 sv...@storage.stillbilde.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
 Tapes are regular LTO-3 (HP C7973A).
 
 amtapetype simply hangs (after writing 3-4 tps for 5 seconds, then
 simple silence both on sa0 and console)
 
 Has anybody run into this problem with FreeBSD8+mpt+autoloader?
 
 //Svein
 

I'm finally starting to make sense of what I'm seeing (hence the
crossposting)

Seems I've stumbled onto some strange incompatibility between my SAS
controller (LSI 3801E), Tape-library, and FreeBSD+Solaris.

The behavior I'm seeing is consistent with this solaris bug:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6894775

but luckily (?) for me, my disks are on an MFI controller. I'm seeing
the exact same behavior in both FreeBSD and OpenSolaris 133 and 134.

Linux and Windows installs on the box (this box is currently being set
up, so I'm rather liberated from reinstall-concerns) seems unaffected,
atleast the HP Software doesn't fail the way
tar/dump/dd/amanda/bacula/whatnot does at random intervals.

The errors only occur when the device I'm reading/writing from is 100%
laoded (reading or writing 56mb/sec + compression), which when fed from
a raid capable of more than 6 times that is quite likely to happen
during backups.

The Solaris bug seems to be around MSI handling, but there are several
reports over there about this error occuring even with MSI disabled.

Right now I'm dumbstruck about this, and might install Linux just to
get backups up and running this year, because I'm too tired of this
entire process, but I'd REALLY rather run FreeBSD or OpenSolaris. This
is based on a personal preference and nothing else, but if anybody has
some blinding insights on how to get this working, I'm open for suggestions.

//Svein


- -- 
- +---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.
- 
 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkubtf8ACgkQODUnwSLUlKTfGgCgndwhQdAjFjlUp2jCh5POr0jp
0rYAoKUsR2AjzlBCM/eqMfUjGfKtWXof
=2lnD
-END PGP SIGNATURE-
___
freebsd-questions@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: download via pure http

2010-03-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/03/2010 14:22:58, Eitan Adler wrote:

 You can just access ftp.freebsd.org by HTTP
 
 but sysinstall doesn't give me that option - or at least I can't find it

For the initial install? Yes -- you're right: there's no obvious
'install via HTTP' option.   Trying to install via HTTP proxy and saying
ftp.freebsd.org:80 when prompted seems like it should work to me, but I
haven't verified that.

Otherwise, your options are to download the disk1 or DVD .iso images,
and install from those -- they have everything you need to install the
base system -- or else to download the install sets out-of-band to a
local filesystem and install that way.

One handy hint when installing is *don't feel you have to do everything
from within sysinstall*.  Your priority should be to get the OS up and
running: everything else you can do from within the OS, which is a far
more flexible and powerful platform than sysinstall.  That power comes
at the cost of maybe not being particularly obvious exactly how to do
what you want, but that is why the Handbook exists.

If you're trying to install packages via HTTP rather than FTP, then try
setting PACKAGEROOT in your environment.  Like this:

   PACKAGEROOT=http://ftp.freebsd.org ; export PACKAGEROOT (Borne-shell)

or

   setenv PACKAGEROOT http://ftp.freebsd.org   (Csh-alikes)

then use 'pkg_add -r pkgname' in the usual way.  See login.conf(5) and
cap_mkdb(1) for one way of setting such variables in the environment
automatically when you login.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkubzNwACgkQ8Mjk52CukIyG6QCcDQxl5QdnQp1Ne206sCNTHZwZ
y+YAn3dU9g1XUBKRwhXaeva8/FP7E7zn
=H9jT
-END PGP SIGNATURE-
___
freebsd-questions@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: download via pure http

2010-03-13 Thread Eitan Adler
 For the initial install? Yes -- you're right: there's no obvious
 'install via HTTP' option.   Trying to install via HTTP proxy and saying
 ftp.freebsd.org:80 when prompted seems like it should work to me, but I
 haven't verified that.
Next time I install I'll try this - I was just wondering if this was an option

 One handy hint when installing is *don't feel you have to do everything
 from within sysinstall*.  Your priority should be to get the OS up and
 running: everything else you can do from within the OS, which is a far
 more flexible and powerful platform than sysinstall.
Exactly the same as my own sentiments

 If you're trying to install packages via HTTP rather than FTP, then try
 setting PACKAGEROOT in your environment.  Like this:
I don't use binary packages - only ports.

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate problem

2010-03-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/03/2010 14:47:31, Антон Клесс wrote:
 I saw that more than year ago on my teacher's server, when I was deal with
 my first FreeBSD, so it's just a kind of habit.

It's a bad habit you should try and cure yourself of.  Stepping the
clock with ntpdate(8) can cause nasty effects like time apparently going
backwards -- and that will seriously upset a lot of software.

Also, it doesn't account for the natural clock drift of your system, so
it's going to give you pretty terrible accuracy -- probably good to no
more than a few seconds.  ntpdate(8) is really only intended to get the
clock into the right ballpark at system boot so that ntpd(8) has a
fighting chance of getting into synch.  The NTP project has deprecated
ntpdate(8) for some time now, and instead prefers adding an option to
ntpd(8) to say set the clock on initial startup no matter how far out
it is.

 But on the other hand, if it exists, it could work properly, and I am
 interested in just to understand, how it should be set up.

I'm assuming you're on some sort of always-on network, like ADSL?  Most
people are nowadays.  In which case, there's really no reason not to run
ntpd(8) the way it is intended to be used.

Just add the following to /etc/rc.conf:

ntpd_enable=YES
ntpd_sync_on_start=YES

and run:

   /etc/rc.d/ntpd start

Wait for about 15-30 minutes, then type 'ntpq -p', and you should see a
report showing 3 servers, one of which should be marked with a '*'
indicating you're synched correctly.  That's all you need to do. You can
edit /etc/ntp.conf if you prefer to use different servers to the
automatically selected ones, or if you want to tweak any other NTP options.

Note the 'offset' field in the report.  That measures how far out your
clock is from the time sources in /milliseconds/.  Sub 10ms accuracy is
fairly easy to achieve: which is much better than you can do via
ntpdate.  Also, the NTP algorithms adapt your clock over time to run
more accurately and consequently can gradually decrease the frequency
with which the upstream time sources are polled.  Give it a day or so,
and it should max out at polling each source only once every 1024
seconds.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkub034ACgkQ8Mjk52CukIyKFgCdGBN65guZxj8Sw3O1MSIRpPnr
fwUAnRxmOOu9SDTFGofxK36b3yQu9TkF
=9WWS
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Amanda, FreeBSD8, amtype, hairpulling, etc.

2010-03-13 Thread Diego F. Arias R.
On Sat, Mar 13, 2010 at 10:57 AM, Svein Skogen (Listmail Account) 
svein-listm...@stillbilde.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12.03.2010 15:20, Svein Skogen wrote:
  I'm having trouble getting Amanda (2.6.1p2 from ports) to play nicely
  with my hardware.
 
  Devices are:
  HP Ultrium 3-SCSI Q25W   at scbus0 target 1 lun 0 (sa0,pass0)
  HP 1x8 G2 AUTOLDR 2.80   at scbus0 target 1 lun 1 (pass1,ch0)
  connected via:
  mpt0: LSILogic SAS/SATA Adapter port 0x9000-0x90ff mem
  0xfe4fc000-0xfe4f,0xfe4e-0xfe4e irq 16 at device 0.0 on pci2
  mpt0: [ITHREAD]
  mpt0: MPI Version=1.5.20.0
 
  os and number in question is:
  FreeBSD storage.stillbilde.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar
   9 07:01:59 UTC 2010
  sv...@storage.stillbilde.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
  Tapes are regular LTO-3 (HP C7973A).
 
  amtapetype simply hangs (after writing 3-4 tps for 5 seconds, then
  simple silence both on sa0 and console)
 
  Has anybody run into this problem with FreeBSD8+mpt+autoloader?
 
  //Svein
 

 I'm finally starting to make sense of what I'm seeing (hence the
 crossposting)

 Seems I've stumbled onto some strange incompatibility between my SAS
 controller (LSI 3801E), Tape-library, and FreeBSD+Solaris.

 The behavior I'm seeing is consistent with this solaris bug:

 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6894775

 but luckily (?) for me, my disks are on an MFI controller. I'm seeing
 the exact same behavior in both FreeBSD and OpenSolaris 133 and 134.

 Linux and Windows installs on the box (this box is currently being set
 up, so I'm rather liberated from reinstall-concerns) seems unaffected,
 atleast the HP Software doesn't fail the way
 tar/dump/dd/amanda/bacula/whatnot does at random intervals.

 The errors only occur when the device I'm reading/writing from is 100%
 laoded (reading or writing 56mb/sec + compression), which when fed from
 a raid capable of more than 6 times that is quite likely to happen
 during backups.

 The Solaris bug seems to be around MSI handling, but there are several
 reports over there about this error occuring even with MSI disabled.

 Right now I'm dumbstruck about this, and might install Linux just to
 get backups up and running this year, because I'm too tired of this
 entire process, but I'd REALLY rather run FreeBSD or OpenSolaris. This
 is based on a personal preference and nothing else, but if anybody has
 some blinding insights on how to get this working, I'm open for
 suggestions.

 if there is a hardware/driver bug isnt possible to get another cheap sas
controller for your tape, maybe a second hand?
-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate problem

2010-03-13 Thread Programmer In Training
While not having been part of this discussion I just want to say thanks
for the tips. I've used them to cease using ntpdate as well and am
already synced with a time server I know to be constantly reliable.

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: ntpdate problem

2010-03-13 Thread RW
On Sat, 13 Mar 2010 18:03:42 +
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 13/03/2010 14:47:31, Антон Клесс wrote:
  I saw that more than year ago on my teacher's server, when I was
  deal with my first FreeBSD, so it's just a kind of habit.
 
 It's a bad habit you should try and cure yourself of.  Stepping the
 clock with ntpdate(8) can cause nasty effects like time apparently
 going backwards -- and that will seriously upset a lot of software.
 
 Also, it doesn't account for the natural clock drift of your system,
 so it's going to give you pretty terrible accuracy -- probably good
 to no more than a few seconds.  ntpdate(8) is really only intended to
 get the clock into the right ballpark at system boot so that ntpd(8)
 has a fighting chance of getting into synch.  The NTP project has
 deprecated ntpdate(8) for some time now, and instead prefers adding
 an option to ntpd(8) to say set the clock on initial startup no
 matter how far out it is.
 
  But on the other hand, if it exists, it could work properly, and I
  am interested in just to understand, how it should be set up.
 
 I'm assuming you're on some sort of always-on network, like ADSL?
 Most people are nowadays.  In which case, there's really no reason
 not to run ntpd(8) the way it is intended to be used.
 
 Just add the following to /etc/rc.conf:
 
 ntpd_enable=YES
 ntpd_sync_on_start=YES
 



  ntpd_sync_on_start=YES

is not a complete substitute for running ntpdate at startup. It allows
ntpd to make a large correction, but it doesn't block the boot sequence
so you could still get a large step-change later-on when your daemons
are starting-up. 

ntpd has an option to emulate ntpdate, but it holds-up the
boot-sequence much longer - presumably this is why ntpdate has been
deprecated for a long time but hasn't yet gone away. 

you can run ntpdate at boot with

   ntpdate_enable=YES

the rc script gets the servers from ntp.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate problem

2010-03-13 Thread Programmer In Training
On 03/13/10 13:08, RW wrote:
snip
   ntpd_sync_on_start=YES
snip
 you can run ntpdate at boot with
 
ntpdate_enable=YES
 
 the rc script gets the servers from ntp.conf

Can you have both in rc.conf without abusing the ntp server(s) or should
it just be one or the other? I'd like my clock to be as accurate as
possible when I start up the system.

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: ntpdate problem

2010-03-13 Thread Jonathan Chen
On Sat, Mar 13, 2010 at 01:19:54PM -0600, Programmer In Training wrote:
 On 03/13/10 13:08, RW wrote:
 snip
ntpd_sync_on_start=YES
 snip
  you can run ntpdate at boot with
  
 ntpdate_enable=YES
  
  the rc script gets the servers from ntp.conf
 
 Can you have both in rc.conf without abusing the ntp server(s) or should
 it just be one or the other? I'd like my clock to be as accurate as
 possible when I start up the system.

Yes. I have both enabled on my multi-boot laptop to account to huge
jumps in time when coming back from Windows.
-- 
Jonathan Chen j...@chen.org.nz
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate problem

2010-03-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/03/2010 19:08:38, RW wrote:
   ntpd_sync_on_start=YES
 
 is not a complete substitute for running ntpdate at startup. It allows
 ntpd to make a large correction, but it doesn't block the boot sequence
 so you could still get a large step-change later-on when your daemons
 are starting-up. 

Been there, done that and spent many hours cursing dovecot, which just
dies on its arse if the clock does anything it doesn't approve of -- the
biggest flaw in an otherwise excellent program IMHO.

 ntpd has an option to emulate ntpdate, but it holds-up the
 boot-sequence much longer - presumably this is why ntpdate has been
 deprecated for a long time but hasn't yet gone away. 

There's a trick that can be used to get round this, which is to use the
iburst option within ntp.conf.  Some NTP servers don't like having it
used against them, and will refuse to serve you, but you only need it on
one or two of the server lines in your config file.  Eg:

server   time.example.com iburst maxpoll 10
restrict time.example.com nomodify nopeer noquery notrap

(The restrict line is an example of good practice, but strictly
irrelevant to this argument.)

iburst speeds up the initial synchronisation by sending a sequence of 8
query packets at 2 second intervals, rather than the standard 64s
between packets you get otherwise.  With this in place I've never had a
problem with the clock being stepped after the rest of the system is up
and causing mayhem for other programs, nor have I needed to run
ntpdate(8) -- it even seems to work for virtual machines that can end up
missing many hours when the lappy goes to sleep.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkub9BUACgkQ8Mjk52CukIzOfQCbBJfVvtj7gnwwGztSwYZW5HYs
khAAn2Y20P6zl54+7WK+KdM3jlrzIbA4
=QYrF
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


limit bandwidth on sftp

2010-03-13 Thread Tsu-Fan Cheng
Hi,

   I need to limit my sftp session bandwidth to 20K, can someone show me how
to do it? thank you!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fstab NFS mount option recommendations

2010-03-13 Thread Joe Auty
Forgot to add,

I also need to do some NFS mounts from my VM host which is hosted on
CentOS. I know that this isn't a Linux based list, but if you could
kindly keep the information about wsize and rsize numbers general enough
so that I can apply this knowledge to my Linux box, that would be great :)

A lot of online resources I've come across suggest using various
numbers, but I don't really understand how these number are derived or
if they are even necessary at all...


Joe Auty wrote:
 Hello,

 I'm presenting NFS shares to some FreeBSD VM guests with the following
 mount options (from my /etc/fstab):

 nfsserverip:mymount /mountdir  nfs 
 rw,tcp,intr,noatime,nfsv3,-w=32768,-r=32768 0 0


 This seems to work well, except I have to manually load MySQL, Apache,
 and Postfix at boot time, as my /usr/local directory is hosted on my
 NFS share on this test server (these start up normally when /usr/local
 resides on a local hard drive). Is it generally a bad idea to host a
 share like this on NFS? I'm thinking that it probably is and am happy
 to serve this locally if this would be better. However, if this is not
 a red flag and there is a way to get these services to start up on
 their own at boot, could you please let me know?

 How about the wsize and rsize numbers? I was unable to find any
 resources for determining what these numbers best be set as for
 FreeBSD as a VM guest. Any pointers?




 Thanks in advance for your help!


 -- 
 Joe Auty, NetMusician
 NetMusician helps musicians, bands and artists create beautiful,
 professional, custom designed, career-essential websites that are easy
 to maintain and to integrate with popular social networks.
 www.netmusician.org http://www.netmusician.org
 j...@netmusician.org mailto:j...@netmusician.org



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fstab NFS mount option recommendations

2010-03-13 Thread Joe Auty
Hello,

I'm presenting NFS shares to some FreeBSD VM guests with the following
mount options (from my /etc/fstab):

nfsserverip:mymount /mountdir  nfs 
rw,tcp,intr,noatime,nfsv3,-w=32768,-r=32768 0 0


This seems to work well, except I have to manually load MySQL, Apache,
and Postfix at boot time, as my /usr/local directory is hosted on my NFS
share on this test server (these start up normally when /usr/local
resides on a local hard drive). Is it generally a bad idea to host a
share like this on NFS? I'm thinking that it probably is and am happy to
serve this locally if this would be better. However, if this is not a
red flag and there is a way to get these services to start up on their
own at boot, could you please let me know?

How about the wsize and rsize numbers? I was unable to find any
resources for determining what these numbers best be set as for FreeBSD
as a VM guest. Any pointers?




Thanks in advance for your help!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on Panasonic TV

2010-03-13 Thread Richard Tobin
I was interested to see that my Panasonic television displays a FreeBSD
copyright notice.  Does anybody know how much of FreeBSD it uses?  (It
apparently uses a UFS filesystem on disks attached for video recording.)

-- Richard


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: multimon.cgi

2010-03-13 Thread Frank Shute
On Thu, Mar 11, 2010 at 07:05:00AM -0800, Dnielisz Lszl wrote:

 Great, you done that before!
 
 It helps but I still don't know where can I found the *.cgi files so
 I can copy them to the proper apache directory, do you know?
 

$ pkg_info -L apcupsd-3.14.5_1 | grep cgi
/usr/local/etc/apcupsd/cgi/multimon.cgi
/usr/local/etc/apcupsd/cgi/upsfstats.cgi
/usr/local/etc/apcupsd/cgi/upsimage.cgi
/usr/local/etc/apcupsd/cgi/upsstats.cgi


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Compose key and xterm vs. UTF-8

2010-03-13 Thread Christian Weisgerber
Short:
--
Why do compose key sequences fail to work in a UTF-8 xterm?

Long:
-
I have configured a compose key (aka Multi_key) here:

$ setxkbmap -layout us -option compose:ralt

When I start an xterm with an ISO8859-1 locale
$ LC_CTYPE=en_US.ISO8859-1 xterm 
I can use the compose key to enter the expected set of characters
with diacritics. (a e i o u with acute accent, grave accent, etc.)
So far, so good.

When I start an xterm with an ISO8859-2 locale
$ LC_CTYPE=pl_PL.ISO8859-2 xterm 
xterm will accept compose sequences for 8859-2 characters such as
r with acute, l with stoke, etc., but display a different character
as if 8859-2 codes are mistaken for 8859-1.  Hmm.  Buuut... I see
in the man page that I need to tell xterm to use the locale settings:
$ LC_CTYPE=pl_PL.ISO8859-2 xterm -lc 
This works as expected, I can enter 8859-2 characters with compose
sequences.  (And I can set the XTerm*locale resource to make this
the default behavior.)

Now, when I start an xterm with a UTF-8 locale
$ LC_CTYPE=en_US.UTF-8 xterm -lc 
xterm fails to accept compose sequences for common characters from
8859-1/2.  At first I thought none would work at all, but some
experimenting revealed a very few, such as --- for some sort of
dash and L- for a pound sign.  No common letters with diacritics,
though.  The language part of the locale setting doesn't matter;
en_US, de_DE, pl_PL, no difference.

This is disappointing.  You would expect a superset of the common
8859-x characters to be available with UTF-8.  Can anybody shed some
light on what's going on there?

-- 
Christian naddy Weisgerber  na...@mips.inka.de

___
freebsd-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 on Panasonic TV

2010-03-13 Thread Robert Huff

Richard Tobin writes:

  I was interested to see that my Panasonic television displays a
  FreeBSD copyright notice.  Does anybody know how much of FreeBSD
  it uses?  (It apparently uses a UFS filesystem on disks attached
  for video recording.)

My Toshiba manual includes a NetBSD copyright notice; I believe
it is for the USB stack.
Surprised me, too.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to use cdrecord

2010-03-13 Thread Aiza

Been using burn for blanking and burning iso files to cd.
Now i have need to use mkisofs so though I would try cdrecord
to blank cd and write iso to cd.

dmesg -a |grep acd gives this
acd0: CDRW Hewlett-Packard CD-Writer Plus 9500/1.0e at ata1-master UMDA33

tried cdrecord -v speed=2 dev=acd0 blank=fast
gives this error Open by devname not supported on this OS.

What device am i 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: how to use cdrecord

2010-03-13 Thread Chris Hill

On Sun, 14 Mar 2010, Aiza wrote:

[snip]

tried cdrecord -v speed=2 dev=acd0 blank=fast
gives this error Open by devname not supported on this OS.

What device am i to use?


cdrecord wants to see your ATA burner as a SCSI device, so you'd use
  cdrecord dev=1,0,0 ...
The numbers after dev= depend on where your burner is; find it using
  cdrecord -scanbus

HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to use cdrecord

2010-03-13 Thread Programmer In Training
On 03/13/10 21:35, Chris Hill wrote:
 On Sun, 14 Mar 2010, Aiza wrote:
 
 [snip]
 tried cdrecord -v speed=2 dev=acd0 blank=fast
 gives this error Open by devname not supported on this OS.

 What device am i to use?
 
 cdrecord wants to see your ATA burner as a SCSI device, so you'd use
   cdrecord dev=1,0,0 ...
 The numbers after dev= depend on where your burner is; find it using
   cdrecord -scanbus
 
 HTH.

I started following as I'll be burning cd's here soon myself, following
your suggestion:

[r...@heaven]cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004
J�g Schilling
cdrecord: Invalid argument. CAMIOCOMMAND ioctl failed. Cannot open SCSI
driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

So I did this:

[r...@heaven]dmesg -a | grep acd
acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDR HP DVD Writer 1040r/MH21 at ata1-master UDMA33

Thoughts?
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: how to use cdrecord

2010-03-13 Thread Aiza

Chris Hill wrote:

On Sun, 14 Mar 2010, Aiza wrote:

[snip]

tried cdrecord -v speed=2 dev=acd0 blank=fast
gives this error Open by devname not supported on this OS.

What device am i to use?


cdrecord wants to see your ATA burner as a SCSI device, so you'd use
  cdrecord dev=1,0,0 ...
The numbers after dev= depend on where your burner is; find it using
  cdrecord -scanbus

HTH.

--
Chris Hill   ch...@monochrome.org



cdrecord -scanbus gives a error. Invalid argument. Camiocommand ioctl 
failed, can not open scsi driver

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


building from source after freebsd-update

2010-03-13 Thread johnea


Hello,

I have been using freebsd-update to update several 7.1 systems.

The default freebsd-update.conf contains:

Components src world kernel

Recently while trying to build sendmail to enable SASL I ran into errors:

host# cd /usr/src/usr.sbin/sendmail
host# make depend
make: don't know how to make alias.c. Stop

How can I build the source updated by freebsd-update?

Thank You!

johnea

p.s. I have replaced sendmail with ssmtp and have the necessary SASL
 authentication working. However I have always maintained these
 servers via freebsd-update and I would like to learn the process
 of building the system from source. Thanks for any help!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: building from source after freebsd-update

2010-03-13 Thread Chuck Swiger
On Mar 13, 2010, at 7:37 PM, johnea wrote:
 I have been using freebsd-update to update several 7.1 systems.
 [ ... ]
 How can I build the source updated by freebsd-update?

freebsd-update provides a binary update mechanism.

It doesn't do anything to update the source files; if you choose to rebuild 
from source, use cvsup/csup/svn; you will normally get a -STABLE system from 
the build cycle, and not a -RELEASE system, but that depends upon which branch 
you are tracking.

Regards,
-- 
-Chuck

___
freebsd-questions@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 w/ touching all files?

2010-03-13 Thread Adam Vande More
On Fri, Mar 12, 2010 at 10:21 AM, Richard DeLaurell 
richard.delaur...@gmail.com wrote:



 On Thu, Mar 11, 2010 at 1:46 PM, Adam Vande More amvandem...@gmail.comwrote:



 On Thu, Mar 11, 2010 at 11:05 AM, Richard DeLaurell 
 richard.delaur...@gmail.com wrote:

 I made a big mistake the upshot of which is that many of my files
 (including
 many port/makefiles) have the wrong date.


 maybe try a portnsnap fetch extract, touch -m should help on
 /usr/ports/distfiles/


 Wouldn't the portsnap fetch extract reset the modified dates without a
 touch?


No, not for the files in /usr/ports/distfiles/  Those timestamps would be
set when the tarball for the port is fetched.  It is not modified other than
that I believe except for perhaps access times.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: building from source after freebsd-update

2010-03-13 Thread johnea

On 2010-03-13 19:58, Chuck Swiger wrote:


freebsd-update provides a binary update mechanism.

It doesn't do anything to update the source files; if you choose to rebuild 
from source, use cvsup/csup/svn; you will normally get a -STABLE system from 
the build cycle, and not a -RELEASE system, but that depends upon which branch 
you are tracking.


I guess I was lead to believe that it updated the source from this entry in the 
handbook:

The default is to update the source code, the entire base system, and the 
kernel.

http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html

I've also seem other references indicate that the source downloaded by 
freebsd-update
could be patched and installed.

Am I completely off?

Thanks for helping clear this up...

johnea
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: building from source after freebsd-update

2010-03-13 Thread Chuck Swiger
On Mar 13, 2010, at 8:10 PM, johnea wrote:
  guess I was lead to believe that it updated the source from this entry in 
 the handbook:
 
 The default is to update the source code, the entire base system, and the 
 kernel.
 
 http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
 
 I've also seem other references indicate that the source downloaded by 
 freebsd-update
 could be patched and installed.

If you list src component, evidently freebsd-update claims to update /usr/src.  
I suspect that if you've updated src via one of the other methods, it won't 
figure out how to update everything correctly.

-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org