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 18th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default Mounting a NetBSD partition from OpenBSD

Hello !

I'd be thankful if anyone would explain why this is the case :
In OpenBSD :
Mounting an external OpenBSD ffs partition (eg. /dev/sd0h ) , this line in fstab will do the job :
Code:
/dev/sd0h /home/daemonf/ffs ffs ro,noauto 0 0
But mounting a NetBSD partition in OpenBSD , /dev/sd0a won't work .. instead :
Code:
/dev/sd0i /home/daemonf/ffs ffs ro,noauto 0 0
is it because I allocated only one big partition for / ? then it takes sd0i ?
In what way is it similar to a msdos disk then ?

The other question :
When I mount an external ffs as rw , most times it works without problems but I recall a few times when I received warning messages (that I need to check filesystem .. or simply fail to mount one rw )
Why do both instances happen ?

Thank you so much !!
Reply With Quote
  #2   (View Single Post)  
Old 18th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

And to mount a external NetBSD partition in NetBSD I must use /dev/sd0a (and not /sd0i .. OpenBSD's case)
Why is it so ?
Reply With Quote
  #3   (View Single Post)  
Old 18th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,608
Thanked 214 Times in 189 Posts
Default

You're asking a NetBSD operational question in an OpenBSD thread.

On OpenBSD, if there is no OpenBSD disklabel on a drive with an MBR, any recognized MBR partitions are assigned virtual partition letters starting with "i". This has nothing to do with NetBSD, Windows, or any other OS. This has only to do with recognized foreign partition types in an MBR partition table.

Those virtual disklabel entries may become physical disklabel entries if an OpenBSD disklabel is written.
Reply With Quote
  #4   (View Single Post)  
Old 18th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Teacher jggimi !
I meant it as OpenBSD thread since it involves it mainly and for comparison too.
Thank you for the clear explanation. :-)
(How much I miss .. poor me !)
Reply With Quote
  #5   (View Single Post)  
Old 19th July 2012
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 372
Thanked 13 Times in 13 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
Hello !

I'd be thankful if anyone would explain why this is the case :
In OpenBSD :
Mounting an external OpenBSD ffs partition (eg. /dev/sd0h ) , this line in fstab will do the job :
Code:
/dev/sd0h /home/daemonf/ffs ffs ro,noauto 0 0
But mounting a NetBSD partition in OpenBSD , /dev/sd0a won't work .. instead :
Code:
/dev/sd0i /home/daemonf/ffs ffs ro,noauto 0 0
is it because I allocated only one big partition for / ? then it takes sd0i ?
In what way is it similar to a msdos disk then ?

The other question :
When I mount an external ffs as rw , most times it works without problems but I recall a few times when I received warning messages (that I need to check filesystem .. or simply fail to mount one rw )
Why do both instances happen ?

Thank you so much !!
I know this to be true in the case of FreeBSD and NetBSD, so I assume it to be true with NetBSD and OpenBSD and that is this.

Although the BSDs file systems are all called UFS/FFS they each have different implementation of it. Therefore, trying to mount a NetBSD file system on a OpenBSD as if it's a native file system is not going to work. You have to keep in mind that the BSDs are all separate OS and though they share a common ancestor. Not a direct answer, but maybe it will help you to understand why.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
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
Preserving existing OpenBSD partition layout during a re-install J65nko Guides 3 17th February 2010 03:55 AM
Mounting six CentOS iso images on OpenBSD J65nko Guides 6 25th November 2009 10:58 PM
HOWTO: mounting an USB device as normal non-root user in OpenBSD J65nko Guides 4 24th December 2008 01:43 AM
disklabel don't see OpenBSD partition piotrk OpenBSD General 4 25th September 2008 06:14 PM
Mounting a FreeBSD UFS partition roddierod Solaris 1 7th August 2008 02:02 PM


All times are GMT. The time now is 09:43 PM.


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