DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd March 2015
fstef fstef is offline
Port Guard
 
Join Date: Nov 2013
Posts: 31
Default snapshot, current, sysmerge

hi, i need to post another question. in my loongson machine i've installed snapshot and then using 3 day for fetched -current: cvs -d$CVSROOT checkhout -P src xenocara ports; then i updated -current: cvs -d$CVSROOT up -Pd (on src xenocara ports directory respectively): the i build the kernel, rebooted the machine and build the userland (1 day). everything without errors message.
now, according to FAQ 5.3.5, i must update /dev and /etc, whit the changes listed in http://www.openbsd.org/faq/current.html. because 28-feb-2015 snapshot is my starting point and in /faq/current the last change is dated 2015/02/21 i don't need to do nothing.
but i need to run sysmerge. according the FAQ 5.11.10 sysmerge(8) can use the checked-out source tree so according the /faq/upgrade56 Final Step (i can't find indication using the source tree) i think i need to run sysmerge -s /usr/src/etc -x /usr/xenocara/etc.
the problem: according the sysmerge(8) manual page -s and -x are unknown options.
so what i need to do? running sysmerge without arguments seams to start but it don't show messages and after 3-4 seconds stop. no error messages
where i'm wrong?

thank you
fstef
Reply With Quote
  #2   (View Single Post)  
Old 2nd March 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

The FAQ is for -release, and you are now on -current. See the sysmerge(8) man page on your system for the correct, simplified syntax and usage.

You will find you now should no longer need to use any options with sysmerge during typical end-user usage, whether upgrading from snapshots or building for source.
Reply With Quote
  #3   (View Single Post)  
Old 3rd March 2015
fstef fstef is offline
Port Guard
 
Join Date: Nov 2013
Posts: 31
Default

thank you jggimi,
i read the sysmerge(8) man page a lot of time but i'm missing something. if i understand correctly the command is sysmerge -d. i tried it and it seams working but only with the etc files, whit the xetc files nothing happen.
in my /etc directory i've wsconsctl.conf. on a default installation there is no this file, it is on /etc/examples, so i'm asking to myself why sysmerge don't tell me something about this, maybe is because "Files whose reference sources have matching CVS Id are skipped from comparison"?
the last thing: according to the manual sysmerge will finish by running mtree(8) and according M.W. Lucas "Absolute OpenBSD", p.380 when sysmerge finish to work it tell you something like "Checking directory hierarchy permissions (running mtree(8))...".
when i runned sysmerge -d at the end the command don't tell me nothing.

fstef
Reply With Quote
  #4   (View Single Post)  
Old 3rd March 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

  • The sysmerge shell script has changed since Absolute OpenBSD was written and published. It's a great book, and very valuable, but it is static while the OS is not.
  • The xenocara configuration files (xetc) are still managed by sysmerge, however if nothing has changed there will be nothing for you to review.
  • The /etc files that were not required by a default install were moved to /etc/examples. Prior to that, sysmerge would offer you the opportunity to revise/overwrite or merge local files with sdiff(1). Now, when the files in the examples directory change, sysmerge notifies you that they have changed. It no longer prompts you. You may merge those changes if required, either manually editing or with sdiff.
  • As /usr/sbin/sysmerge is a shell script, you may prefer to examine it to further your understanding.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapshot problem J65nko OpenBSD Installation and Upgrading 8 1st January 2015 05:58 AM
sysmerge(8) in -current ocicat OpenBSD Installation and Upgrading 2 9th September 2014 01:40 AM
help to understand snapshot fstef OpenBSD Installation and Upgrading 15 24th November 2013 02:39 PM
sysmerge without -x .. any consequences ? daemonfowl OpenBSD Installation and Upgrading 5 23rd June 2012 06:12 PM
Snapshot majkelos OpenBSD Installation and Upgrading 4 21st October 2011 08:08 PM


All times are GMT. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick