Re: shellscript conditional to check for external disk

2008-06-22 Thread Wojciech Puchar
Hello List, I need to write a backup script, and one of the required actions would be a copy of the backup to an external firewire drive. I would like to make this as easy as possible for the local staff, so i'd like to check whether the drive is attached, if necessary mount it, copy over the

Re: shellscript conditional to check for external disk

2008-06-22 Thread Roland Smith
On Sun, Jun 22, 2008 at 12:22:07AM +0100, RW wrote: On Sun, 22 Jun 2008 00:47:31 +0200 Roland Smith [EMAIL PROTECTED] wrote: Use glabel(8) to give the device an unique label. There is no telling which device /dev/da0s1d is pointing to! After labeling you can check for

Re: shellscript conditional to check for external disk

2008-06-22 Thread Roland Smith
On Sat, Jun 21, 2008 at 06:06:17PM -0500, Tim Daneliuk wrote: Use glabel(8) to give the device an unique label. There is no telling which device /dev/da0s1d is pointing to! After labeling you can check for /dev/fstype/yourlabel, which should be unique. Make sure to unmount the drive at

rndc issues

2008-06-22 Thread Victor
# rndc reload rndc: connection to remote host closed This may indicate that the remote server is using an older version of the command protocol, this host is not authorized to connect, or the key is invalid. I have tried regenerating the key file and have edited named.conf and rndc.conf several

Re: shellscript conditional to check for external disk

2008-06-22 Thread RW
On Sun, 22 Jun 2008 11:13:15 +0200 Roland Smith [EMAIL PROTECTED] wrote: On Sun, Jun 22, 2008 at 12:22:07AM +0100, RW wrote: On Sun, 22 Jun 2008 00:47:31 +0200 Roland Smith [EMAIL PROTECTED] wrote: Use glabel(8) to give the device an unique label. There is no telling which device

Re: shellscript conditional to check for external disk

2008-06-22 Thread Camilo Reyes
You can use /var/log/messages to check for the existence of an external drive through a series of grep commands. Here is my log output when I insert/remove a USB drive: Jun 22 11:44:49 Christi kernel: umass0: SanDisk Corporation Cruzer Mini, class 0/0, rev 2.00/0.10, addr 2 on uhub4 Jun 22

Re: shellscript conditional to check for external disk

2008-06-22 Thread Wojciech Puchar
Jun 22 11:44:49 Christi kernel: umass0: SanDisk Corporation Cruzer Mini, class 0/0, rev 2.00/0.10, addr 2 on uhub4 Jun 22 11:44:49 Christi root: Unknown USB device: vendor 0x0781 product 0x5150 b us uhub4 Jun 22 11:44:49 Christi kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 22 11:44:49

linux-quake4 (short and sweet, again)

2008-06-22 Thread Gonzalo Nemmi
Has anyone been able to get linux-quake4 working on FBSD7.0-REL? Useful info: [EMAIL PROTECTED] ~]% uname -rsim FreeBSD 7.0-RELEASE i386 GENERIC [EMAIL PROTECTED] ~]% sysctl -a | grep linux hw.snd.compat_linux_mmap: 0 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.16

Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread dhuang2
Hi: I have make some changes to the kernel files and rebuild the kernel, but when I rebuild the kernel, it show some errors and stop rebuild. The question I want ask is that: Is there any file that store all these error message, If there is, where can I find it? Because there are too many errors

Re: FreeBSD as VOIP PBX

2008-06-22 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sergio lenzi wrote: Em Sex, 2008-06-20 às 21:45 +0200, Wojciech Puchar escreveu: when i connected 56 cisco phones to my laptop (used 4*16 port switches ;), and having all of them working (called from first to second, from third to fourth

Re: Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: Hi: I have make some changes to the kernel files and rebuild the kernel, but when I rebuild the kernel, it show some errors and stop rebuild. The question I want ask is that: Is there any file that store all these error

Re: Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread Gonzalo Nemmi
On Sunday 22 June 2008 15:03:33 [EMAIL PROTECTED] wrote: Hi: I have make some changes to the kernel files and rebuild the kernel, but when I rebuild the kernel, it show some errors and stop rebuild. The question I want ask is that: Is there any file that store all these error message, If

Re: Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread Gonzalo Nemmi
On Sunday 22 June 2008 15:17:56 Chuck Robey wrote: make | tee makeout where the complete ooutput goes into the makeout file. The there doesn't take it's normal meaning of throwing the task into the background, instead, what it does is to capture both the regular output plus the stderr

Re: Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonzalo Nemmi wrote: On Sunday 22 June 2008 15:17:56 Chuck Robey wrote: make | tee makeout where the complete ooutput goes into the makeout file. The there doesn't take it's normal meaning of throwing the task into the background, instead,

xfce on amd64 not working

2008-06-22 Thread Kurt Buff
All, My (relatively) newly purchased Thinkpad T61 (type 7658-CTO) with 4g RAM is running 7.0-STABLE amd64 from June 8. I've gotten Xorg running from a generic xorg.conf generated by 'Xorg -configure', with startx, but when starting XFCE4 with xtartxfce, it is not happy, and bombs out, leaving a

difference between loading kernel module during boot and after boot manually?

2008-06-22 Thread Vincent Barus
Hi everybody, is there a difference between loading a kernel module during the boot process and loading a module manually after the login? I'm asking this on a general basis and because of pr: kern/123563. I don't know if it's a problem with if_re because I can't find someone out on the net

Re: xfce on amd64 not working

2008-06-22 Thread Kurt Buff
On Sun, Jun 22, 2008 at 3:31 PM, Matthew Donovan [EMAIL PROTECTED] wrote: On Sun, Jun 22, 2008 at 02:48:45PM -0700, Kurt Buff wrote: All, My (relatively) newly purchased Thinkpad T61 (type 7658-CTO) with 4g RAM is running 7.0-STABLE amd64 from June 8. I've gotten Xorg running from a generic

Quotation Needed...

2008-06-22 Thread Andrian Cole
Greetings, I want to sell some puppy and I want to list the ad in your newspaper. Below is the text of the ad: CUTE ENGLISH BULLDOGS, PURE BREED, MALE AND FEMALES AVAILABLE WITH PICTURES, 10 WEEKS, PRICE $650 (SHIPPING INCLUDED), FOR MORE DETAILS,

Re: xfce on amd64 not working

2008-06-22 Thread Matthew Donovan
On Sun, Jun 22, 2008 at 02:48:45PM -0700, Kurt Buff wrote: All, My (relatively) newly purchased Thinkpad T61 (type 7658-CTO) with 4g RAM is running 7.0-STABLE amd64 from June 8. I've gotten Xorg running from a generic xorg.conf generated by 'Xorg -configure', with startx, but when

please don't shoot me , but... [YAOTP]

2008-06-22 Thread Gary Kline
people, yes, this is yet another off-topic post,, but 1) i can't find where to post on the GIMP list [or forum], 2), can't find anything that makes sense to my way of thinking. how, oh how, do i use these gimp 'layers'?? 2 uses for them. 1st is to create the string jottings.thought.org in a

core Dumb during CVSUP

2008-06-22 Thread Warren Liddell
I have up untill recently been able to do cvsup np's at all, now all of a sudden it core dumps, any thoughts welcome.. Connecting to cvsup.au.freebsd.org Connected to cvsup.au.freebsd.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information

Help me to building of ppp.conf file

2008-06-22 Thread Miguel Vásquez .
Hi all. I want adapt my Internet service to FreeBSD 7.0, and I need to building the etc/ppp/ppp.conf file, but, I do not have much experience in FreeBSD, Can you Help me? I have a Windows XP file, maybe, it is useful as example. I hope, you can help me. Note: My English is not good, i speak

Re: please don't shoot me , but... [YAOTP]

2008-06-22 Thread Sahil Tandon
Gary Kline [EMAIL PROTECTED] wrote: yes, this is yet another off-topic post,, but 1) i can't find where to post on the GIMP list [or forum], 2), can't find anything that makes sense to my way of thinking. how, oh how, do i use these gimp 'layers'?? [...] Your initial intuition was spot

Webmin 1.370_2 weird Error

2008-06-22 Thread Ruel Luchavez
Hi MailingList, I have install a webmin 1.370_2 in my VM freebsd server, the installation had no problem but when i view the UI (in my browser i type 192.168.23.248:1) of my webmin, I have these weird problem in front of the page of my webmin: /usr/local/lib/webmin/mount/freebsd-mounts-5.c:

Re: Portsnap behind proxy squid not update

2008-06-22 Thread Edgardo Nuevo
I have a proxy (squid) that gives Internet to a set of pcs, one of them is a FreeBSD 6.2, when wanting to upgrade ports ( portsnap fetch) gives me the messages following: PC1 # fetch portsnap Did you mean (and actually type) 'portsnap fetch'? I wrong to write But I fail to upgrade

shared object libc.so.6 not found after freebsd-update

2008-06-22 Thread FT
I was using freebsd-update to upgrade from 6.2 to 7.0-RELEASE. The upgrade and install of the kernel went fine, then I reran freebsd-update after rebooting to get the userland stuff. Midway through installing updates, I got the error: Installing updates.../libexec/ld-elf.so.1: Shared

Re: shared object libc.so.6 not found after freebsd-update

2008-06-22 Thread David Gurvich
Hello, I'm not certain of the following. I think you needed to update to 6.3 first and after the first update, install compat6x. Regardless, you may be able to recover by doing 'freebsd-update rollback'. That will undo the most recent changes and hopefully get you a working system.

Patch Failures during Portupgrade

2008-06-22 Thread Warren Liddell
Below is the hunk of ports that continually fail to upgrade due to problems with patching. i use the command portupgrade -aDkp -m BATCH=yes Any assistance with this greatly appreciated. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! lang/ruby18 (ruby-1.8.6.111_1,1) (patch

Re: Which file can I find the error message that shows on the screen when I build my kernel?

2008-06-22 Thread Matthew Seaman
Chuck Robey wrote: For along time, used only tcsh, under the mistaken belief that you couldn't redirect stderr for piping, under a sh-like shell, but about 6 months ago, I found out how to do that. If you would rather use a sh-like shell (maybe you'd be one of the bash-aficionados?) tell me,