From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edward Shishkin Subject: Re: Integrate fully partman-reiser4 into d-i Date: Thu, 12 Nov 2015 17:23:16 +0100 Message-ID: <5644BCF4.3040908@gmail.com> References: <20150921111209.GA30565@riva.ucam.org> <560018DE.9010205@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=MCcke010r/Lf5G0n0pxSgR2CA2JK/8Lj1ymKiUOqlWo=; b=TCE05JJ+ty2MLeGsKYyRjRQXuh+Z3vet3aijjEzOtG3Hugqd4/8HZHiIeKy/BunIPk EA93pVDN9JqZcqyutV1RgynF9HBBMNGVX2KtxfrB5V3JM0t57zy86F3LaxX6LgbC9n31 chZ3Giy39WKl1IOrcpYus+X9vX6E1IwHU6oO8w4DYz42aIFEn8/wlxuyNzcoCDvo8gh9 D5XrUlEybqnP/ZhOK32i6MzCiueayY7NBN3FvMUm9KrpmXgR6U2j/KBu0lFI6byQaObn Yhm6Oym2PcqCOpOUUkM1b/EBbu43cg3xBTMCS8v6x98XnMRMhxXbLDJhQhIPvjS1Iu23 2HZw== In-Reply-To: Sender: reiserfs-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Jose R R Cc: debian-boot@lists.debian.org, ReiserFS Development List , Cyril Brulebois , Ben Hutchings , cjwatson@debian.org On 11/12/2015 12:28 PM, Jose R R wrote: > On Mon, Sep 21, 2015 at 7:49 AM, Edward Shishkin > wrote: >> On 09/21/2015 01:12 PM, Colin Watson wrote: >>> On Sun, Sep 20, 2015 at 07:40:37AM -0700, Jose R R wrote: >>>> I have realized that although partman-reiser4 udeb enables Reiser4 to >>>> be listed as an option during the Debian-Installer routine of a >>>> netboot ISO image, the lack of support for reiser4 in GNU Parted >>>> (Debian's libparted) prevents installation from the GUI interface. >>> It should be pretty easy to add that to parted, since nowadays the only >>> filesystem support it has is probing support. I suggest preparing a >>> patch against git://git.sv.gnu.org/parted.git master that adds the >>> ability to detect existing reiser4 partitions and sending it upstream; >>> it should only be on the order of a hundred lines. >> >> >> Does anybody care to prepare the patch? > I am working on it Ed. I have been ironing out some wrinkles from the > last Reiser4 patch proposed several years ago in the GNU Parted > mailing lists. It's components and structure were basically cloned by > the initial btrfs patch submitted to Debian. autoreconf has been my > friend ;-) > >> I think we just need to a read a sector at REISER4_MAGIC_OFFSET >> and check the magic string ("ReIsEr4"), see definition of the struct >> reiser4_master_sb. > Please enlighten me with reference to its documentation -- online or > in the Reiser4 source code? Alas, only source code.. In reiser4 kernel sources look for REISER4_MAGIC_OFFSET and REISER4_SUPER_MAGIC_STRING. In reiser4progs it is called REISER4_MASTER_OFFSET and REISER4_MASTER_MAGIC respectively. Thanks, Edward.