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: Andrew Clausen
Subject: Re: unclear cp semantics nuked non-working drive?
Date: Mon, 27 Nov 2000 18:44:40 +1100

address@hidden wrote:
> 
> 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 :-)

Done :-)

Andrew Clausen



reply via email to

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