From owner-freebsd-bugs Fri May 11 7:20: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ADCF937B424 for ; Fri, 11 May 2001 07:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4BEK1B97913; Fri, 11 May 2001 07:20:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BF2CD37B506 for ; Fri, 11 May 2001 07:14:28 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4BEESJ97402; Fri, 11 May 2001 07:14:28 -0700 (PDT) (envelope-from nobody) Message-Id: <200105111414.f4BEESJ97402@freefall.freebsd.org> Date: Fri, 11 May 2001 07:14:28 -0700 (PDT) From: rubens_ramos@yahoo.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/27269: Cannot mount linux extended (logical) partitions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 27269 >Category: kern >Synopsis: Cannot mount linux extended (logical) partitions >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 11 07:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Rubens Ramos >Release: 4.2 >Organization: None >Environment: FreeBSD hal9000.home.net 4.2-RELEASE FreeBSD 4.2-RELEASE #17: Fri May 11 22:11:42 CST 2001 root@hal9000.home.net:/usr/src/sys/compile/MYKERNEL i386 >Description: FreeBSD can mount only MSDOS (and Windows) extended partitions. I am sending the patch to add this feature, since the linux extended partitions AFAIK work the same way as the MSDOS ones... With this, one is able to mount /dev/ad0s[5,6,7..] >How-To-Repeat: use linux to create an extended ext2fs partition. try to mount it in FreeBSD: mount -t ext2fs /dev/ad0s /mnt It will reply: "device not configured" >Fix: begin 644 diskmbr M26YD97@Z('-Y7,O:V5R;B]S M=6)R7V1I"!E M>'1E;F1E9"!P87)T:71I;VX@*B\*("`C:6YC;'5D92`\7,O;6%L;&]C+F@^"B`@(VEN8VQU9&4@/'-Y M7-L;V7!E(#T]($Q)3E!465!?15A414Y$140@?'P*("`) M"2`@("!S<"T^9'-?='EP92`]/2!$3U-05%E07T585$5.1$5$6"D*("`)"0EM M8G)?97AT96YD960H8G`M/F)?9&5V+"!L<"P@F4@ M/3T@,"D*("`)"0EC;VYT:6YU93L*("`)"6EF("AD<"T^9'!?='EP(#T]($1/ M4U!465!?15A414Y$140@?'P**R`)"0ED<"T^9'!?='EP(#T]($Q)3E!465!? M15A414Y$140@?'P*("`)"2`@("!D<"T^9'!?='EP(#T]($1/4U!465!?15A4 G14Y$1418*2!["B`@"0D)Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message