DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1 Week Ago
Zielonykid123 Zielonykid123 is offline
Fdisk Soldier
 
Join Date: Nov 2021
Posts: 57
Default Root partition file system

Hi. I just wanted to install OpenBSD. It's been a while since 6.9, so many things changed. Last time, when I was installing OpenBSD 6.9 the default root file system was 4.4BSD, now I can see it's 4.2BSD by-default. Why? Can I still use 4.4BSD file system as root?
Reply With Quote
  #2   (View Single Post)  
Old 1 Week Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

You may be misremembering. The disklabel(8) program's default partition type for Fast File System (FFS) partitions has been reporting itself as "4.2BSD" in OpenBSD since 1995. And still does, even though the default filesystem is now FFS2, a modern enhancement based on the original FFS.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
Zielonykid123 Zielonykid123 is offline
Fdisk Soldier
 
Join Date: Nov 2021
Posts: 57
Question

Quote:
Originally Posted by jggimi View Post
You may be misremembering. The disklabel(8) program's default partition type for Fast File System (FFS) partitions has been reporting itself as "4.2BSD" in OpenBSD since 1995. And still does, even though the default filesystem is now FFS2, a modern enhancement based on the original FFS.
So 4.4BSD is FFS and 4.2BSD is FFS2?
Reply With Quote
  #4   (View Single Post)  
Old 1 Week Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

No. The disklabel(8) report has always shown these partitions as "4.2BSD". Since 1995, which is before OpenBSD was first released. You've either misremembered the report or confused this with something else.
Reply With Quote
  #5   (View Single Post)  
Old 1 Week Ago
Zielonykid123 Zielonykid123 is offline
Fdisk Soldier
 
Join Date: Nov 2021
Posts: 57
Default

Quote:
Originally Posted by jggimi View Post
No. The disklabel(8) report has always shown these partitions as "4.2BSD". Since 1995, which is before OpenBSD was first released. You've either misremembered the report or confused this with something else.
It was 4.4BSD when I were installing OpenBSD 6.9

Alright, I just looked up for some OpenBSD 6.9 installation videos and it really was 4.2BSD. My bad.

Last edited by Zielonykid123; 1 Week Ago at 11:41 AM. Reason: Ok nvm
Reply With Quote
  #6   (View Single Post)  
Old 1 Week Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

To answer this question, before I replied I went to the source: the source code itself. The OpenBSD source code repository has been both public and openly available since the Project began in 1995. It's the "Open" of OpenBSD.

Here, you can see that the 4.2BSD reference in /usr/src/sys/sys/disklabel.h is line number 248, where FS_BSDFFS is defined. This line was part of revision 1.1, which was the initial import into OpenBSD back in 1995. There are a few more recent updates, with the most recent addition --line number 260, which was added in 2012 with revision 1.54.

I also checked /usr/src/sbin/disklabel/{disklabel.c,editor.c} to confirm that these both still used "4.2BSD" as well. There have been some changes to the output lines themselves in intervening years but the "4.2BSD" references have remained in place since 1995.
Reply With Quote
  #7   (View Single Post)  
Old 1 Week Ago
Zielonykid123 Zielonykid123 is offline
Fdisk Soldier
 
Join Date: Nov 2021
Posts: 57
Default

Quote:
Originally Posted by jggimi View Post
To answer this question, before I replied I went to the source: the source code itself. The OpenBSD source code repository has been both public and openly available since the Project began in 1995. It's the "Open" of OpenBSD.

Here, you can see that the 4.2BSD reference in /usr/src/sys/sys/disklabel.h is line number 248, where FS_BSDFFS is defined. This line was part of revision 1.1, which was the initial import into OpenBSD back in 1995. There are a few more recent updates, with the most recent addition --line number 260, which was added in 2012 with revision 1.54.

I also checked /usr/src/sbin/disklabel/{disklabel.c,editor.c} to confirm that these both still used "4.2BSD" as well. There have been some changes to the output lines themselves in intervening years but the "4.2BSD" references have remained in place since 1995.
So 4.4BSD file system does not exist?
Reply With Quote
  #8   (View Single Post)  
Old 1 Week Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

Not on OpenBSD.
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
java not working due to single root partition niks007 OpenBSD Packages and Ports 1 19th February 2021 12:29 AM
resize root partition of my server Tzzzzzzzz OpenBSD Installation and Upgrading 15 2nd June 2014 10:23 PM
FreeBSD won't boot after mounting root partition on OpenBSD Jtf FreeBSD Installation and Upgrading 12 19th March 2014 04:43 AM
Create MS/XP file system so it will be recognized on a XP system. FBSD Guides 0 1st May 2010 06:49 AM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


All times are GMT. The time now is 04:48 PM.


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