Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 2 Aug 2002 17:34:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 2 Aug 2002 17:34:03 -0400 Received: from pD952AC04.dip.t-dialin.net ([217.82.172.4]:23233 "EHLO hawkeye.luckynet.adm") by vger.kernel.org with ESMTP id ; Fri, 2 Aug 2002 17:34:02 -0400 Date: Fri, 2 Aug 2002 15:36:44 -0600 (MDT) From: Thunder from the hill X-X-Sender: thunder@hawkeye.luckynet.adm To: Mike Touloumtzis cc: "Albert D. Cahalan" , Alexander Viro , Thunder from the hill , Peter Chubb , Pavel Machek , , , Subject: Re: [RFC] 2.5.28 and partitions In-Reply-To: <20020802212149.GC4528@bluemug.com> Message-ID: X-Location: Dorndorf; Germany MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 27 Hi, On Fri, 2 Aug 2002, Mike Touloumtzis wrote: > fprintf(f, "%u %u %u%c", foo, bar, baz, '\0'); Yes, that's crap... However, what about the following partition table format: \0\n\n\n\0 Size represents the complete size of the partition table. partx defines the partitions that we have, part1 starts at (size % BLOCK_SIZE ? drive_start+(size/BLOCK_SIZE) : drive_start+(SIZE/BLOCK_SIZE)+1) String encoding is possible, not a requirement... Thunder -- .-../../-./..-/-..- .-./..-/.-.././.../.-.-.- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/