[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check_mntent_file() (was: Re: Resizing root partition)

From: Andrew Clausen
Subject: Re: check_mntent_file() (was: Re: Resizing root partition)
Date: Sat, 9 Aug 2003 15:06:07 +1000
User-agent: Mutt/1.5.4i

On Sat, Aug 09, 2003 at 04:41:28AM +0200, Szakacsits Szabolcs wrote:
> > e2fsprogs does what Parted does now.
> I don't know what Parted does now because all your sources were retracted
> from the gnu ftp site for authenticity check and the mirror link on your
> page is broken (yes, probably I could have found the latest source
> somewhere but I that point I lost interest).

Yeah... I'll deal with this soon.  Big debacle.

> > Perhaps e2fsprogs' users have less problems because of their usage
> > modes... but I suspect some e2fsprogs' users are in fact losing data
> > also.  (Possibly even silently)
> If you think so, why don't you report it to the maintaner? I CC'd him this
> email.

I was planning to investigate it more first.  (I just sent the email
quickly, to correct my mistake)

I checked a newer version (1.34), and it is in fact doing what I
suggested it should.

It isn't really a clean solution, though.  (It has 'heuristic'
written all over it!)

Eg: it will fail if the user runs:

        "parted /dev/hda"

And if they use devfs, everywhere else is using devfs names
(in /proc/mounts and /etc/mtab), and the partition of interest
(eg: /dev/hda1) doesn't exist.

How should parted figure what partition 1 of /dev/hda is?
stat /dev/hda, get st_rdev, and add 1?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]