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

Re: tar question



On Tue, Oct 21, 2003 at 03:47:29PM -0700, Ralph Alvy wrote:
> A newbie question. I'm trying to bakup the current directory to my MO
> device. That device is registered in the system as 
> 
>         /dev/sda
> 
> and is mounted on 
> 
>         /mnt/mo
> 
> Neither of the following attempts success in creating a backup.tar.gz file
> on my MO drive:
> 
>         tar cvzf /dev/sda backup.tar.gz .

I am not sure if you can specify a filename unless you have a filesystem on it.
I have been successful by specifying just the device. Say,
	tar cvf /dev/sda .

>         tar cvzf /mnt/mo/backup.tar.gz .
> 
> What am I doing wrong? The MO drive is definitely mounted, but all I get is
> a backup.tar.gz file in the current directory.
> 

Ashish.

Attachment: pgpU6oeNle5wY.pgp
Description: PGP signature


Reply to: