[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fsdevel
Subject:    Re: ext2 online resizer available
From:       Andreas Dilger <adilger () enel ! ucalgary ! ca>
Date:       1999-10-17 21:17:23
[Download RAW message or body]

Andries writes:
> Such things are possible these days.
> Find a recent kernel and a recent util-linux (source) distribution.
> In the fdisk directory you'll find tiny utilities addpart.c and delpart.c
> that will add and remove partitions on a disk that is otherwise in use.

The issue isn't being able to add and remove other partitions on a disk,
but rather to change the size of the underlying partition for a filesystem
that is currently mounted.  I tried again with util-linux-2.9g, but the
kernel still thinks the partition is the old size.  I will have to look
into this to see if it is possible to update the kernel partition info
for the mounted partition with an IOCTL.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic