[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling support in libparted
From: |
Andrew Clausen |
Subject: |
Re: Disabling support in libparted |
Date: |
Wed, 25 Jul 2001 20:28:25 +1000 |
User-agent: |
Mutt/1.2.5i |
On Wed, Jul 25, 2001 at 02:30:50AM -0300, Frédéric L. W. Meunier wrote:
> Hi. Is it possible to disable support in libparted for most
> fs types ? I'm using ext3 with Kernel 2.4. I have a swap
> partition, but if I don't touch it, I'd only need fs_ext2/ ?
Right.
Well, not quite. You still probably want to be able to detect
other file systems. (This is actually quite important, for
removing stale signatures, which can confuse all kinds of programs
- this is an advantage to using Parted for mkfs)
Anyway, the probing stuff in Parted is quite small (perhaps 2%
of the total code of, say, the FAT code).
> I think it'd be useful for rescue disks.
Agreed.
> Can I just modify
> the Makefile and remove them ?
Not if you want probe support. Also, you'd need to change the registration
code libparted/libparted.c (remove ped_file_system_fat_init(), etc.)
> If it's so easy then a
> configure option would be handy. Something like
> --foo=ext2,xfs could only make fs_ext2/ and fs_xfs/ .
It'd be nice to compile everything as modules, etc. We're likely to
use glib in future, which provides a convienient way of doing this.
(The upside, too is, you can choose in run time what you need... not
just compile time)
Andrew