bug-parted
[Top][All Lists]
Advanced

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

Re: unclear cp semantics nuked non-working drive?


From: janneke
Subject: Re: unclear cp semantics nuked non-working drive?
Date: 26 Nov 2000 22:46:25 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Andrew Clausen <address@hidden> writes:

> Ouch!

I wasn't happy, and I'll make more backups in the future.  However, my
most important stuff is safely backed-up on the internet :-)

>       (parted) select /dev/hdb
>       (parted) cp 1 /dev/hda 1

Ok.  It makes more sense to me now.  Apparently, I was in too much
hurry.  Coming from [cfp]disk I wasn't prepared to find something like
``select'', maybe also because parted says: ``/dev/hda'' when started
without arguments.

> Well, if you say /dev/hdb, or whatever, you are explicitly telling
> it to write to another disk...

I understand.  Of course, I didn't imagine writing to other disks
would be an option...


> So, you think we should change it to:
> 
>       cp [FROM-DEVICE] FROM-MINOR TO-MINOR

I definately like this best.  If you have ``select''ed hda to do
partitioning, you'd probably want to copy *to* hda (or at least,
you're prepared to destroy hda :-)

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



reply via email to

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