Re: debian-installer: disk partitioner

2001-01-16 Thread Randolph Chung
> Busybox has some utils, all right, but what I mean is a set > of generic data structure stuff like lists, stacks, hash tables... well, many linked list routines can be implemented in 3-4 lines of C, so there is a very little benefit of using a library. for binary trees and fast searches you ca

Re: debian-installer: disk partitioner

2001-01-12 Thread Adam Di Carlo
Glenn McGrath <[EMAIL PROTECTED]> writes: > Well i wrote some code that proccessed the partitions from data in /proc > (posted it a few days back), it doesnt detect filesystems on the > partitions, i was going to try and automount filesystems to workout what > filesystem they are... > That progra

Re: debian-installer: disk partitioner

2001-01-12 Thread David Whedon
Fri, Jan 12, 2001 at 07:07:45PM -0500 wrote: > > Maybe you guys could clue me in on the partitioner you are going to > use. You talk about using libparted or libfdisk. Does the libfdisk > mean the libfdisk in the boot-floppies CVS area? Does that mean it > has to be packaged separately? That'

Re: debian-installer: disk partitioner

2001-01-12 Thread Glenn McGrath
Adam Di Carlo wrote: > > Maybe you guys could clue me in on the partitioner you are going to > use. You talk about using libparted or libfdisk. Does the libfdisk > mean the libfdisk in the boot-floppies CVS area? Does that mean it > has to be packaged separately? > > I'm curious because there

Re: debian-installer: disk partitioner

2001-01-12 Thread Adam Di Carlo
Maybe you guys could clue me in on the partitioner you are going to use. You talk about using libparted or libfdisk. Does the libfdisk mean the libfdisk in the boot-floppies CVS area? Does that mean it has to be packaged separately? I'm curious because there's a chance I could use the same pa

Re: debian-installer: disk partitioner

2001-01-12 Thread Joey Hess
David Whedon wrote: > Definately a good aproach. At first glance libparted would be great if it > wasn't so large. I like the idea of being able to resize partitions, which I > think it does, and I don't think libfdisk does. But I do want to be able to > install off a single floppy. Please bea

Re: debian-installer: disk partitioner

2001-01-10 Thread exa
Hi David, On Wed, Jan 10, 2001 at 10:07:21AM -0800, David Whedon wrote: > > I haven't been able to do concrete work yet. But I'm still interested in it, > > so we can work together. > great. > I'm looking forward to working with you and the rest of the team. I will be busy for the next couple o

Re: debian-installer: disk partitioner

2001-01-10 Thread Glenn McGrath
David Whedon wrote: > > > I haven't been able to do concrete work yet. But I'm still interested in it, > > so we can work together. > great. > > > > > > I've also seen conflicting info on how it should probably be done. I've seen > > > libparted and libfdisk suggested, I'm not sure that people

Re: debian-installer: disk partitioner

2001-01-10 Thread David Whedon
> I haven't been able to do concrete work yet. But I'm still interested in it, > so we can work together. great. > > > I've also seen conflicting info on how it should probably be done. I've seen > > libparted and libfdisk suggested, I'm not sure that people came to a conclusion > > as to which

Re: debian-installer: disk partitioner

2001-01-10 Thread exa
Hi Anthony, On Wed, Jan 10, 2001 at 09:21:31PM +1000, Anthony Towns wrote: > On Wed, Jan 10, 2001 at 08:45:26AM +0200, Eray Ozkural (exa) wrote: > > [...] So, large C projects tend to have their > > own portable C lib of data structures.. A good example is glib. > > debian-installer is meant to

Re: debian-installer: disk partitioner

2001-01-10 Thread Anthony Towns
On Wed, Jan 10, 2001 at 08:45:26AM +0200, Eray Ozkural (exa) wrote: > [...] So, large C projects tend to have their > own portable C lib of data structures.. A good example is glib. debian-installer is meant to be exactly the opposite of a large project... Cheers, aj -- Anthony Towns <[EMAIL P

Re: debian-installer: disk partitioner

2001-01-10 Thread Eray Ozkural (exa)
Glenn McGrath wrote: > > I too am unsure about what is standard with data structures. > I was asking if there are any coding standards about data structures the Install team is following. It seems that there aren't, right? > busybox has utility.c which is where funtions go that are common to a

Re: debian-installer: disk partitioner

2001-01-09 Thread Glenn McGrath
This is the code i have so far that works out a list of used and unused partitions, the heirarchy thing is working but only to two levels. I made a md0 array comprised of /dev/hdd1 /dev/hdd2 /dev/hdd3 /dev/hdd4 (silly i know), and it recognised that md0, hdd1 - hdd4 were taken, but it didnt reco

Re: debian-installer: disk partitioner

2001-01-09 Thread Eray Ozkural (exa)
David Whedon wrote: > > I agree, a debian-installer specific library is in order, so far I've got two > candidate functions (see utils.c in ddetect and netcfg). I took a quick look at > publib and didn't see that it would give us much, I could have missed something. Give me a couple of days and

Re: debian-installer: disk partitioner

2001-01-09 Thread exa
On Tue, Jan 09, 2001 at 08:21:24PM -0800, David Whedon wrote: > I've started to look into doing the disk partitioner. > > Looking through the boot archives it looks like Eray indicated some interest, I > don't want to step on toes, Eray, let me know if you are still working on it, we > can work

Re: debian-installer: disk partitioner

2001-01-09 Thread Glenn McGrath
David Whedon wrote: > > > > > sounds nice. btw, is there any standard here on the data structures? > > would it be possible to agree on this since we're using C, and data > > structure codes tend to be replicated over and over again? i'd be > > I'm not sure what you mean by standard for data str

Re: debian-installer: disk partitioner

2001-01-09 Thread David Whedon
> > sounds nice. btw, is there any standard here on the data structures? > would it be possible to agree on this since we're using C, and data > structure codes tend to be replicated over and over again? i'd be I'm not sure what you mean by standard for data structures. For the most part I thin

Re: debian-installer: disk partitioner

2001-01-09 Thread Eray Ozkural (exa)
Glenn McGrath wrote: > > Ive got some code that parses, /proc/filesystems, /proc/partitions, > /proc/mdstats and /proc/mounts. > > It builds a linked list of partitions with data it has gathered along > the way, including a list of aprent devices. sounds nice. btw, is there any standard here on

Re: debian-installer: disk partitioner

2001-01-09 Thread Glenn McGrath
David Whedon wrote: > > I've started to look into doing the disk partitioner. > > Looking through the boot archives it looks like Eray indicated some interest, I > don't want to step on toes, Eray, let me know if you are still working on it, we > can work together, o ryou can have it, just let m

debian-installer: disk partitioner

2001-01-09 Thread David Whedon
I've started to look into doing the disk partitioner. Looking through the boot archives it looks like Eray indicated some interest, I don't want to step on toes, Eray, let me know if you are still working on it, we can work together, o ryou can have it, just let me know, I want it soon. I've al