bug-parted
[Top][All Lists]
Advanced

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

Re: Not really a bug...


From: thomas . friedrichsmeier
Subject: Re: Not really a bug...
Date: Fri, 16 Mar 2001 14:25:45 +0100

It took me some time to reply - sorry.

> I suspect the problem is that the format of /proc/mounts changed
> with your kernel (what kernel do you have?), so Parted couldn't
> see that you had used partitions.
>
> 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

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.
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. 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.

> > - Don't default to anything when called without device-parameter!
> > Print a usage message instead (like fdisk does).
>
> 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.
We got a saying in Germany that stupidity needs to be penalized,
yet loosing one's partition table is quite a drastic penalty. 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?

> 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.

Thomas Friedrichsmeier



reply via email to

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