Thread (2 messages) 2 messages, 2 authors, 2017-05-23

Re: [PATCH v2 1/1] partitions/msdos: FreeBSD UFS2 file systems are not recognized

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-05-23 15:16:22

On 05/21/2017 01:27 PM, Richard wrote:
The code in block/partitions/msdos.c recognizes FreeBSD, OpenBSD
and NetBSD partitions and does a reasonable job picking out OpenBSD
and NetBSD UFS subpartitions.

But for FreeBSD the subpartitions are always "bad".

    Kernel: <bsd:bad subpartition - ignored

Though all 3 of these BSD systems use UFS as a file system, only
FreeBSD uses relative start addresses in the subpartition
declarations.

The following patch fixes this for FreeBSD partitions and leaves
the code for OpenBSD and NetBSD intact:
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help