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