bug-parted
[Top][All Lists]
Advanced

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

Re: Not really a bug...


From: Andrew Clausen
Subject: Re: Not really a bug...
Date: Fri, 16 Mar 2001 18:17:04 +1100

address@hidden wrote:
> > Could you give me the output of cat /proc/mounts? thanks.
> 
> /dev/root / reiserfs rw 0 0
> proc /proc proc rw 0 0
> devpts /dev/pts devpts rw 0 0
> /dev/hda2 /windows/C vfat rw,noexec,nosuid,nodev 0 0
> shmfs /dev/shm shm rw 0 0
> /proc/bus/usb /proc/bus/usb usbdevfs rw 0 0

It looks the same as here.  I can't reproduce the bug here.
I don't think I made any changes to this stuff between the
Parted in SuSE and the latest version (just been looking through
the change logs...)

Can you reproduce the problem?  Or does reproducing it involve
destroying stuff?
 
> Kernel is 2.4.0. The above is the output of a standard SuSE-Kernel. I still 
> haven't figured out, how they realized the reiserfs-support with that version.

It isn't 2.4.0 ala Linus.  It is 2.4.0 ala Linus + heaps of patches
(including the reiserfs patch)

> Thinking back, I should mention though, that my encounter with parted had 
> been around 3:30 am local time and I've had a glass of wine on how fancy the 
> new KDE was... Not quite the ideal state of mind to mess with your partition 
> tables.

ROFL!

> Anyway, I'm still pretty sure, I wasn't warned when creating the new label. 
> Later on however, when I was removing some partitions I had created 
> incorrectly, parted cautioned me, that those were in use.

Perhaps it's not dealing with /dev/root properly.  Notice in your
about /proc/mounts output, there is /dev/root?  Well, Parted looks
in /proc/sys/kernel/real-root-dev to find the root device.  Maybe
it's broken in 2.4.  Could you send the output of:

        # cat /proc/sys/kernel/real-root-dev

Thanks.

> > Parted does display "Using [device-name]". You really think
> > I should remove this guessing stuff? What does everyone else
> > think?
> 
> Personally, I'm not someone to read everything on screen too carefully, at 
> least not when I think, I know what I'm doing. I did scroll back in my 
> terminal and found that message saying /dev/hda, too, when it was too late. I 
> probably would have read it right on, had I been prompted.

Interesting.  This sounds like a good comprimise.

> We got a saying in Germany that stupidity needs to be penalized,
> yet loosing one's partition table is quite a drastic penalty.

It's not THAT bad... with gpart and all.

> Why not
> leave the guessing in, but prompt the user before proceeding with
> that guess? Or just add such a guess to the usage-message?

Yep.
 
> > I'm working on operation queue stuff ATM, so it will work by
> > [do all operations], then you type commit, where it will display
> > a scary message. I think this is better in the long run.
> 
> Does sound like a clean solution. Also it conforms to the style of the other 
> fdisk tools I know.

Yeah, it sounds nice, but it's a PITA to implement.  But it will
be very cute!

Andrew Clausen



reply via email to

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