Re: filesystem compatibility between FreeBSD and OpenBSD

2009-04-30 Thread Tim Judd
something I wonder about

I know OpenBSD and FreeBSD both have different versions of the UFS
filesystems
(FreeBSD newfs(8) -O option, OpenBSD newfs(8) -O)

has someone tried to use all combinations of all options to see if they
work?

It's funny that OpenBSD's manpage says it uses FFS, not UFS -- when even I
thought it said UFS before I looked it up.




Just my 2c

--TJ
___
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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-30 Thread Polytropon
On Thu, 30 Apr 2009 09:11:28 -0600, Tim Judd taj...@gmail.com wrote:
 It's funny that OpenBSD's manpage says it uses FFS, not UFS -- when even I
 thought it said UFS before I looked it up.

Don't FFS and UFS refer to the same file system, the
Berkeley Fast File System, also known as 4.2bsd? In
my studies according to a data recovery problem
I found them used in similar ways.

% ll /sbin/fsck_[uf4]*
-r-xr-xr-x  3 root  wheel  87020 Aug 24  2008 /sbin/fsck_4.2bsd*
-r-xr-xr-x  3 root  wheel  87020 Aug 24  2008 /sbin/fsck_ffs*
-r-xr-xr-x  3 root  wheel  87020 Aug 24  2008 /sbin/fsck_ufs*

At least on FreeBSD, they're all the same program.


-- 
Polytropon
From 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


filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had some
advice (apparently bad) that the OpenBSD UFS filesystem could provide a
filesystem that I could access from FreeBSD ... least, just now when I tried to
mount either of the two filesystems I just created on FreeBSD, FreeBSD seems to
recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
but FreeBSD can't seem to mount either one.

Is there ANY filesystem that would be a good bet, so that I could transfer stuff
 to  from FreeBSD to OpenBSD?  Besides (obviously) UFS?

Thanks
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn4ni8ACgkQz62J6PPcoOm1mACePe5wltWsl0iLuIAzdYJ1M6RS
/PIAnjEMFi1MdMYDkPkadva+gjbqRMLN
=Wd2g
-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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Polytropon
On Wed, 29 Apr 2009 14:36:31 -0400, Chuck Robey chu...@telenix.org wrote:
 Is there ANY filesystem that would be a good bet, so that I could transfer 
 stuff
  to  from FreeBSD to OpenBSD?  Besides (obviously) UFS?

Yes, there is, and it even isn't a file system.
It's tar. You can easily create a tar archive
and transfer it from device to device, maybe
using a transfer hard disk. I know this sounds
stupid, but it works. The disk just needs to be
formatted, it can be a hard disk, an optical
disc, even an USB thumb drive, or a floppy disk.
Doesn't matter. Just format it.

Then:

% tar cvf /dev/device yourstuff

on the source OS. On the target OS, simply run
this command:

% tar xvf /dev/device

I could employ this method successfully to transfer
data between different UNIXens and Linusi. :-)



-- 
Polytropon
From 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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Daniel C. Dowse
On Wed, 29 Apr 2009 14:36:31 -0400
Chuck Robey chu...@telenix.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had 
 some
 advice (apparently bad) that the OpenBSD UFS filesystem could provide a
 filesystem that I could access from FreeBSD ... least, just now when I tried 
 to
 mount either of the two filesystems I just created on FreeBSD, FreeBSD seems 
 to
 recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
 but FreeBSD can't seem to mount either one.
 
 Is there ANY filesystem that would be a good bet, so that I could transfer 
 stuff
  to  from FreeBSD to OpenBSD?  Besides (obviously) UFS?
 
 Thanks

Hi Chuck,

please tell us what exactly the output of mount is,  mount (8) on
FreeBSD 7.1 tells me that UFS is the default filesystem to mount.

best regards

Daniel Dowse


-- 
The only reality is virtual!
___
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: filesystem compatibility between FreeBSD and OpenBSD

2009-04-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel C. Dowse wrote:
 On Wed, 29 Apr 2009 14:36:31 -0400
 Chuck Robey chu...@telenix.org wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I just put a OpenBSD partition on a EIDE disk I had laying around.  I'd had 
 some
 advice (apparently bad) that the OpenBSD UFS filesystem could provide a
 filesystem that I could access from FreeBSD ... least, just now when I tried 
 to
 mount either of the two filesystems I just created on FreeBSD, FreeBSD seems 
 to
 recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e),
 but FreeBSD can't seem to mount either one.

 Is there ANY filesystem that would be a good bet, so that I could transfer 
 stuff
  to  from FreeBSD to OpenBSD?  Besides (obviously) UFS?

 Thanks
 
 Hi Chuck,
 
 please tell us what exactly the output of mount is,  mount (8) on
 FreeBSD 7.1 tells me that UFS is the default filesystem to mount.

It just fails with an Invalid argument, so I think it's not able to recognize
the OpenBSD FS.  I can't do it the other way around, because I can't (yet) find
the OpenBSD driver for my AMCC (3ware) 9650-4 controller (FreeBSD's twa driver).
 Otherwise, I'm curious if maybe OpenBSD count moount the FreeBSD FS.

No longer truly important, because i'm using an extra machine as a waypoint for
a transfer.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn5FhEACgkQz62J6PPcoOlikgCfUmLdhYXrsu7/1EE6aZL1mH91
DdkAn0JEGxkyRyBQdOGO9kgEft0mzm8T
=kibv
-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


filesystem compatibility

2009-04-23 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Are there any filesystems which FreeBSD has which offer compatibility to
OpenBSD?  I want to add a OpenBSD partition to my long-existing FreeBSD disk,
make it OpenBSD, but I want to be able to transfer data between FreeBSD 
OpenBSD.  Any filesystem which could do that?  Or, maybe looking at it from the
other way, can OpenBSD read any of our FreeBSD filesystems?  I want to move data
between these two, if at all possible, and they're on the same machine, so nfs
isn't a possibility here.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknwnVEACgkQz62J6PPcoOnzVwCdFgIo3jAe/wRf13jF9X3knDz8
pGUAniVR7IA9BsOCElNkYtYrFIi3ICrl
=Oct9
-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: filesystem compatibility

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 12:54:41 -0400, Chuck Robey chu...@telenix.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Are there any filesystems which FreeBSD has which offer compatibility to
 OpenBSD?  I want to add a OpenBSD partition to my long-existing FreeBSD disk,
 make it OpenBSD, but I want to be able to transfer data between FreeBSD 
 OpenBSD.  Any filesystem which could do that? 

From my experiences, the tar filesystem is the best one to
do this. You can transfer the tar archives (and add compression
if needed) between different operating systems using FTP or
any Internet means as well as via optical media, even the
use of floppy disks (if you still know them) is possible.

On one end:

% tar cvf bla.tar your stuff here

On the other end:

% tar xvf bla.tar



 Or, maybe looking at it from the
 other way, can OpenBSD read any of our FreeBSD filesystems?  I want to move 
 data
 between these two, if at all possible, and they're on the same machine, so nfs
 isn't a possibility here.

FreeBSD and OpenBSD use FFS / UFS file systems. Have you already
tried mounting FreeBSD partitions with OpenBSD or vice versa?

Of course, it's possible to transfer data via FTP, rsync or
scp between machines.

But because you asked about file systems, just try the mount
advice.



-- 
Polytropon
From 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: filesystem compatibility

2009-04-23 Thread Tim Judd
On Thu, Apr 23, 2009 at 10:54 AM, Chuck Robey chu...@telenix.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Are there any filesystems which FreeBSD has which offer compatibility to
 OpenBSD?  I want to add a OpenBSD partition to my long-existing FreeBSD
 disk,
 make it OpenBSD, but I want to be able to transfer data between FreeBSD 
 OpenBSD.  Any filesystem which could do that?  Or, maybe looking at it from
 the
 other way, can OpenBSD read any of our FreeBSD filesystems?  I want to move
 data
 between these two, if at all possible, and they're on the same machine, so
 nfs
 isn't a possibility here.


MS-DOS FAT32
Severely limited, but that is as close to as a universal filesystem as you
can get.
___
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: filesystem compatibility

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 11:37:29 -0600, Tim Judd taj...@gmail.com wrote:
 MS-DOS FAT32

Ugh. :-)



 Severely limited, but that is as close to as a universal filesystem as you
 can get.

Among BSDs, UFS / FFS should work. To get rid of the many
limitations in the MS-DOS file system, tar is really the
best solution. (I know this from interoperability works
with many different UNIXes, such as BSDs, Solaris, IRIX
and Mac OS X - even Linux can handle it without problems.)
And it is not limited to a subset of media.

I can only say: Avoid MICROS~1 stuff if possible. Not using
it makes you happy afterwards. :-)




-- 
Polytropon
From 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: filesystem compatibility

2009-04-23 Thread Tim Judd
On Thu, Apr 23, 2009 at 12:11 PM, Polytropon free...@edvax.de wrote:

 On Thu, 23 Apr 2009 11:37:29 -0600, Tim Judd taj...@gmail.com wrote:
  MS-DOS FAT32

 Ugh. :-)



  Severely limited, but that is as close to as a universal filesystem as
 you
  can get.

 Among BSDs, UFS / FFS should work. To get rid of the many
 limitations in the MS-DOS file system, tar is really the
 best solution. (I know this from interoperability works
 with many different UNIXes, such as BSDs, Solaris, IRIX
 and Mac OS X - even Linux can handle it without problems.)
 And it is not limited to a subset of media.

 I can only say: Avoid MICROS~1 stuff if possible. Not using
 it makes you happy afterwards. :-)



Speaking of...

Recently I'm seeing a new filesystem, exFAT (apparently to work with
excessively large filesystems).

Is exFAT compatible with the msdosfs filesystem in BSD?
___
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