Michael L. Squires | 1 Sep 2005 01:21

Re: moving everything except a directory

I use

tar cvf /<directory with a lot of space>/<my name>.tar 1 3 4 5 6 7 8 9 10
cd <new directory>
tar xvf /<directory with a lot of space>/<my name>.tar

I usually do

cd <original directory>
find . ! -type d -print > files.txt
vi files.txt - edit out files I don't want
tar cvfT /<dir with space>/<orig name>.tar files.txt
cd <new directory>
tar xvf /<dir with space>/<orig name>.tar

which lets me copy files beginning with "." in the root of the directory 
(tar will skip these in the root, copies them in subdirectories).

You also have to worry about permissions if there are executables or files 
you don't own in the directory.

There are much neater ways of doing this, but this method leaves a backup 
copy in the tar file.

Mike Squires

On Fri, 30 Sep 2005, Brian John wrote:

> Say I am at ~ and I have 10 directories inside named 1, 2, 3, 4 ,5, 6, 7, 8, 
> 9 and 10.  What command can I use to move everything but directory 2?  What 
(Continue reading)

Sean | 1 Sep 2005 03:53
Picon

Re: linux compatiblility

Frank Ruffolo wrote:
> hello, after setting up linux emulations (fbsd 5.4), i get this error when trying to launch my linux binary:
> 
> linux: pid 17462 (pvx): ioctl fd=1, cmd=0x5409 ('T', 9) is not implemented
> 
> any ideas?
> 
> thx
> //frank
> 
> BBQ Season is now upon us! 
> 
> Come and join us every Wednesday  <at> 12pm throughout the summer. Every BBQ will have a different Supplier Rep
& Product Display.
> 
> 
> http://www.jomarelectric.com
> _______________________________________________
> freebsd-questions <at> freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"
> 
Did you make the entry into fstab and rc.conf?
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Kenny Sanders | 1 Sep 2005 04:31

BIND9.3.1

Hello,

I was wondering if anyone could point me in the right direction on how 
to re-create the chroot environment for Bind 9.3.1 in FreeBSD 
5.4-STABLE. I had an admin carelessly delete the /var/named directory 
(not a production box though) and I am trying to find a way to recreate 
this environment.

Also, I noticed that the port (/usr/ports/dns/bind9 - also the binary 
package from the mirrors) do not recreate /etc/namedb/ with the 
configuration files as well.

Thanks,
-kenny
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Kevin Kinsey | 1 Sep 2005 05:45

Re: mail

John Larson wrote:

>how do I make mail read the mail. I can read mail
>using mail -f mail. mail being a file that is created
>when mail is sent to a specific user. I have set the
>folder in the home directory .mailrc. what other
>changes do I need to make.
>John Larson
>
>  
>

With my tongue only 2/3rds of the way in my cheek,
based on the subject line of all your posts this month, ;-)
I'm going to suggest either one of:

1.  Go to Yahoo.com and click "Free mail: sign up"
(a wimp's way, dare I say? ;-)    [Hmm, I guess I
should have taken notice of your e-mail address
before I said that.  Nothing personal*, believe me....]

or:

2.  Perform the following, as root.

# cd /usr/ports/mail/mutt
# make install clean
# rehash
# echo "alias mail mutt" >> ~/.cshrc
# source ~/.cshrc
(Continue reading)

Graham North | 1 Sep 2005 07:56
Picon
Favicon

Support for SIS 760GX, and SIS 965L

Can anyone tell me whether FreeBSD stable currently supports these two 
chips.
North Bridge: SIS 760GX
South Bridge: SIS 965L

Asus seems to like them for its AMD barebones units.

Thanks, Graham/

--

-- 
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 8/31/2005
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"
lawins_clm | 1 Sep 2005 09:34
Picon

(no subject)

im a student who study computer science and do an assignment about ur freeBSD operating system...can i get
some information about file management of freeBSD? Hope ur can kindly help n send those details to
me....thanks here!!! If can, please send to me as fast as possible...

------------------------------
http://www.um.edu.my
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Jue Yuan | 1 Sep 2005 09:41
Picon

HP NC6000 with FB 5.4

Hello, everyone

I'm a newbie here and to FreeBSD. Just installed FB5.4 in my notebook less 
than two months. After a lot of stuff have been done, I now can use my 
laptop 
with FB5.4+KDE3.4.2 as smoothly as using Windows before, even more 
efficiently^_^

But there is still some problems that I do want to fix in order to make my 
NB 
look more perfect. The question is: Can I use all of the buttons in my NB, 
say the Mute button, the Volume control buttons, and Wireless ON/OFF button.
Although I can already control the volume of my soundcard and connect to 
wireless lan using the wireless NIC, I still want these buttons to work, 
just 
as in Windows.

Does anyone know how to deal with this? Any suggestion will be appreciated!
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Casper | 1 Sep 2005 09:56
Picon

FreeBSD 5.4 router with pf nat, bug?


  Hi,

  I have 5.4-RELEASE-p6 test router and I wanted to do all routing/fw 
with pf, to learn more pf...
I have added to kernel options:
device pf
device pflog
device pfsync
options ALTQ

Setuped jails with 172.22.x.x address and local network I have 
192.168.x.x addreses...

ifconfig rl0 is real ip and maped jails... rl1 is internal network...

/etc/pf.conf now looks like:
---------------------------------------------
ext_if="rl0"
int_if="rl1"

set state-policy if-bound
set loginterface $ext_if

scrub reassemble tcp fragment reassemble

nat on $ext_if from 172.1.1.1/8 to any -> ($ext_if)
nat on $ext_if from 192.168.1.1/8 to any -> $ext_if

rdr on $ext_if proto tcp from any to 159.148.155.14 port 8080 -> 
(Continue reading)

kalin mintchev | 1 Sep 2005 09:50

disk error?

hi all...

suddenly today out of nowhere this happens (log below) and now i get
vchkpw core dumps every few minutes or so. vchkpw is authorization module
for vpopmail...  does this mean the disk where vpopmail lives - ad2 - is
already craping up?!....  thanks...

here is the log:

Aug 31 22:53:33 chavo /kernel: ad2: READ command timeout tag=0 serv=0 -
resetting
Aug 31 22:53:33 chavo /kernel: ata1: resetting devices .. done
Sep  1 00:36:22 chavo /kernel: ad2: READ command timeout tag=0 serv=0 -
resetting
Sep  1 00:36:22 chavo /kernel: ata1: resetting devices .. done
Sep  1 01:12:42 chavo /kernel: ad2: READ command timeout tag=0 serv=0 -
resetting
Sep  1 01:12:42 chavo /kernel: ata1: resetting devices .. done
Sep  1 01:49:54 chavo /kernel: ad2: WRITE command timeout tag=0 serv=0 -
resetting
Sep  1 01:49:54 chavo /kernel: ata1: resetting devices .. done
Sep  1 01:52:12 chavo /kernel: ad2: WRITE command timeout tag=0 serv=0 -
resetting
Sep  1 01:52:12 chavo /kernel: ata1: resetting devices ..
Sep  1 01:52:12 chavo /kernel: ad2: removed from configuration
Sep  1 01:52:12 chavo /kernel: ad3: removed from configuration
Sep  1 01:52:12 chavo /kernel: done
Sep  1 01:53:02 chavo /kernel: handle_workitem_freeblocks: block count Sep
 1 01:54:04 chavo /kernel: handle_workitem_freeblocks: block count Sep  1
01:55:37 chavo last message repeated 2 times
(Continue reading)

Robert Slade | 1 Sep 2005 09:08

Re: Proliant 5000 sever Fbsd 5.4 (re)boot problem RESOLVED

On Wed, 2005-08-31 at 17:26, Robert Slade wrote:
> On Wed, 2005-08-31 at 00:21, Vizion wrote:
> > On Tuesday 30 August 2005 13:31,  the author Robert Slade contributed to the 
> > dialogue on-
> >  Re: Proliant 5000 sever Fbsd 5.4 (re)boot problem: 
> > 
> > >On Tue, 2005-08-30 at 21:20, Vizion wrote:
> > >> On Tuesday 30 August 2005 13:22,  the author Robert Slade contributed to
> > >> the dialogue on-
> > >>
> > >>  Re: Proliant 5000 sever Fbsd 5.4 (re)boot problem:
> > >> >On Tue, 2005-08-30 at 20:10, Vizion wrote:
> > >> >> On Tuesday 30 August 2005 12:05,  the author Robert Slade contributed
> > >> >> to the dialogue on-
> > >> >>
> > >> >>  Proliant 5000 sever Fbsd 5.4 (re)boot problem:
> > >> >> >Hiya,
> > >> >> >
> > >> >> >I've been working on this beasty on and off for some time. It's a Quad
> > >> >> >processor 1 Gbyte of memory and 5 scsi drives using the 2p raid
> > >> >> >controller setup as 2 raid arrays + 1 spare.
> > >> >> >
> > >> >> >The machine works fine with 5.4 release #0 with the supplied generic
> > >> >> >kernel.
> > >> >> >
> > >> >> >The problem(s) I have been having are:
> > >> >> >
> > >> >> >1. When I recompiled the Kernel with SMP support, I get random
> > >> >> > reboots. It also fails to boot sometimes failing at the point after
> > >> >> > waiting for the scsi drives to settle. I get some error codes and
(Continue reading)


Gmane