Date: Sun, 28 Oct 2001 16:49:44 -0600 (CST) From: Antoine Beaupré <antoine@usw4.freebsd.org> To: libh@FreeBSD.org Subject: cvs commit: libh/release/diskedit disklabel.tcl Message-ID: <200110282249.f9SMniq72861@usw4.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110282249.f9SMniq72861>
