From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 6 19:40:07 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8BCB4E6; Tue, 6 Nov 2012 19:40:07 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 926B78FC14; Tue, 6 Nov 2012 19:40:07 +0000 (UTC) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 3F0D48A3FC; Tue, 6 Nov 2012 19:40:06 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id qA6Je5bE012863; Tue, 6 Nov 2012 19:40:05 GMT (envelope-from phk@phk.freebsd.dk) To: Jaakko Heinonen Subject: Re: [patch] md(4) and preloaded memory disks In-reply-to: <20121106182752.GB2234@a91-153-116-96.elisa-laajakaista.fi> From: "Poul-Henning Kamp" References: <20121106182752.GB2234@a91-153-116-96.elisa-laajakaista.fi> Date: Tue, 06 Nov 2012 19:40:05 +0000 Message-ID: <12862.1352230805@critter.freebsd.dk> X-Mailman-Approved-At: Tue, 06 Nov 2012 19:44:54 +0000 Cc: freebsd-hackers@FreeBSD.org, filip.palian@pjwstk.edu.pl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 19:40:07 -0000 -------- In message <20121106182752.GB2234@a91-153-116-96.elisa-laajakaista.fi>, Jaakko Heinonen writes: >I plan to commit the patch below to disallow attaching preloaded memory >disks via ioctl. I didn't find anything that would really use this >undocumented feature. If I remember right, this was for the case where you had preloaded multiple images, and the kernel would only auto-discover the first one. All things (such as the disapperance of floppy disks), considered this feature should be removed. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.