Re: moving /var/mail to another machine

2005-05-24 Thread James Skinner

Chad Leigh -- Shire.Net LLC wrote:



On May 24, 2005, at 6:40 PM, Chad Leigh -- Shire.Net LLC wrote:



On May 24, 2005, at 5:24 PM, Lisa Casey wrote:



Hi,

I want to move all of the mailboxes (all of /var/mail/*) on one  
machine to another one across a network. I need to preserve  
permissions, uid's and gud's. (It would probably be good to  
preserve modification times as well). I can move a file using scp,  
but it doesn't preserve uid/gid





Can't you  just do

cd /var/mail
tar cpf /tmp/var_mail.tar *

scp /tmp/var_mail.tar [EMAIL PROTECTED]:

ssh to the new host

cd /var/mail
rm -rf *# if you want to clean out the existing /var/mail on  the 
new machine

tar xpf ~user:var_mail.tar



sorry  typo above

should be

tar xpf ~user/var_mail.tar

Chad





Chad

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


you need to use tar-cvpf /usr/local/archive.tar /var/mail to preserve 
the permissions. then, youre cool.


Jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moving /var/mail to another machine

2005-05-24 Thread James Skinner

Garance A Drosihn wrote:


At 7:24 PM -0400 5/24/05, Lisa Casey wrote:


Hi,

I want to move all of the mailboxes (all of /var/mail/*) on one
machine to another one across a network. I need to preserve
permissions, uid's and gud's. (It would probably be good to
preserve modification times as well). I can move a file using
scp, but it doesn't preserve uid/gid



Check the port named net/rsync .  You can sync a directory from
one machine to another over ssh by using it.

You could also tar it with -p. which would preserve the permissions, and 
then scp it, but rsync is probably a  better idea.


James

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Knoppix-like FreeBSD-on-a-CD?

2004-11-10 Thread James Skinner
Erik Norgaard wrote:
Paul Hoffman wrote:
 

Sorry if I'm missing something obvious, but is there a FreeBSD-on-a-CD
project similar to Knoppix for Linux?
   

Yes: FreeBSIE www.freesbie.org, and I think another project called
FreeBSD Live or similar.
Cheers, Erik
 

Yeah, there's this as well:
http://livecd.sourceforge.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Knoppix-like FreeBSD-on-a-CD?

2004-11-10 Thread James Skinner
Paul Hoffman wrote:
Sorry if I'm missing something obvious, but is there a FreeBSD-on-a-CD 
project similar to Knoppix for Linux?

--Paul Hoffman

[EMAIL PROTECTED]"

http://www.freesbie.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dummynet

2004-10-28 Thread James Skinner

> In a message dated 10/28/04 12:52:14 PM Eastern Daylight Time,
> [EMAIL PROTECTED] writes:
>>>Funny, I thought that's what Dummynet did.  It seems that you wouldn't
>>want to steer a user into a horribly overpriced closed-source
>>rate-limiting solutuion when it's available for free in the OS.
>
>>BTW: Nice email addr. ;)
> 
> Ah, but its not really "available" for free, because the free ones don't
> work
> well, aren't supported and don't scale. Plus it seems that unless you
> value your time at $2./hr its already cost you more than the $800. to try
> to
> use the "free" stuff. Are you planning on completely rewriting it yourself
> using dummynet as the code base? What good is open source if
> the entire code base is nowhere near as good as what you can buy?
> You would really struggle with an inadequate open source solution
> rather than pay for something that works?


> And I wouldn't talk about email addresses, mr "so liberal I can't function
> normally in society". AOL buffers the 99% of mails I have no interest in
> reading, I can just block the domains of lists I dont feel like dealing
> with at any given time without having to unsubscribe and subscribe,
> and it uses no disk space or bandwidth in the process. Its ideal (except
> for the darned reader).
>
>
> TM
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

I agree with some of that, but unless the person has the money to spend,
then using dummnynet is acceptable. Not everyone can drop 10+ grand on a
nokia firewall that has everything packaged into a nice gui.

Regarding the email addr:

If you look further, you'll the wink (I was ribbing you). Similar to
another  one of threads. Obviously, you can dish it out, but can't take
it. I have seen your past replys; you offer nothing but abuse. Do you sit
around and wait for a newbie to ask a question so you can make him/her
feel stupid for asking it?

Thx

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dummynet

2004-10-28 Thread James Skinner

> Why don't you guys stop torturing yourself and wasting $1000s worth
> of your time and get yourself some real bandwidth management
> software? Its cheaper in the long run.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

Funny, I thought that's what Dummynet did.  It seems that you wouldn't
want to steer a user into a horribly overpriced closed-source
rate-limiting solutuion when it's available for free in the OS.

BTW: Nice email addr. ;)



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installer

2004-10-12 Thread James Skinner
Sorry about that (not really), but Mac Mail places the reply at the 
top. Maybe I should use a Leet mail prog like yourself.


On Oct 12, 2004, at 6:08 PM, Jerry McAllister wrote:

Geez, another top poster who mangles the flow of the thread!!
jerry
Personally, I think the FreeBSD install is incredibly simple. It 
really
could not be easier, but if you want one that is, try DragonFlyBSD. 
The
install of that is very, very simple, but you may run into issues with
certain software packages.

Jamie
On Oct 12, 2004, at 5:45 PM, Jerry McAllister wrote:
Dear Friends : I'm a Linux user since 1,999 and I'm really 
interested
in
start FreeBSD. OK, it's a new system, different versions and so on. 
My
experience with computers started with Basic, after MS-DOS, Windows
and
Linux. When I tried Linux, 5 years-ago, partitions, kde, window 
maker
and many of them, were only words. My first fear, was erase my HD. I
did
it many times, but I knew how to start again or recover. I'm writing
these things, cause in these years using Linux, I saw a big 
evolution
,
specially the installer. Mandrake, Red Hat, Fedora, Slackware and
another, made a goob job and you can do it , almost without 
problems.
But, when I tried FreeBSD installer, I remembered Debian, the worst
installer ! Probably another distributions, like Knoppix, Kurumin ,
Gnoppix to name a few, trying to make the life user easiest ! My 
first
experience with FreeBSD, was 5.0, with a PC Master, brazilian
magazine.
After many tries, a XFree86 error, when I typed startx, disappointed
me
again and, I forgot it... On the last month, I downloaded the 2 CDs,
5.2.1, and, the same installer, errors, infinite loops... very
disappointing ! I tried many lists, and with some support,to resolve
or
not, the problems. Again, I format my system and, here I am, with
Windows (mainly for games and a problematic usb scanner) and Linux. 
I
need a more stable system. Many people talked me very good about
FreeBSD. For me, until now , the biggest deception ! Please, I don't
know the FreeBSD objectives, but if you would like that more and 
more
people can use it, CHANGE this installer. Confuse , in one word !
Disappointing ! I tried standard, express, custom , all packages,
minimum, all kind of ways... I can't understand a looped install.
Almost
2 hours after, an error... My video card is recognized , but when 
you
did post-install, not ! You tried many XFrre86 configs and not
When
something happens and finally you can start KDE or GNOME or another,
DHCP don't run and so on. Please change this installer and trying to
better hardware and network configuration ! Until this, I'll never
tried
FreeBSD again ! Sincerely, Newton - Curitiba - Brazil
The nice thing about the installer is that it works.
Too bad you will be cutting yourself off from a good system
because you will not take the time to learn it.
You miss so much in life.
jerry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installer

2004-10-12 Thread James Skinner
Personally, I think the FreeBSD install is incredibly simple. It really 
could not be easier, but if you want one that is, try DragonFlyBSD. The 
install of that is very, very simple, but you may run into issues with 
certain software packages.

Jamie
On Oct 12, 2004, at 5:45 PM, Jerry McAllister wrote:
Dear Friends : I'm a Linux user since 1,999 and I'm really interested 
in
start FreeBSD. OK, it's a new system, different versions and so on. My
experience with computers started with Basic, after MS-DOS, Windows 
and
Linux. When I tried Linux, 5 years-ago, partitions, kde, window maker
and many of them, were only words. My first fear, was erase my HD. I 
did
it many times, but I knew how to start again or recover. I'm writing
these things, cause in these years using Linux, I saw a big evolution 
,
specially the installer. Mandrake, Red Hat, Fedora, Slackware and
another, made a goob job and you can do it , almost without problems.
But, when I tried FreeBSD installer, I remembered Debian, the worst
installer ! Probably another distributions, like Knoppix, Kurumin ,
Gnoppix to name a few, trying to make the life user easiest ! My first
experience with FreeBSD, was 5.0, with a PC Master, brazilian 
magazine.
After many tries, a XFree86 error, when I typed startx, disappointed 
me
again and, I forgot it... On the last month, I downloaded the 2 CDs,
5.2.1, and, the same installer, errors, infinite loops... very
disappointing ! I tried many lists, and with some support,to resolve 
or
not, the problems. Again, I format my system and, here I am, with
Windows (mainly for games and a problematic usb scanner) and Linux. I
need a more stable system. Many people talked me very good about
FreeBSD. For me, until now , the biggest deception ! Please, I don't
know the FreeBSD objectives, but if you would like that more and more
people can use it, CHANGE this installer. Confuse , in one word !
Disappointing ! I tried standard, express, custom , all packages,
minimum, all kind of ways... I can't understand a looped install. 
Almost
2 hours after, an error... My video card is recognized , but when you
did post-install, not ! You tried many XFrre86 configs and not 
When
something happens and finally you can start KDE or GNOME or another,
DHCP don't run and so on. Please change this installer and trying to
better hardware and network configuration ! Until this, I'll never 
tried
FreeBSD again ! Sincerely, Newton - Curitiba - Brazil
The nice thing about the installer is that it works.
Too bad you will be cutting yourself off from a good system
because you will not take the time to learn it.
You miss so much in life.
jerry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: order of starting services at boot?

2004-08-10 Thread James Skinner
Yeah. I guess that ipfw isn't started like that. Durr. I didn't reallt read
the original post.

--
James S.

- Original Message - 
From: "Dan Nelson" <[EMAIL PROTECTED]>
To: "Duane Winner" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 2004 6:30 PM
Subject: Re: order of starting services at boot?


> In the last episode (Aug 10), Duane Winner said:
> > Can anybody explain to me how FreeBSD 5.2.1 controls the start order
> > of the scripts in /etc/rc.d ?
> >
> > I've looked all over and am having trouble gleening what controls this.
>
> The rc manpage explains rc.d/ and the magic keywords used inside its
> scripts.
>
> > For instance, if I would like to start ipfw before dhclient (right
> > now dhclient starts, then ipfw starts), how would I accomplish this?
>
> Add "ipfw" to dhclient's REQUIRE line.  This change was made to
> -current, so when 5.3 ships it'll already do what you want :)
>
> -- 
> Dan Nelson
> [EMAIL PROTECTED]
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: order of starting services at boot?

2004-08-10 Thread James Skinner
Just number them like so:

[EMAIL PROTECTED] ls -l /usr/local/etc/rc.d/
total 32
-r-xr-xr-x  1 root  wheel   248 Oct  6  2003 010.pkgtools.sh
-rwxr-x--x  1 root  wheel   391 Jan 28  2004 020.xinetd.sh
-r-xr-xr-x  1 root  wheel  1720 May 31 10:17 030.svscan.sh
-r-xr-xr-x  1 root  wheel   646 Jul  3 12:03 040.apache.sh
-rwxr-x---  1 root  wheel   549 Apr 17 11:23 050.mysql-server.sh
-rwxr-x---  1 root  wheel   181 Apr 17 11:55 055.mysql-client.sh
-r-xr-xr-x  1 root  wheel   756 Jun 29 14:26 060.snmpd.sh
lrwxr-xr-x  1 root  wheel44 May 31 14:46
075.courier-imap-imapd-ssl.sh ->
/usr/local/libexec/courier-imap/imapd-ssl.rc
lrwxr-xr-x  1 root  wheel40 May 31 14:59 080.courier-imap-imapd.sh ->
/usr/local/libexec/courier-imap/imapd.rc
-r-xr-xr-x  1 root  wheel  1853 May 28 12:29 100.squid.sh

--
James S.

- Original Message - 
From: "Duane Winner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 10, 2004 5:09 PM
Subject: order of starting services at boot?


> Hello,
>
> Can anybody explain to me how FreeBSD 5.2.1 controls the start order of
> the scripts in /etc/rc.d ?
>
> I've looked all over and am having trouble gleening what controls this.
>
> For instance, if I would like to start ipfw before dhclient (right now
> dhclient starts, then ipfw starts), how would I accomplish this?
>
> Thanks,
> Duane
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"