Messages in this thread | | | Date | Thu, 20 Feb 1997 22:59:30 -0600 | Subject | Re: ufs partitions in 2.1.25 | From | (Todd Fries) |
| |
In article <9702032039.AA23380@gnu.sdsp.mc.xerox.com> you wrote: : I'm having a difficulty reading my freebsd partitions with : linux 2.1.25 (and its been a problem for a long time). : : System-commander doesn't have a problem understanding these partitions. : : But all flavors of fdisk sees them as b5, not a5. : : Changing them to a5 doesn't change the behavior at the next boot. : I changed genhd.c to recognize a5 or b5 as bsd partitions, but : mount doesn't seem to work.
I don't know about 'b5' but OpenBSD has chosen 'a6' as its partition id.
And I also am unable to mount OpenBSD partitions from within Linux.
Currently, it appears that genhd.c looks for a primary partition of type 'a5' .. I've modified it to look for 'a6' as well, and it finds the disklabel fine (because the disklabel is treated as an extended partition).. However, what about the case where BSD is able to 'disklabel' a disk 'ignoring' the mbr record, taking over the disk with a disklabel? I don't think this would be too hard to support, I'll look into it.
Anyway, I'm needing to mount OpenBSD partitions from linux .. and thus will be doing one of two things: a) updating 'ufs' to be able to handle ffs filesystems b) creating 'ffs' as a filesystem in the event that modifying the existing 'ufs' is not desirable
-- Todd T. Fries .. friest@acm.org
| |