You are not logged in.

#1 2010-02-13 11:54:57

RobF
Member
Registered: 2006-10-10
Posts: 157

How do I access BSD file tree from within Linux?

I just installed PC-BSD 8.0 RC on an external USB HDD.  I went with the PC-BSD default partition layout, i.e. one primary partition for the entire PC-BSD slice, and 4 "partitions" within that slice, for /, swap, /usr and /var.

In order to access the PC-BSD file tree from within Linux, I mount it as follows:

mount -t ufs -o ufstype=ufs2,ro /dev/sdb1 /mnt/bsd

But after executing this command I can only access the PC-BSD / , not /usr and /var , presumably because they reside on two BSD "partitions" (subslices) different from / .  Is there any way I can mount these (read-only) in Linux, too, or would I have to reinstall PC-BSD and opt for laying out the slice differently, i.e. specifying only / and swap in sdb1?

Last edited by RobF (2010-02-13 11:55:39)

Offline

#2 2010-02-13 12:31:49

davidgurvich
Member
Registered: 2010-02-11
Posts: 118

Re: How do I access BSD file tree from within Linux?

Look at  /dev/sdb*  there should be more than just sdb1.  You would need to mount those to see which is which.  For ufs write support the default kernel needs to be recompiled with experimental enabled.

Offline

Board footer

Powered by FluxBB