Hello, I have started on coding a fdisk interface to libparted for GNU. The source is now available from http://foobar-qux.org. Please comment on the code and the interface uppers downers etc.. To compile fdisk there is a Makefile in the sources but you will need to change things like the includedir and libdir vars. You will need a view depends.
1: libparted 2: libdl (I am using /lib/libdl-2.3.2.so) 3: readline (I am using /lib/libreadline.so.4.3) 4: If you have getopt.h leave the define in the make file. (I do.) 5: And ncurses (This really serves nothing but it soon will parted does need it but fdisk as of right now does not but soon we will have cfdisk. :) ) After you have all the depends installed and are ready to go customize the Makefile as needed you may have to change the includedir and libdir because I am sure mine is differ from most (lol). And it should compile right up for you. There is no make install yet so running from the CWD is the way to do it. Remember to run fdisk as root. One last note. This is simply just a modified parted interface to act and feel like fdisk. There are some major changes to parteds interface I made. For example parted wrote everything to disk right after a change was made. But, in fdisk you wait till the user has finished and issues the write command so I had to implement all of that feature. I have added some new things all of the newly added commands are listed under the help ('m') and are labeled GNU Extensions. Well, thanks for your time and the sources will be updated nightly from my local cvs. Thanks again. Happy Hacking Harley D. Eades III _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-hurd