Skip to contentSkip to conversation

nomore newbies??

DISCUSSION Marco Calistri 7 participants 11 messages May 19, 2002 – May 20, 2002

lore
Share & tools
lore
#0 lore raw

Hi,this list seems dead...

----------------------------------
E-Mail: Marco Calistri <[email protected]>
Date: 19-May-2002 Time: 20:55:20
Red Hat Linux release 7.2 (Enigma) kernel 2.4.9-31 This message was sent by XFMail
----------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

Not dead, just sleeping. ;)

It seems a lot of things don't apply to me, they're either too high-level or to basic, or involve hardware/needs I don't have. <shrug>

sl

Quoted 9 lines · --- Marco Calistri

Hi,this list seems dead...

----------------------------------
E-Mail: Marco Calistri <[email protected]>
Date: 19-May-2002 Time: 20:55:20
Red Hat Linux release 7.2 (Enigma) kernel 2.4.9-31 This message was sent by XFMail
----------------------------------

Quoted 7 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at

http://www.linux-learn.org/faqs

=====
**************************
In cyberspace nobody can hear you scream.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
Quoted 10 lines · On 19-May-2002 Staci wrote:

Not dead, just sleeping. ;)

It seems a lot of things don't apply to me, they're either too high-level or to basic, or involve hardware/needs I don't have. <shrug>

sl

Quoted 1 line · --- Marco Calistri

Hi,this list seems dead...

I'm replying to the list after my "usual" unsubscribe/resubscribe due to vger "automatic user wiper"

Thanks Ray,Richard,Staci,Steven...

#3 lore raw
Quoted 9 lines · Marco Calistri
Quoted 8 lines · On 19-May-2002 Staci wrote:

Not dead, just sleeping. ;)

It seems a lot of things don't apply to me, they're either too high-level or to basic, or involve hardware/needs I don't have. <shrug>

sl

Quoted 7 lines
Quoted 2 lines
Quoted 1 line · --- Marco Calistri

Hi,this list seems dead...

I'm replying to the list after my "usual" unsubscribe/resubscribe due to vger "automatic user wiper"

Thanks Ray,Richard,Staci,Steven...

I have not seen replys from others yet, however its early days, what i find is, if one has mail bounced, that means a mail was sent to you and your ISP/your mailserver refused the mail, then your mail address goes on the bounces list, after X amount of retrys and the mail is not accepeted by your ISP or you directly, then your off the list, this i belive is normall practice on just about all mailing listes.

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#4 lore raw

richard,

just for my general knowledge, would you please define "mail-bouncing" ? K-Mail has this command when right-clicking on an e-mail and I have also seen many e-mails coming from some mailing-lists have in the sender's address "bounce" too [sendmail[8113]: g4JHwLG08113: from=<[email protected]>]

thanks,

petre

On Sunday 19 May 2002 23:45, Richard Adams wrote using one of his keyboards:

Quoted 24 lines · Marco Calistri
Quoted 9 lines · On 19-May-2002 Staci wrote:
Quoted 8 lines

Not dead, just sleeping. ;)

It seems a lot of things don't apply to me, they're either too high-level or to basic, or involve hardware/needs I don't have. <shrug>

sl

Quoted 7 lines
Quoted 2 lines
Quoted 1 line · --- Marco Calistri

Hi,this list seems dead...

I'm replying to the list after my "usual" unsubscribe/resubscribe due to vger "automatic user wiper"

Thanks Ray,Richard,Staci,Steven...

I have not seen replys from others yet, however its early days, what i find is, if one has mail bounced, that means a mail was sent to you and your ISP/your mailserver refused the mail, then your mail address goes on the bounces list, after X amount of retrys and the mail is not accepeted by your ISP or you directly, then your off the list, this i belive is normall practice on just about all mailing listes.

Signature · 6 lines
 11:49pm  up  1:37,  1 user,  load average: 0.18, 0.21, 0.14
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#5 lore raw
Quoted 3 lines · Petre Bandac

richard,

just for my general knowledge, would you please define "mail-bouncing" ?

I meant as bouncing, when a system "refuses" to accept a mail, as in disk full no space left on device,
mail filters, reject mail from xx.xx.xx

On the otherhand a mailing list as this has "majordomo" as its sevewr, one can define things like.
rejected mail, then place the receiprent in a "bounce list", after X amount of tries and we cant sent the mail, "unsubscribe" the reciprient.

Quoted 5 lines

K-Mail has this command when right-clicking on an e-mail and I have also seen many e-mails coming from some mailing-lists have in the sender's address "bounce" too [sendmail[8113]: g4JHwLG08113:
from=<[email protected]>]

Yes it does but that is not what i meant about bounces on a mailing list.

Quoted 29 lines

thanks,

petre

On Sunday 19 May 2002 23:45, Richard Adams wrote using one of his keyboards:

Quoted 24 lines · Marco Calistri
Quoted 9 lines · On 19-May-2002 Staci wrote:
Quoted 8 lines

Not dead, just sleeping. ;)

It seems a lot of things don't apply to me, they're either too high-level or to basic, or involve hardware/needs I don't have. <shrug>

sl

Quoted 7 lines
Quoted 2 lines
Quoted 1 line · --- Marco Calistri

Hi,this list seems dead...

I'm replying to the list after my "usual" unsubscribe/resubscribe due to vger "automatic user wiper"

Thanks Ray,Richard,Staci,Steven...

I have not seen replys from others yet, however its early days, what i find is, if one has mail bounced, that means a mail was sent to you and your ISP/your mailserver refused the mail, then your mail address goes on the bounces list, after X amount of retrys and the mail is not accepeted by your ISP or you directly, then your off the list, this i belive is normall practice on just about all mailing listes.

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#6 lore raw

tar question (was Re: nomore newbies??)

In reply to Marco Calistri

I'm trying to copy a directory tree from one mounted hard disk to another. I want to copy the contents of a directory named "backups" on a secondary SCSI HD to one of the same name on an external USB mass storage device.

The source is /mnt/sdb1/storage/backups
The target is /mnt/mirror/storage/

Root changes to the source "backups" directory and runs the following:

    tar cf - . | (cd ../../../mirror/storage/backups tar xvf -) 
    ./  

Nothing happens. No error message about not being able to navigate the path to find the directory, no sound of disk activity, no resulting files.

So I tried:

tar -l -cpf - /mnt/sdb1/storage/backups | tar -C /mnt/mirror/storage/backups -pxf -

This did create a backup, but reproduced the path (/mnt/mirror/ storage/backups/mnt/sdb1/storage/backups) and gave me a lot of errors about not being able to copy symlinks and early on some errors about not being able to reproduce ownership. When I try to reduce the source to ".", tar complains about the empty source.

Haines Brown

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#7 lore raw

Re: tar question (was Re: nomore newbies??)

Quoted 11 lines · Haines Brown

I'm trying to copy a directory tree from one mounted hard disk to another. I want to copy the contents of a directory named "backups" on a secondary SCSI HD to one of the same name on an external USB mass storage device.

The source is /mnt/sdb1/storage/backups
The target is /mnt/mirror/storage/

Root changes to the source "backups" directory and runs the following:

Quoted 6 lines
    tar cf - . | (cd ../../../mirror/storage/backups tar xvf -)
    ./

Nothing happens. No error message about not being able to navigate the path to find the directory, no sound of disk activity, no resulting files.

You are piping tar -cf - into cd, which does nothing with it and writes an empty stdout.

Quoted 6 lines

So I tried:

tar -l -cpf - /mnt/sdb1/storage/backups | tar -C /mnt/mirror/storage/backups -pxf -

Quoted 8 lines

This did create a backup, but reproduced the path (/mnt/mirror/ storage/backups/mnt/sdb1/storage/backups) and gave me a lot of errors about not being able to copy symlinks and early on some errors about not being able to reproduce ownership. When I try to reduce the source to ".", tar complains about the empty source.

Haines Brown

Feel free to use tartar (I keep one in /usr/local/bin):

#!/bin/bash
tar -C "$1" -cOl . | tar -C "$2" -xpf -

This requires the destination directory exists, but it will do what you want, I think, if invoked:

[mkdir /mnt/mirror/storage/backups]
tartar /mnt/sdb1/storage/backups /mnt/mirror/storage/backups

tar copies any directories named in the place it expects directories, but not those named in -C dir.

Lawson
---oops---

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#10 lore raw

Re: tar question

In reply to Haines Brown
Quoted 4 lines

Date: Sun, 19 May 2002 19:09:14 -0400
From: Haines Brown <[email protected]>
Subj: tar question (was Re: nomore newbies??)

(snip)

Quoted 8 lines

I'm trying to copy a directory tree from one mounted hard disk to another. I want to copy the contents of a directory named "backups" on a secondary SCSI HD to one of the same name on an external USB mass storage device.

The source is /mnt/sdb1/storage/backups
The target is /mnt/mirror/storage/

(snip)

Quoted 4 lines

Root changes to the source "backups" directory and runs the following:

    tar cf - . | (cd ../../../mirror/storage/backups tar xvf -) 

^^^^
semicolon missing ----^

If I see it correctly, what you are trying to do is to tar the files in the source directory, copy it to the destination directory, and then untar it. The question is why are you simply tar'ing without any compression?

You should probably consider using the -z option (or --gzip) or -j (--bzip) option.

Probably,

# s=/mnt/sdb1/storage/backups
# d=/mnt/mirror/storage

# cd $s
# tar cvjf - . | (cd $d; tar xjf -)

(or)

# tar cvzf - . | (cd $d; tar xzf -)

HTHs

anna

Signature · 12 lines
(12) One  of  my  advisors  will be an average five-year-old child. Any
     flaws  in my plan that he is able to spot will be corrected before
     implementation. - Peter Anspach in "The Top 100 Things I'd Do If I 
     Ever Became An Evil Overlord"

                                            http://www.eviloverlord.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#8 lore raw

Re: tar question (was Re: nomore newbies??)

In reply to [email protected]

Lawson,

The "tartar" script worked very nicely to copy a directory on one drive to another drive, thanks!

Quoted 2 lines

#!/bin/bash
tar -C "$1" -cOl . | tar -C "$2" -xpf -

However, I ran into a lot of ownership and permission errors, and so these were often not preserved. This shifts the issue from tar to permissions, but perhaps I can sneak it in here because it does bear on setting up a backup.

My guess is that I need to give user write permission to /mnt/mirror if I am to preserve user's ownership and permissions. Root can give that permission, but when the mount point is mounted, the permissions automagically revert to rwxr-xr-x.

I'm mystified. The cause might well be in /etc/fstab. The relevant line is:

     /dev/sdc1	/mnt/mirror	ext2	noauto,user

I find that my mounting the primary partition of the external mass storage device, I have access to all its partitions. But only root can write to them.

Haines Brown

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#9 lore raw

Re: tar question (was Re: nomore newbies??)

Quoted 13 lines · Haines Brown

Lawson,

The "tartar" script worked very nicely to copy a directory on one drive to another drive, thanks!

Quoted 2 lines

#!/bin/bash
tar -C "$1" -cOl . | tar -C "$2" -xpf -

However, I ran into a lot of ownership and permission errors, and so these were often not preserved. This shifts the issue from tar to permissions, but perhaps I can sneak it in here because it does bear on setting up a backup.

Quoted 4 lines

My guess is that I need to give user write permission to /mnt/mirror if I am to preserve user's ownership and permissions. Root can give that permission, but when the mount point is mounted, the permissions automagically revert to rwxr-xr-x.

Huh? Read man mount, DESCRIPTION.

This tells the kernel to attach the file system found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this file system remains

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

^^^^^^^^^^

mounted, the pathname dir refers to the root of the file system on device.

An ext2 filesystem has an owner and permissions of its own. These are not affected by the permissions of the mount point. You can't change them when it's not mounted. Well, not with chown and chmod, anyway. Mount it and chown -R/chmod -R it or rm -rf /mnt/mirror/storage/backups #mkdir /mnt/mirror/storage/backups
#chown user /mnt/mirror/storage/backups
(or chmod or chgrp or however you like to manage this thing). and do the tartar again. It should preserve permissions then.

Quoted 4 lines

I'm mystified. The cause might well be in /etc/fstab. The relevant line is:

Quoted 8 lines
     /dev/sdc1	/mnt/mirror	ext2	noauto,user

I find that my mounting the primary partition of the external mass storage device, I have access to all its partitions. But only root can write to them.

Haines Brown

Lawson
---oops---

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs