From owner-freebsd-libh Sun Oct 28 14:49:48 2001 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6411237B401 for ; Sun, 28 Oct 2001 14:49:45 -0800 (PST) Received: (from antoine@localhost) by usw4.freebsd.org (8.11.6/8.11.6) id f9SMniq72861 for libh@FreeBSD.org; Sun, 28 Oct 2001 16:49:44 -0600 (CST) (envelope-from antoine) Message-Id: <200110282249.f9SMniq72861@usw4.freebsd.org> From: Antoine Beaupré Date: Sun, 28 Oct 2001 16:49:44 -0600 (CST) To: libh@FreeBSD.org Subject: cvs commit: libh/release/diskedit disklabel.tcl Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2001/10/28 16:49:44 CST Modified files: release/diskedit disklabel.tcl Log: o seperate listbox setup from parts and disk_list setup - add_chunk now only modifies parts_list - add a read_disks procedure that edits parts_list (via add_chunk) and disk_list - new procedure display_chunk and display_chunk_r modify the parts listbox - new procedure display_disk adds a given disk to the disk listbox - update_all calls display_disk and recurse on display_chunk according to the disk_list (note: *not* the parts_list, which means we might have some "sync" problems if add_chunk and display_chunk do not use the same algorithm) - read_disks is called only in proc disklabel We could now put a "re-read disks" button that would ask (eg) "wether we would like to save the changes made to the disk" before re-reading the disks partitions info. This change was also indispensable to allow a display "refresh" to not wipe all the changes. o parts_callback(): - adjust TEST display to give more details - add unimplented notices on such buttons Revision Changes Path 1.11 +86 -45 libh/release/diskedit/disklabel.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message