Re: Just wanted to say Thanks to Polytropon

2013-09-26 Thread Mike Jeays
On Thu, 26 Sep 2013 19:42:15 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:

 A few weeks ago I asked about mouse trails. Polytropon suggested xeyes. I 
 have found it excellent, and have had no trouble whatsoever with it.
 
 It has made my life so much easier. Thanks, Polytropon!
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I have to confess that when I first say xeyes on a Sun workstation over 20 years
ago, I thought it was a joke - just a demo of what could be done with 
X-Windows. I am
delighted to hear it has helped you so much, and no doubt many others. I was 
quite naive.

I see it has even been ported to (or rewritten for) Windows : 
http://www.steelblue.com/WinEyes/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dangerously dedicated physical disks.

2013-09-22 Thread Mike Jeays
On Sun, 22 Sep 2013 16:16:17 -
atar atar.yo...@gmail.com wrote:

 Hi there!!
 
 During the reading of the FreeBSD handbook, I've encountered at the term  
 'dangerously dedicated' regarding physical disks and the author of this  
 chapter in the FreeBSD handbook didn't think this term need more clarity.  
 so for newbies like me in the FreeBSD world I want to ask: what's the  
 'dangerously dedicated' term meaning by?
 
 Thanks in advance!
 
 atar.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Information is at this (very old) link. Not as scary as it sounds.

http://docs.freebsd.org/doc/2.2.6-RELEASE/usr/share/doc/FAQ/FAQ103.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: learn

2013-08-01 Thread Mike Jeays
On Thu, 1 Aug 2013 14:21:34 +0100 (BST)
Anton Shterenlikht me...@bris.ac.uk wrote:

 Date: Thu, 1 Aug 2013 14:29:25 +0200
 From: herbert langhans w...@langhans.com.pl
 To: freebsd-questions@freebsd.org
 Subject: Re: learn
 
 The handbook is a monster, even technically interested people get lost
 there. You know that, corebug.
 
 I completely disagree.
 
 The handbook is of excellent quality for a volunteer project.
 In particular, it is far ahead of any linux documentation
 effort I've seen. Indeed, it was the handbook that made me
 start using FreeBSD in the first place. In about 2003 I tried
 several linux distros, and got completely lost. The available
 documentation for linux, at least at that time, was not designed
 for a novice, certainly not at my level. In contrast, the
 FreeBSD handbook was very clear and allowed me to install
 and start using FreeBSD quickly and easily. This was version 4.9.
 
 Since then the quality of the handbook improved a lot.
 The handbook is certantly the first FreeBSD resource
 I would recommend to a FreeBSD novice.
 
 Anton
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Agreed - the handbook has been a great resource since I started using FreeBSD 
in 1997,
at version 2.2.something.

Greg Lehey's book The Complete FreeBSD is also excellent, and available as a 
free
download - although I am sure he would appreciate contributions or purchases.

http://www.lemis.com/grog/Documentation/CFBSD/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: UEFI Secure Boot

2013-07-08 Thread Mike Jeays
On Tue, 9 Jul 2013 02:31:40 +0200
Polytropon free...@edvax.de wrote:

 On Mon, 8 Jul 2013 16:21:28 + (UTC), jb wrote:
  I hope FreeBSD (and other OSs) luminaries, devs and users will find a way 
  not 
  to harm themselves.
 
 A massive problem I (personally) have is that with Restricted Boot
 (this is what Secure Boot basically is) you are no longer able
 to _ignore_ MICROS~1 and their products. A restrictive boot loader
 mechanism that requires signed and confirmed keys, handled by a
 major offender of free decisions and a healthy market - no thanks.
 What prevents MICROS~1 from revoking keys of a possible competitor?
 Or from messing with the specs just that things start breaking?
 
 Don't get me wrong: I don't even argument that a mechanism where
 a competitor requires you to pay money to run _your_ software
 instead of _their_ software sounds horribly wrong. This approach
 will introduce a philosophical or even legal context to the
 technical problem.
 
 I see interesting chances in UEFI per se. It can be called a kind
 of micro-OS which can be rich on features that could also be
 useful. But history has shown that if such an infrastructure is
 provided, it will lead to bloated, insecure and incompatible
 implementations quickly, and the worst, it will happen at a very
 low level. This is simly dangerous.
 
 Regarding UEFI + Restricted Boot: To obtain MICROS~1's sticker of
 approval for hardware, vendors need to implement those features.
 Even worse, on _specific_ platforms, they are not allowed to make
 it possible to _remove_ those features, so on by default is
 required - if I remember correctly (Intel vs. ARM architectures).
 
 As you see, I try to ignore this whole topic as I am not interested
 in using it. In the past, this has been possible. When building a
 new system, buying a blank disk and _no_ Windows was particularly
 easy. For systems that already came with some Windows preinstalled,
 simply deleting the partition was a solution; install FreeBSD boot
 mechanism, initialize disk, and be done. No more dealing with what
 MICROS~1 seems to insist is normal. When _their_ product decisions
 make _me_ invest time to find a way to remove and ignore them, I
 feel offended.
 
 I would like to see a way UEFI hardware, with or without Restricted
 Boot, can be used with FreeBSD _without_ involving the good will
 of MICROS~1. But as they have already gotten their fingers everywhere,
 this doesn't seem to happen all too soon... :-(
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

If I have understood correctly, it is quite easy to disable secure boot on
most current machines; it is just an option in the UEFI setup.

The real danger is machines where it cannot be disabled. This includes some
recent HP machines; whether by design or incompetence I cannot say. These
are the real danger to non-Microsoft operating systems, and the free software
movement needs to fight tooth and nail against them. I can all too easily
see them proliferating in the marketplace, perhaps secretly 'encouraged' by
Microsoft.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Hello

2013-06-25 Thread Mike Jeays
On Wed, 26 Jun 2013 08:56:59 +1000
julius juliuscmontes...@gmail.com wrote:

 Which BSD for a user desktop ??!.
 I all ready have Linux mint but I like to try again, in the past I have 
 use it but no luck in dual booting system with windows and I have try to 
 follow youtube BSD users that gave instructions on the BSD and no luck.
 Everybody that I watch in youtube for instruction it hasn't work even 
 loading the BSD on is own hasn't work.So which BSD for a user desktop??!
 Thank you
 -- 
 Best Wishes Julius
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

PC-BSD is a good place to start; it makes installation easy.

I prefer running Windows in a VM under VirtualBox to dual-booting. Switching
between the two is much faster, and you can make the host file system visible
to the guest with Samba.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: logging during loader

2013-06-24 Thread Mike Jeays
On Mon, 24 Jun 2013 09:23:10 -0400
Robert Huff roberth...@rcn.com wrote:

 
   During the processing of loader.conf, something gets printed
 that suggests all is not right.  However, this is a sufficiently
 modern machine it goes by too fast to read exactly what.
   It is my understanding that file gets read before the system
 logging facilities are operational, and possibly before things like
 ^S/^Q work on the terminal.
   Is there a way to store the results of that phase of boot-up?
 
   Respectfully,
 
 
   Robert Huff
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I am sure there is a 'right' way to do it, but I had success reading a 
transitory
BIOS message by photographing the screen with a 2-second exposure, in a fairly 
dark
room. This will only work for white-on-black text, of course.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Mike Jeays
On Sun, 10 Mar 2013 21:42:52 -0400
Fbsd8 fb...@a1poweruser.com wrote:

 Lowell Gilbert wrote:
  
  The next test is to check the clock in GMT. 
  I expect it to be off, which means that the timezone rules are not the
  problem. If this is not the case, the diagnosis gets more interesting.
  
  
 
 And how do you purpose I check the clock in GMT?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

date -u should do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] Re: sh script ?

2013-01-24 Thread Mike Jeays
On Thu, 24 Jan 2013 16:16:54 -0500
Fbsd8 fb...@a1poweruser.com wrote:

 Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Thu Jan 24 12:11:42 2013
  Date: Thu, 24 Jan 2013 13:07:40 -0500
  From: Fbsd8 fb...@a1poweruser.com
  To: FreeBSD questions questi...@freebsd.org
  Subject: sh script ?
 
  I get this message [: 10.0.10.21: bad number on this code
 
  [ ${saved_ip} -eq ${used_ip} ]  echo good match
 
  Both variables have valid ip addresses in them.
  Why does it think the variable content is a number and not text?
  
  Why??  BECAUSE YOU TOld IT TO.
  
  RTFM applies.  Specifically 'man test'.
  
  You need to either read some books on BASIC shell programming or
  take a course or two on that subject.
  
  This may sound harsh, but you will save yourself a -lot- of future
  aggravation with some structured education.  It will also assist
  you in getting maximum value from the manpages.
  
  Programming _is_ an art-form.  You have to train yourself to think
  the way the machine does.  When it complains about 'something', it
  is *AlMOST*ALWAYS* correct, and something you -think- is correct
  is actually wrong.  the hard thing to learn in troubleshooting
  problems is to set aside what you know is correct, and look for
  anything that could possibly cause the complaint.  Remember, you're
  looking for something impossible.  grin
  
 
 
 Quit fishing for a flame.
 
 You know nothing about my background and years of experience.
 I have forgotten more about IT and programming than you will
 ever learn in a life time.
 
 You already read the 3 other reply posts and there was no need to
 say what you did. You added nothing to the info in the thread.
 The thread was basically ended already.
 
 This is not the first time you have replied to posts in
 this condescending manner.
 
 I am putting you on notice, your manner and tone is not acceptable on 
 this list. Please take more time to consider your replies before posting 
 again.
 
 Any further reply from you about this will be considered as flaming and 
 ignored.
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Well said.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Bulk] FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Mike Jeays


On Fri, 18 Jan 2013 01:25:03 + (GMT)
Georg Reilinger georgreilin...@yahoo.de wrote:

 Hi everybody,
 
 
 My issue is the following:
 
 As far as I know, FreeBSD has completely dropped support for KDE 3.5. 
 
 Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 
 
 assuming this?
 
 
 I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing 
 
 here is, that KDE 4 is simply too heavy for my system. For example: it is 
 
 impossible for me to have two open shells at the same time. Once I exit a 
 
 given shell, I can't open another one due to a lack of resources, even after 
 having 
 
 turned off all the extra stuff - plasma desktop, nepomuk...
 
 As a consequence, I can see myself do two possible things, to have a system 
 
 running with KDE 3.5 once again:
 
 1. Go back to an older release of FreeBSD and install KDE 3.5 from the 
 
 precompiled binaries that are on the DVD donwload version.
 Judging by the release announcements, this should be 7.1.
 
 http://www.freebsd.org/releases/7.1R/announce.html
 
 This is something that I don't really feel like doing.
 
 2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
 some time to come. In other words, is there a way to keep 8.2 and still 
 have KDE 3.5 along with it? For example has anyone ever tried to 
 install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
 Is that be possible?
 
 
 Any other solutions?
 
 
 Many thanks
 Georg
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I run xfce4 with FreeBSD 9.0 on an old Pentium 4 with 1.5 GB, and it works 
well. Resource
requirements are much less than the latest KDE, and Unity is even more 
unworkable.
KDE and Gnome have got very bloated in the last few years, IMHO and less 
intuitive.
They seem to be going backwards. The multiple desktop feature is one of the main
things that set Unix-style desktops way ahead of Windows, and now they have 
become
harder to use.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Mike Jeays
On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:

 I don't have static ip address so I can not find out for myself.
 Lets say I am a company that my ISP has assigned us
 25 static ip address.
 
 When I issue the ifconfig command what will it show me?
 
 Just the single primary static ip address or all 25 of them in a list?
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.


em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
media: Ethernet autoselect (1000baseT full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
nd6 options=3PERFORMNUD,ACCEPT_RTADV
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnome

2012-12-02 Thread Mike Jeays
On Sun, 2 Dec 2012 18:36:23 +
ren_...@yahoo.com wrote:

 Hello, I was wondering if you can use Gnome to run your FreeBSD server, 
 instead of using let's say Direct Admin ?
 If so, is there any literature on it ?
 Thank you,
 Sam Fasciano
 Sent from my Verizon Wireless BlackBerry
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

You can use both Gnome and KDE, and just about any other desktop manager.

See the handbook at http://www.freebsd.org/doc/handbook. Plenty of detail there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-10-04 Thread Mike Jeays
On Fri, 05 Oct 2012 05:36:19 +0400
Австин Ким avs...@mail.ru wrote:

 Hi, all,
 
  Paul Kraus paul at kraus-haus.org writes:
 
   On Tue, Sep 11, 2012 at 9:18 PM,  kpneal at pobox.com wrote:
  
   It's a real shame Unix doesn't have a really good tool for comparing
   two directory trees. You can use 'diff -r' (even on binaries), but that
   fails if you have devices, named pipes, or named sockets in the
   filesystem. And diff or cksum don't tell you if symlinks are different.
   Plus you may care about file ownership, and that's where the stat
   command comes in handy.
  
   Solaris and a least a few versions of Linux have a dircmp command
   that is in reality a wrapper for diff that handles special files. The
   problem with it is that it tends to be slow (I had to validate
   millions of files).
 
  It's not clear what the danger profile is supposed to be here; dircmp
  (and recursing 'diff' applications) can handle many cases, but mtree(8)
  (with appropriate options) covers more pathological problems. Even so,
  analysis of changes in file nodes like named sockets will usually
  require some understanding of the application.
 
  I suspect that either a recursive diff or an mtree specification is a
  good solution for the original poster's problem, but we don't have
  enough information to be more sure than that.
 
  Be well.
 Lowell
 
 I happened to be restoring my home directory on my local machine and needed a 
 way to verify that its contents were in sync with the corresponding 
 directories on a remote server.  I first tried looking for an option for 
 _rsync_ that would check synchronization without actually forcibly 
 synchronizing one side to the other unidirectionally, but couldn't find 
 precisely what I was looking for.  I happened to come upon this thread, which 
 was a coincidence that this same issue recently came up again.
 
 Obviously there must be more rigorous, secure, and industrial-strength ways 
 to check synchronization between corresponding directories on remote systems 
 (apart from doing a one-way sync with _rsync_), but here's my two bits, a 
 quick crack at a shell function to check recursively that the contents of two 
 directories (and the filenames contained therein) have a high probability of 
 being in sync:
 
 BEGIN CUT
 
 # s:  Function to compute recursive MD5 sum.
 s ( ) {
   if [ -d $1 ]
  then DIR=$1
  else DIR=.
   fi
   if [ `uname` = Linux ]
  then find $DIR -type f -or -type l |sort |tr \\n \\0 |xargs -0 openssl 
 \
 dgst |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ |tee 
 /tmp/dgst
   openssl dgst /tmp/dgst
  else find -s $DIR -type f -or -type l|tr \\n \\0 |xargs -0 md5 \
  |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ |tee 
 /tmp/dgst
   md5 /tmp/dgst
   fi
   unset DIR
   rm /tmp/dgst
   return
   }
 
 # sq:  Function to compute recursive MD5 sum quietly.
 sq ( ) {
   if [ -d $1 ]
  then DIR=$1
  else DIR=.
   fi
   if [ `uname` = Linux ]
  then find $DIR -type f -or -type l |sort |tr \\n \\0 |xargs -0 openssl 
 \
 dgst |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ /tmp/dgst
   openssl dgst /tmp/dgst
  else find -s $DIR -type f -or -type l|tr \\n \\0 |xargs -0 md5 \
  |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ /tmp/dgst
   md5 /tmp/dgst
   fi
   unset DIR
   rm /tmp/dgst
   return
   }
 
 END CUT
 
 These functions simply apply the `find ... |xargs' method suggested by 
 previous posts to output a list of MD5 digests with filenames, and then just 
 _md5_ the resulting file.  I tried out the above in both sh(1) in FreeBSD (my 
 local machine) as well as in ksh(1) in Linux (the remote server), though I 
 haven't tested them extensively.  Obviously the above are not `secure,' and 
 obviously an infinite number of variations are possible (such as, for 
 example, also outputting file permissions and dates of last modification with 
 ls(1) to the digest file before running _md5_ on it, to check that 
 permissions and dates are also in sync).  Thanks to the previous posters for 
 solving my problem!  :)
 
 All the best,
 Austin

rsync --dry-run may be a simple solution that would meet your needs? You 
might need to add the --delete option.

Take another look at man rsync.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PC-BSD 9.0 in VirtualBox

2012-09-27 Thread Mike Jeays
I have been running PC-BSD 9.0 with the KDE interface in a VirtualBox VM, and 
notice that it uses CPU resources when idle, driving up my CPU temperature 
about 15 degrees on an otherwise idle machine. (It is an Intel i5 quad four). 
Is this to be expected?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Mike Jeays
On Wed, 12 Sep 2012 10:55:57 -0700
Waitman Gobble gobble...@gmail.com wrote:

 On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote:
   On 12/09/2012 00:14, Polytropon wrote:
% cksum directory
   
and could obtain a checksum - so it _seems_ to work.
After alteration of one file within the hierarchy a
different result was printed.
  
   That will give you a checksum on the directory inode -- file names and
   associated metadata only, not file content.  In theory you could edit a
   file without modifying any of the timestamps, and that wouldn't result
   in any change to the directory checksum.  Also, modifying things a few
   layers down the filesystem hierarchy won't have any effect either.
  
   Generally I find the best test for differences between old and new
   copies of a filesystem is 'rsync -avx -n ...'
  
   Also, sum and cksum have way too small a key size for this to be
   reliable, since you can't tell a true result from a hash collision.  Use
   md5 or sha1 or sha256 for best results.
  
 
  So this sha256 is *real*??  I have no md5 on my fedora
  that is on my desktop and m having trouble getting used to.
  but the gentleman who recommened cpio was right on the money.
 
 
 
 
 are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux
 machines.
 
 Waitman Gobble
 San Jose California USA
 
 
 
 
 
  note that I am loathe to spam this list with the following mail
  from my
  files in sept, 1988, but here it is.  if I had only gr -r -w cpio
  around in all my directories, I would have found this, sent to one
  Dirm
  Myers across the pond ::
 
 
  ===
 
  From kline Sat Sep  5 11:52:20 1998
  Subject: lost mail file...
  To: di...@buster.dhis.eu.org (Dirk Myers)
  Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT)
  Organization:  thought.org: public access uNix in service... 
  X-Mailer: ELM [version 2.4ME+ PL32 (25)]
  MIME-Version: 1.0
  Content-Type: text/plain; charset=US-ASCII
  Content-Transfer-Encoding: 7bit
  Content-Length: 2283
  Status: RO
 
 
Yesterday morning I began composing the next two Q's and A's
in my mailer.  Last night in the wee hours there was a power
glitch and I lost the mail.
 
Enclosed is the first//next Q/A.  I'll send along another one
or two later today.  One that I was playing around with *failed*
and I'm trying to figure out why.
 
-
 
How can I uise my FBSD floppy drive to copy files to it (in this case,
at work), and retrieve the files on my FBSD systtem at home.  So far
I've only seen examples that used floppies with a filesystem on them.
Is there a simplr, more direct way?
 
You can treat the 'raw' floppy device as if it is a tape drive, and
use typically UNIX tape tools to read/write, such as tar and  cpio.
For instance, to copy the current directory onto a floppy to
take home at night:
 
  (put the floppy in the drive, and cd to the directory where
   the files are; then )
 
  % tar -cvf /dev/rfd0 .
 
To read it when you get home:
 
  (put the floppy in the drive at home; and extract the tarball
   wherever you want the files)
 
  % tar -xvf /dev/rfd0
 
The flags -c and -x indicate create and extract mode, the ``v''
specifies verbose mode, and the ``f'' tells tar that the following
argument is the file or device that tar acts upon.  Here, it is
the floppy devide.
 
 
With cpio:
 
  (chdir to the directory where the files are)
 
  % ls | cpio -oc  /dev/rfd0
 
 To read a cpio archive from a tape drive:
 
 % cpio -icd  /dev/rfd0
 
 
 The flags -i and -o indicate copy-in or extract mode and
 copy-out or create archive mode.   The ``c'' tells cpio
 to use the old, portablr ASCII archive format.  And the
 ``d'' flag tells cpio to create directories where necessary.
 
 Do a
 
 % man cpio
 
 for much greater detail on this utility.
 
-
 
There are another one or two of the simpler Q/A's and one or two
more involved.
 
Then, for this month only, I want to write a paragraph or two
about who I am and where I'm coming from.  Since you are sharing
the by-line you might want to consider this too.
 
gary
 
PS:   Next month we get a break!!
 
  --
 Gary D. Kline kl...@tao.thought.org  Public service
  uNix
 
  
  as you can see, this dealt with my olden tape drive.  a 250meg
  QIC drive, I think.but this was about the earliest reference
  I could find re my use of cpio.  there are others in my journal
  dir that reference my running out of hard drive and using cpio
  rather
  that a straight cp -rp.  [this was back when a 130meg drive was
  Huge
  and made me 

Re: Nasty reference loop in login.conf

2012-07-17 Thread Mike Jeays
On Tue, 17 Jul 2012 12:48:38 -0700 (PDT)
Jakub Lach jakub_l...@mailplus.pl wrote:

 Initially dropped to single user mode, but when 
 I saw ED(1) I reconsidered and dusted off trusty 
 LiveCD :)
 
 Thanks.
 
 --
 View this message in context: 
 http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

ed is OK if you have access to another machine with internet access - the wiki 
article tells how to use it, and it isn't hard when you know how.

With single-user mode only, not so easy...

A very crude README that gives the basics, that is accessible in single user 
mode, might be quite useful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Mike Jeays
On Sun, 24 Jun 2012 19:13:00 -0500
Adam Vande More amvandem...@gmail.com wrote:

 On Sun, Jun 24, 2012 at 6:59 PM, Al Plant n...@hdk5.net wrote:
 
  I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to
  transfer some archives to new media.
 
  I have a problem with getting the OS to read the Omega Zip drive so it can
  be seen in dmesg to manually set the id correctly in /etc/fstab Flash
  drives and floppies show up but not Parallel Omegas. My wifes MS machine
  has no parallel input and my several FreeBSD boxes do but wont find the
  hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had
  been transferred years ago but they were only found recently.
 
  Any suggestions appreciated.
 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html
 
 Also at /boot/kernel/vpo.ko
 
 
 -- 
 Adam Vande More
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I am amazed anyone still has a working Zip drive! Both mine suffered from the 
click of death some years ago, round about when 4.11 was current. I would get 
any data off them and onto a CD/DVD as soon as possible. For me, they would 
make nice museum exhibits, but that's it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-05 Thread Mike Jeays
On Tue, 5 Jun 2012 19:57:30 -0400 (EDT)
Chris Hill ch...@monochrome.org wrote:

 On Tue, 5 Jun 2012, G?k?in Akdeniz wrote:
 
  For the time being only ARM platform is restricted.
 
 True, but I would be astonished if this restriction were not expanded by 
 MS in the future. Just my opinion, but I believe their ultimate goal is 
 to add platforms until the secure boot restriction encompasses most or 
 all desktop and server hardware. This would be over a period of years.
 
 -- 
 Chris Hill   ch...@monochrome.org
 ** [ Busy Expunging / ]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

This seems all too likely to me. I expect it will become very hard to find a 
consumer laptop that will run other operating systems in a few years. There 
won't be any in Best Buy or Staples, one can be pretty sure. It will be a 
Windows or Mac world. Not an attractive future.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-24 Thread Mike Jeays
On Tue, 24 Apr 2012 18:50:26 +0100
Anton Shterenlikht me...@bristol.ac.uk wrote:

 My daughter is doing a touch typing course
 that presumes MS Word. So far she was fine
 with pico, but now they want the kids to
 practice CTRL/B (bold), CTRL/I (italic),
 CTRL/U (underline). She really needs to use
 these particular combinations because that
 is how the on-line assessment tool is set out.
 
 I use nothing but vi, so have no clue which,
 if any, editor from ports/editors will have
 these particular combinations implemented.
 
 Please recommend one, preferably as simple
 and as small as possible.
 
 Thanks
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Abiword will do this. It is a good bit bigger than vi, but if your daughter is 
being schooled in MS WORD, it is a good substitute.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Vivaldi Tablet

2012-03-28 Thread Mike Jeays
On Wed, 28 Mar 2012 18:24:40 -0600
Chad Perrin per...@apotheon.com wrote:

 On Wed, Mar 28, 2012 at 04:24:51PM -0700, Gary Kline wrote:
  On Wed, Mar 28, 2012 at 09:19:54AM -0600, Chad Perrin wrote:
   
   I think learning a chording keyboard is going to be much more of an
   obstacle than using a QWERTY keyboard, considering you can hunt-and-peck
   on a QWERTY keyboard, but you have to know the chords to do anything on a
   chording keyboard.
 
  i dont have a clue what a chording keybd is; will google
  after a long nap1  also, i have lost track of who posted the
  'fentek' page, but that is where i got my present mine.
 
 A chording keyboard is a keyboard or other button-press interface with
 fewer keys so it can fit on a smaller device, where many keycodes are
 gotten by way of combining presses of multiple keys rather than a single
 key as on a standard QWERTY keyboard.  Thus, for instance, where on a
 QWERTY keyboard you get a capital A by holding the Shift key and pressing
 the A key, you might on a chording keyboard also get a lower-case A by
 holding down some key and pressing another key.  This works for keyboards
 with fewer keys because there are many potential combinations of keys
 that could be used; if all keycodes are achieved by a two-button chord,
 all the keys on a standard 101-key keyboard, plus all Alt-, Shift-, and
 Ctrl-chord keycodes, could be simulated by a mere twenty keys.
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I saw a demo of a device about 30 years ago that you held in one hand. It had 
about five buttons positioned under your fingers, and various combinations 
would produce all the regular characters. They claimed you could learn to use 
it in a few hours, and would be as fast as a typist. It didn't survive, and I 
can't remember what it was called. I thought it was a great invention - shows 
how wrong one can be.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is this Symbol in the front of your website. A humble request.

2012-02-23 Thread Mike Jeays
On Thu, 23 Feb 2012 14:44:16 -0500
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 Jerry je...@seibercom.net writes:
 
  On Thu, 23 Feb 2012 21:27:08 +0400
  Andrey Chernov articulated:
 
  {snip}
 
  1) Was there anyone NOT CC'd in that last post?
 
 Me. Should I feel left out?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Me too. I think you had to have a freebsd.org mailing address to get the
special treatment.

Is there a way to find out how many people are on these mailing lists?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: File manager for Xfce

2012-02-15 Thread Mike Jeays
On Wed, 15 Feb 2012 20:58:30 +0100
Bernt Hansson b...@bananmonarki.se wrote:

 On 2012-02-15 18:57, Per olof Ljungmark wrote:
  A long time KDE3 user but now thinking of Xfce instead as KDE4 is not
  really my way of doing it.
 
  One of the things I've found productive in KDE is the Konqerour file
  manager, is there anything similar available as a separate app to run
  under Xfce?
 
  In particular, it should accept URI's like sftp://, smb:// etcetra and
  looking at Thunar it does not seem to have this capability?
 
  I suppose I could run Konqerour as an app but that would require buiding
  a lot of KDE3 as well.
 
  Suggestions welcome, thanks!
 
 
 cd /usr/ports/x11-fm/xfe  make rmconfig  make install clean
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I use and really like XFE, but I can't get it to open smb and ftp sites. Have I 
missed something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: very small workgroup network

2011-12-29 Thread Mike Jeays
On Thu, 29 Dec 2011 15:06:17 -0600
Jeffrey McFadden junkrigsai...@gmail.com wrote:

 I feel really inferior to the community here, but I have to ask because I
 simply don't know:
 
 What do I need to do to create a small (3 PC-BSD) home network?  I could do
 this in no time in Windows, but I don't know how to find, configure, and
 enable the files necessary  to make these machines talk to each other and
 allow browsing to shared resources.  h The connectivity is in place (each
 can access the internet.)
 
 I've Googled considerably and not found instructions.  Just a pointer to
 instructions on the web somewhere would be fine.
 
 Blushing and grateful,
 
 Jeff
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Look up NFS in the FreeBSD handbook : 
http://www.freebsd.org/doc/handbook/network-nfs.html and subsequent pages. It 
is as easy as Windows once you find out how, and performance is excellent.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: anybody know howto do eazy abbrevs?

2011-11-11 Thread Mike Jeays
On Fri, 11 Nov 2011 16:40:23 -0800
Chuck Swiger cswi...@mac.com wrote:

 On Nov 11, 2011, at 3:10 PM, Gary Kline wrote:
  hw r u gys dng?
  
  into:
  
  how are you guys doing?
 
 Assuming you've got emacs installed:
 
   info emacs -s abbrev
 
 Regards,
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

The :ab command in vi will do this; you can build them into a .exrc file.

See http://docstore.mik.ua/orelly/unix/upt/ch30_31.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Mike Jeays
On Thu, 3 Nov 2011 10:06:19 -0400
Jon Schipp jonsch...@gmail.com wrote:

 On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei bsdlis...@gmail.com wrote:
 
  On 11/03/2011 03:18 PM, Jon Schipp wrote:
 
  Is there a program to check physical memory usage in FreeBSD(using 8.2
  RELEASE)?
  In vain of 'free' in Linux.
 
  I know you can check the values with sysctl, I was just checking if anyone
  has a cleaner option.
  I was always curious.
 
  Thanks
  Jon
  __**_
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-**
  unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org
 
   top?
 
 
 Crap, I forgot mention that it needs to be non-interactive, it will be for
 e-mail alerts.
 
 So that rules out top as for as I know.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

top -n 1 followed by grep or awk might do what you want.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


www.clubrunner.ca

2011-10-19 Thread Mike Jeays
I find weird behaviour with this site. It works fine on Windows systems, but 
Firefox on FreeBSD (and also Firefox, Opera and Chrome on Ubuntu) fails to 
connect. It immediately tries to retrieve www.clubrunner.ca/Home, but then the 
connection hangs.

Does anyone have any clues, please?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dennis Ritchie has died. A suggestion

2011-10-14 Thread Mike Jeays
On Fri, 14 Oct 2011 18:17:15 +0200
Kruppa, Peter Ulrich ulr...@pukruppa.de wrote:

 
 
 On 13.10.2011 23:43, mikel king wrote:
 
  On Oct 13, 2011, at 4:38 PM, Roland Smith wrote:
 
  With the recent death of Dennis Ritchie, we've lost one of the giants on 
  whose
  shoulders we are standing. But rather that mourn his passing, I think it 
  would
  be proper to remember and celebrate his achievements.
 
  His contributions to the C language and the UNIX operating system are a
  legacy that few can match.
 
  Therefore I would like to propose that the FreeBSD project dedicate the
  upcoming 9.0 release in his memory.
 I believe this would be an appropriate gesture.
 
 Regards
 
 Peter.
 -- 
 
 Peter Ulrich Kruppa
 Wuppertal
 Germany
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I am strongly in favour of such a gesture, as an exceptional case.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Has anyone been able to configure a Linksys E3000 using freebsd or pcbsd?

2011-08-11 Thread Mike Jeays
On Thu, 11 Aug 2011 17:27:39 -0700
Chuck Swiger cswi...@mac.com wrote:

 Hi--
 
 On Aug 11, 2011, at 5:03 PM, eculp wrote:
  In a trade with a friend, I ended up with a Linksys E3000.  The only 
  windows machine that I have is my wife's 10 laptop that doesn't have a 
  dvd.  I use FreeBSD or pcBSD for everything, workstations, servers, etc.  I 
  need to configure this thing but can't find any instructions on web based 
  configuration.  The FAQ and the dvd all imply that you must run the windows 
  installation programs.  I doubt that is true.  I've used other Linksys 
  products, printservers, AP's, etc. with no problem.
  
  Any help or suggestions would be greatly appreciated.
 
 You can do a reasonable job of configuring an E3000 without using the Windows 
 installer-- manually set up the laptop at IP 192.168.1.2 using a direct 
 ethernet cable, and the router ought to be at http://192.168.1.1.  Note that 
 most of these Linksys E models, especially the ones with the L prefix 
 are updated variants of the classic WRT54G(L), and you might consider running 
 DD-WRT instead of the stock Cisco/Linksys firmware.
 
 Regards,
 -- 
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Mine just handed out 192.168.1.1 via DHCP, and I was able to configure it with 
the browser. But I returned it to Best Buy as it didn't have as good a range as 
the older one I was replacing. I didn't need to use the DVD at all to configure 
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Filename containing French characters ?

2011-05-22 Thread Mike Jeays
On Sun, 22 May 2011 17:00:48 +0200
Frank Bonnet f.bon...@esiee.fr wrote:

 Hello
 
 I'm going mad trying to
 Open a file which the filename contains one or more French characters ( file 
 not found )
 Is there some magical receipe to do so ? Or do I have to forget trying ???
 
 Thanks
 
 Envoyé de mon iPhone___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

If the first few characters is not accented, type 'mv ', then the first few 
characters,  in a command line, and press 'tab' so the auto-completion works. 
Don't forget the closing quote. Then rename it to something else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: graphical representation of `du`

2011-04-02 Thread Mike Jeays
On Sat, 2 Apr 2011 17:15:04 +0100
Chris Rees utis...@gmail.com wrote:

 du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' |
 awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'


I confess to being impressed...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD Magazine PDFs

2011-02-19 Thread Mike Jeays
On Sat, 19 Feb 2011 16:37:14 -0500
Alfredo Perez alfredo...@gmail.com wrote:

 I am missing them all, can you upload them somewhere?
 
 Thanks in advance
 
 On Fri, Feb 18, 2011 at 1:48 PM, Xn Nooby xno...@gmail.com wrote:
 
  Thanks for the replies, good to know I'm not missing any issues.
 
 
  On Fri, Feb 18, 2011 at 11:46 AM, Charlie Kester corky1...@comcast.net
  wrote:
   On Fri 18 Feb 2011 at 08:13:19 PST MFV wrote:
  
   Hello,
  
   I've been downloading BSD Mag since it first came out and your list is
   identical to mine.
  
   Same here.
  
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

They are all online at bsdmag.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: script help

2011-02-16 Thread Mike Jeays
On Wed, 16 Feb 2011 16:47:57 +0100
Bernt Hansson be...@bah.homeip.net wrote:

 2011-02-14 23:34, Jack L. Stone skrev:
  Hello folks:
 
 Hello!
 
  No doubt this will be easy for those with scritping abilities.
 
  # find all of the same filenames (copyright.htm) and then replace the year
  2010 with 2011 in each file. Once I have a working script, I should be able
  to add it as a cron job to run on the first day of each new year.
 
 cd /your/www/directory rm -rf copyright.htm
 
  Any help appreciated.
 
  Thanks!
  Jack
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I doubt anyone will be dumb enough to fall for this, but it is not exactly 
constructive. Anyhow, it won't work without a semicolon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: documentation OF FreeBSD

2011-01-18 Thread Mike Jeays
On Tue, 18 Jan 2011 20:43:01 +0100
Polytropon free...@edvax.de wrote:

 On Tue, 18 Jan 2011 17:07:12 +0200, Ross Cameron 
 ross.came...@linuxpro.co.za wrote:
  Considering the wording of the original posting I HIGHLY doubt the OP would
  be willing to use PINE/MUTT/MAIL.
  
  So they hardly count,... 99% chances (my bet anyways) are that hey wanted a
  GUI app for this.
 
 In this case, out of the commonly used programs one could
 be chosen, e. g. Thunderbird. But also lightweighter
 applications such as Sylpheed or even KMail (when you're
 already intending to use KDE) or Evolution (Gnome's
 equivalent, if I remember correctly) is an option.
 
 Using fetchmail to get the messages _independently_ from
 any MUA gives you the chance to test various applications,
 or even use them in parallel, employing one and the same
 mail data. Using the system's mailer (e. g. via SMARTHOST)
 makes you fully independent from the traditional POP/SMTP
 accounts _in_ the MUA.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I agree about using Kmail with KDE; it is a well-designed mail program. 
However, using Kmail with Gnome was a horrible experience; it drags in and 
keeps starting up nepomuk and its friends, and chews up much of one's CPU 
capacity with apparently nothing to show for it. I switched to claws, which 
seems excellent.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New to FreeBsd

2011-01-03 Thread Mike Jeays
On Mon, 3 Jan 2011 16:16:13 +0200
George George strangegeor...@gmail.com wrote:

 I am new to the Free BSD and i have a question on how to install a
 packet.What i have to type to download a python editor?I cant find the right
 packet name.Thank you very much.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

pkg_add -r gedit
will install the gedit package, for example. There are thousands of packages 
available.
pkg_add -r idle should get you the python interactive development tool.

(Note they are called packages, not packets. They are pre-compiled binaries all 
ready to be used.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Creating clone of a HDD including boot partition

2010-12-14 Thread Mike Jeays
Put it in a USB enclosure, and run

dd in=/dev/sourcedisk out=/dev/targetdisk bs=1M

Drink coffee until done.

On Tue, 14 Dec 2010 15:42:42 +0100
nagios nag...@todoo.biz wrote:

 Hello, 
 
 I have setup a tailored made configuration (1 UFS partition + 1 swap + boot 
 sectors) for some hardware that I am reselling and would like to clone one 
 existing HDD (tailor made) and be able to dump to another new HDD.
  
 System is running pfSense with FreeBSD 7.2 and soon 8.x 
 
 What would be your suggested method to achieve this goal. 
 
 
 Thx. 
 
 ––
 - Grégory Bernard Director -
 --- www.osnet.eu ---
 -- Your provider of OpenSource appliances --
 ––
 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Mike Jeays
On October 20, 2010 03:47:38 am per...@pluto.rain.com wrote:
 Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-)
  
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Machine code on an English Electric DEUCE, here, in 1965. Everything since has 
seemed easy. See my web post if you want more details.
-- 
http://www.jeays.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Mike Jeays
On October 20, 2010 03:46:06 pm Bob Hall wrote:
 On Wed, Oct 20, 2010 at 12:07:55PM -0500, Tim Daneliuk wrote:
  On 10/20/2010 11:55 AM, Gary Kline wrote:
   On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
   Matthias Apitz g...@unixarea.de wrote:
   El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
escribi?:
  PS:  I really _was_ current on hardware stuff.  Back in the VAX
  780 days :-)
   
   I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
   
   Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
   The whole runtime fit on one RK05.  The sources took a second one.
   
 I remember the 11/34 fondly.  The whole EE department at Cory
 Hall was running one one; then when I interned at Livermore my
 job of porting the Portable F77 Compiler was done with vi and
 the source code that Stu Feldman wrote.  I love[d] those bloody
 old computers, :-)  Dunno why.   Maybe because they really
 *were* about computing.  Not streaming [[whatever]] or having
 php running.  (Blah^9^9^9)
 
 :)
  
  Heck, when I started out, they didn't even have zeros and ones yet.
  We had to settle for os and ls ...
 
 When I started out, we didn't have read/write heads for the hard disks.
 We had to copy the data from the screen to the disk by hand using
 magnetized sewing needles. In order to read the damn things we had to
 pass a compass over the disk and see where the needle deflected.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
unsubscr...@freebsd.org

OK, I guess you win! End-of-thread time?


-- 
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netbooks BSD

2010-10-19 Thread Mike Jeays
On October 19, 2010 10:29:46 pm Gary Kline wrote:
 On Tue, Oct 19, 2010 at 02:53:30PM -0600, Warren Block wrote:
  On Tue, 19 Oct 2010, Matthias Apitz wrote:
  El d?a Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block 
escribi?:
  On Sun, 17 Oct 2010, Matthias Apitz wrote:
  Any alternative netbooks outside Asus which run FreeBSD?
  
  Of course.  The Acer Aspire models vary, but the D250 is nice.
  
  Just to make sure: you mean the Acer Aspire One D250 netbook? But this
  seems to have a SATA hard disk, or are there models out with SSD?
  
  Mine has a SATA drive, but there shouldn't be any reason it couldn't
  use a SATA SSD in that form factor.  I should add that just over the
  last couple of days, my D250 has started to panic at random times.
  That's new, and I don't know what's causing it.  Given that it was a
  scrap machine I repaired, it may be hardware failure.
  
  In any case, it sells for around 300 euro (around USD 380) and seems to
  be an alternative as getting my Eee PC 900 repaired for the same price
  
  Now that the netbook craze is over, there are quite a few
  lightly-used ones for sale, often around $150 here.  Look around
  before buying new. Relatively older models like the D250 may be
  better for FreeBSD, because they have Intel video that works with
  the accelerated xorg driver.
 
   $150 is seriously in my price range [!]  But what about the
   optical drive?  If I can buy one on sale and install FBSD from a
   CD or DVD, do all optivcal drive fit all notebooks?
 
   (( I remember seeing ads on amazon.com saying that people who
   purchased this notebook have also bought:)
 
   With a few things that I probably will buy.  An optical, a 16 or
   32G SSD ... c.)  So if there is a fire-sale at Costco or
   wherever for an HP 9 or 10  Atom notebook, will I be able
   to use another vendor's optical drive?
 
   gary
 
   PS:  I really _was_ current on hardware stuff.  Back in the VAX
   780 days :-)
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org

I would expect a USB optical drive to work. I plugged an old DVD drive into 
one of those boxes that hold an IDE hard disk and plug into a USB port, and it 
worked fine on my (Linux) ASUS EeePC 1000. It looked pretty amateurish, but it 
did work.

-- 
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: error - ad2: FAILURE

2010-09-01 Thread Mike Jeays
On September 1, 2010 10:29:42 pm Xihong Yin wrote:
 Hi,
 
 I received the following error when I try to access files in some of the
 directories in /usr and when the computer boots. ad2s1f is mounted on
 /usr.
 
 ad2: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE
 LBA=37370159 g_vfs_done():ad2s1f[READ(offset=15415558144,
 length=16384)]error = 5
 
 Is this a sign of hard drive failure? Can I fix the error or do I have to
 replace the hard drive?
 
 Regards,
 Xihong
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I would think it is a hardware error, and the disk has run out of replacement 
sectors. If possible, it should be replaced, and any valuable data copied to 
somewhere safe, as soon as possible.

-- 
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: BSD equivalent of Linux's free(1)?

2010-08-18 Thread Mike Jeays
On August 18, 2010 02:06:08 pm Aleksandr Miroslav wrote:
 on wed, aug 18, 2010 at 1:04 pm, chris maness ch...@chrismaness.com wrote:
  Would not the info displayed in the command top suffice?
 
 Yes, top -n 1 does (sort of) display the info I need.
 
 The swap portion gives me the same info as Linux free, the memory
 portion is more cryptic, I guess due to differences in how FreeBSD
 allocates memory.
 
 Although a BSD free would probably be easier to remember, top -n 1 does the
 job. ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

alias free='top -n 1 '  ?!
-- 
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: office apps

2010-06-06 Thread Mike Jeays
On June 6, 2010 04:34:16 pm Chip Camden wrote:
 This might not be the right list for this question -- if so, please slap
 me over to the right one.

 Does anyone have a recommendation for a lighter-weight office suite?
 OOo is such a pig.  It takes a good minute to start it up and open a
 spreadsheet.

 Short of the full suite, how about just a spreadsheet program that supports
 complex formulas and charting?  If it could also be used without X11 when
 charting isn't needed, that would make my day.

Gnumeric provides a good spreadsheet, although it does need X11. It supports 
charting, with a good variety of options. It installed very quickly on a Linux 
system, seems much lighter than OpenOffice Calc, and it starts much more 
quickly than Calc.

pkg_add -r gnumeric should install it for you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation queries

2010-04-24 Thread Mike Jeays
On April 24, 2010 07:53:27 am Glen Barber wrote:
 Hi,

 Warren Liddell wrote:
  I have a Hard Drive presently running Win 7 which ironically i wish to
  remain souly a Win drive .. my question is, i have another drive im
  looking to put in while i take the windows 1 out and install FreeBSD
  onto it .. if later on i decide for some god unknown reason to put that
  drive back in and take the FreeBSD one out .. will there be any issues ?

 No, because they will be two separate disks.  If you have only one
 attached at one time, each disk will contain its own MBR.

 Regards,

I have always found disk caddies to be a much better solution than dual-boot. 
It guarantees no interference. I learned the hard way some years ago with an 
'accident' with dd on a dual-boot disk...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: dead box

2010-03-21 Thread Mike Jeays
On March 21, 2010 08:24:15 am Frank Shute wrote:
 On Sun, Mar 21, 2010 at 11:23:34AM +, Chris Whitehouse wrote:
  Frank Shute wrote:
  Sorry if this is a bit off-topic.
  
  I came in the other day to find my workstation powered off. Hitting
  the power on button had no effect as did using another known working
  outlet. I checked all the cables and they seem attached.
  
  I thought my power supply must have died so I got another, screwed it
  in and again no joy - no sign of life.
  
  Anybody got any ideas what the problem may be? I'm thinking possibly
  the power on switch but that seems a long shot and there seems no easy
  way to replace it.
  
  My hardware:
  
  Antec Sonata case.
  Gigabyte board.
  Core 2 duo
  
  TIA,
  
  Regards,
 
  When you press the power button does the cpu fan or the power supply fan
  spin for a moment then stop? That's a sign that something on or plugged
  in to the motherboard has blown. Unplug things and test again.

 When I hit the power button I get nothing. None of the fans spin up
 and there's no sign of life.

 I'm beginning to think that I might be in for a new motherboard anyway :(

 Why do these things strike when you least need them? Damn Murphy and
 his stinking law!


 Regards,

It sounds more like a dead power supply to me, if there is no sign of any 
activity at all.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PASSWORD LOST!!

2010-02-09 Thread Mike Jeays
On February 8, 2010 01:53:22 pm Eric Petersen wrote:
 Hey guys,

 I have a web/ftp server loaded with FreeBSD. This was done a couple
 of years back. Since then the person or persons that did the original
 install have gone out of business and cannot be found.

 Currently I have an issue logging into the ftp. I hooked a monitor up
 to the server and I'm getting filesystem full errors and since I
 don't have a password to get in I cannot have it fixed by someone
 that knows UNIX. I have made numerous attempts to contact the person
 that installed on a personal level. But I'm getting the impression he
 has moved with no forwarding.

 I you have need for more information I will supply it. I just don't
 know where to start. Our company's ftp is down and doesn't look like
 it will return anytime soon with out further assistance.

 Thank you for your time and have a great day.

 --
 Eric Petersen
 Pre-Press Technician
 Anderson Brothers Printing Company
 4525 41st Street
 Sioux City, Iowa 51108
 phone: 712.239.
 fax: 712.239.3322
 e-mail: er...@andersonbrothers.biz



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

If you have physical access to the server, just reboot it in single user mode, 
and change the password. You might need to forcibly power it off. It is all 
covered in the handbook. If you don't have physical access,  I think you may 
be out of luck...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wps to odt?

2010-02-02 Thread Mike Jeays
On February 2, 2010 07:35:42 pm Gary Kline wrote:
 On Wed, Feb 03, 2010 at 09:20:50AM +1100, andrew clarke wrote:
  On Tue 2010-02-02 12:44:41 UTC-0800, Gary Kline (kl...@thought.org) wrote:
   is there such a converter that sends m$ Works [.wps] to odt?
 
  AbiWord.
 
  And a quick-and-dirty shell script to convert all .wps (Microsoft
  Works) word processor files in the current directory to .odt
  (OpenDocument Text):
 
  #!/bin/sh
 
  for fn in *.wps; do
abiword --to=odt $fn
  done

 outstanding!  but if abiword can grow wps [thru hook or crook], i might as
 well use abiword  [?]

 gary

 ps:  it's nice when there are so many standards.  :-|
 pps:  i did try abiword, first, just

   % abiword file.wps

 it came up with garbage.  FWIW... .

  Regards
  Andrew
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org

Abiword can also read '.docx' files.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: i've questions sure this e-mail for questions

2010-01-09 Thread Mike Jeays
On January 9, 2010 07:28:24 pm libyan linux wrote:
 hello sir
 i am wanyce ashoura
 from Libya i notice in Libya and Africa there is no community for BSD
 and i start manged some small group of bsd group
 so if that not bothering you cause my language english not so good
 ok and i am new in bsd world and i wasn't use windows xp sure
 i start with slackware and i notice there are bsd so i say let me
 test it and i like so much
 i want understanding this
 freebsd and openbsd and pcbsd
 not is distributor as gnu linux yes or not
 cause there just few os named bsd i know bsd is open source but not
 free software
 here i am not talk about free of charging  .
 so my questions is bsd is not free software mean i cant make distributor on
 bsd is what i do now on my pc not distributor for business just for my own
 small work like manged my network with me friend's and play costuming every
 thing as i want so
 thank you for your time
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

FreeBSD, OpenBSD and PC-BSD are all free software, and there is nothing I know 
of to stop you distributing and using them locally. You can find out more from
http://en.wikipedia.org/wiki/BSD_licenses
and from 
http://63.249.85.132/fbsd_intro.html

Good luck - the software is of very high quality and very reliable.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Hardware virtualization

2009-12-30 Thread Mike Jeays
I am about to buy a new desktop, and I want to make sure that hardware 
virtualization is included. In one or two local computer stores, I get a blank 
look when I ask about this. Intel seems provide it on only certain chip models 
and they don't seem be very forthcoming, Perhaps it is better to buy an AMD 
product?

Any hints, please?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Have not received emails for a few days now....

2009-12-16 Thread Mike Jeays
On December 16, 2009 01:03:21 pm Diego Montalvo wrote:
 Is there something wrong with the freebsd-questions@freebsd.org
 mailing list? perhaps I got booted accidentally.

 Cheers!
 Diego
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

This message appeared OK. Hopefully the problem is fixed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE3 -- KDE4

2009-08-26 Thread Mike Jeays


On August 26, 2009 06:50:00 am Michiel Overtoom wrote:
 On Friday 07 August 2009 16:12:03 Andrew Gould wrote:
  Is there an increase in usability/benefit to match the increase in
  resource consumption?

 As I see it, KDE4 fell in the Vista trap.  I tried KDE4 and was showered
 with eye candy effects, some of which couldn't even be disabled.  Also,
 quite a few features I used in KDE3 were missing from KDE4.

 I never understood the need for transparent windows.  If you're working in
 a window you want to concentrate on its contents, not on stuff that's
 happening beneath it.  It breaks the flow.  I think it's indicative of the
 ritalin-generation of teens who can't concentrate for two minutes and need
 to constantly tweet about nonsense.  Geez, I'm getting old ;-)

 In my time, we didn't have color screens.  We had machine code on the bare
 metal, and a USER PORT to hook up your hardware.

 Greetings,

The need for semi-transparent windows is a big question in my mind too. I 
suspect it has been implemented because it is possible, and initially looks 
'cool'. But it seems to be a distraction from actually doing useful work. Much 
better to turn it off, IMHO.

-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cronjob

2009-06-08 Thread Mike Jeays

-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

On June 8, 2009 02:56:31 pm Jos Chrispijn wrote:
 Found another solution (for running @ 23:58):

 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ]  /myscript

 thanks for all other suggestions,
 Jos Chrispijn

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Isn't that a linuxism? Looking at the man pages for the date command for 
FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, 
I checked). The -d option is to do with daylight saving time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What is this forum for?

2009-05-28 Thread Mike Jeays


On May 28, 2009 08:06:51 pm RW wrote:
 On Fri, 29 May 2009 00:53:53 +0200 (CEST)

 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
   is enough to prove that water level will not change at all.
  
   Even for you this is a new low.
 
  just another attack? you really can't discuss like a human? I think
  you can, but you like behave in me too style. others are agains,
  you must be too!

 Do you not think it's a bit arrogant to ridicule the climate scientists
 based on what you yourself referred to as knowledge from primary school
 physics and no single calculation?

  about thermal expansion - water will be roughly the same temperature,
  maybe globally few degrees more. check out how much water expands
  really.

 It's not just the melt water, it's the temperature of the water in
 the oceans, which is maintained by convection currents. Most of the
 water in the world is held at 2-4 Celsius by these currents.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Now you guys are really off topic. Try moving it to alt.dev.null, and let the 
rest of us ask and answer questions about FreeBSD, please.

-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disappointed with version 6.0

2009-05-18 Thread Mike Jeays

-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

On May 18, 2009 12:56:07 pm David Roberts wrote:
 Hi, I was reading this thread as the problem I'm having seems quite
 similar, and with version 7.2, although I had the same behavior with 6.3 as
 well.



 The only variation on the dialog below is I do not have any CDROM or other
 device attached.  My configuration is:

  primary IDE: 10GB Seagate

  seconardy IDE: 80GB Maxtor



 My dmesg is giving me

 ad0: 9541MB Seagate ST310212A 3.39 at ata0-master UDMA66

 ad2: DMA limited to UDMA33, controller found non-ATA66 cable

 ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33ad0: 9541MB
 Seagate ST310212A 3.39 at ata0-master UDMA66

 ad2: DMA limited to UDMA33, controller found non-ATA66 cable

 ad2: 76345MB MAXTOR 6L080L4 A93.0500 at ata1-master UDMA33



 Any ideas?

 On Friday 10 March 2006 22:57, Peter wrote:
  I'm setting up a new server on 6.0 I've been planning for a long time
 
  and I am very disappointed with two critical issues.  My motherboard
 
  is the ASUS K8V-X SE that I chose because it was listed as compatible
 
  at the FreeBSD/amd64 Project:
 
 
 
  http://www.freebsd.org/platforms/amd64/motherboards.html
 
 
 
  I wonder if going back to 5.4 might help?
 
 
 
  Onto the problems...
 
 
 
  1. I have 4 IDE drives:
 
 
 
  primary controller: Maxtor 40 GB hd (master) and LG cdrom (slave)
 
  secondary controller: Seagate Barracuda 200 GB hd (master) and
 
  Seagate Barracuda 300 GB (slave)
 
 
 
  Problem: The 300 GB drive is unusable.
 
 
 
  I set it up ok with sysinstall during the installation but the system
 
  will not boot properly if it has an entry in /etc/fstab.  I get many
 
  errors like:
 
 
 
  ad3: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=63
 
 
 
  I also get input/output error if I try to examine its label with
 
  disklabel.
 
 
 
  dmesg output is at the end of this post when I booted without fstab
 
  line.
 
 
 
  The strange thing is that the two drives on the secondary controller
 
  are so similar.  Same manufacturer, same product line, the speeds are
 
  the same.  Everything is the same except the size.  I ran dos-level
 
  diagnostics on it and no problems were found.
 
 
 
  2.  I can't use my USB ports!
 
 
 
  I get a line like this for each of my ports:
 
 
 
  uhci0:  port 0xb800-0xb81f irq 21 at
 
  device 16.0 on pci0
 
  uhci0: [GIANT-LOCKED]
 
 
 
 
 
 
 
  Copyright (c) 1992-2005 The FreeBSD Project.
 
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
 
  1994
 
The Regents of the University of California. All rights reserved.
 
  FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
 
  r...@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
 
  ACPI APIC Table:
 
  Timecounter i8254 frequency 1193182 Hz quality 0
 
  CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.58-MHz 686-class CPU)
 
Origin = AuthenticAMD  Id = 0xf4a  Stepping = 10
 
  Features=0x78bfbffGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD
 
  Features=0xe0500800
 
  real memory  = 536543232 (511 MB)
 
  avail memory = 515702784 (491 MB)

  snip 

  ad0: DMA limited to UDMA33, device found non-ATA66 cable
 
  ad0: 39205MB  at ata0-master UDMA33
 
  acd0: CDROM  at ata0-slave PIO4
 
  ad2: 190782MB  at ata1-master UDMA100
 
  ad3: 286168MB  at ata1-slave UDMA100
 
  Trying to mount root from ufs:/dev/ad0s1a
 
 
 
  __

 You've got a problem alright, and you don't even see it.



 ==

 The ata driver sets the maximum transfer mode supported by the hardware

 as default.  However the ata driver sometimes warns: ``DMA limited to

 UDMA33, non-ATA66 cable or device''.  This means that the ata driver

 has detected that the required 80 conductor cable is not present or

 could not be detected properly, or that one of the devices on the

 channel only accepts up to UDMA2/ATA33.

 ==



 You've got your 40GB Maxtor (you've installed FreeBSD on it), an ATA100

 device, connected with your CDROM, an ATA33 device. The result is: your

 boot drive is running at UDMA33 instead of UDMA100. This is not going

 to work real well, as you can see.



 Do you really need that 40GB Maxtor? If you do, you're going to have to

 try adding an ATA controller card into one of your PCI slots and use

 that to connect your hard drives to.



 Try removing the 40GB Maxtor and reinstalling FreeBSD on the other two

 drives. I think that will clear up some problems for you.



 Don













 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Do you have the 80-wire IDE cable? The older 40-wire cables do not permit 
speeds faster than DMA-33.

___
freebsd-questions@freebsd.org

Re: Licensing

2009-05-08 Thread Mike Jeays
On May 8, 2009 01:09:51 am Steve Bertrand wrote:
 I've got a question that is likely not suited for this list, but I know
 that there are people here who can guide me off-list.

 Being a network engineer, I'm far from a developer. With that said, I've
 written numerous network automation programs (mostly in Perl), and have
 developed several small patches for software written in C related to ISP
 operations (including the OS itself).

 I'm looking for advice on how I can take all of my code, and license it
 into the public domain. I'm sure that most people won't have any
 interest in it, but I really want to ensure that what I have done is
 freely accessible.

 All of my code is pretty well separated into different files that
 contain different functions, so isolating portions of my programs that
 use modules or functions that are external is not a problem.

 GPL seems too verbose legally for me. Can the BSD license fit into any
 code, no matter what language it is in, and if so, can I have my code
 overlooked by someone who can verify that the BSD license will fit?

 Steve


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I would keep away from the term 'public domain', which means you would lose 
any rights to it whatsoever.

I don't think the language makes any difference. Basically, the BSD license is 
OK if you don't mind others taking the code, modifying it and distributing 
binaries without making the modified source available. If you don't like the 
last part, consider the GPL.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiling everything myself?

2009-03-16 Thread Mike Jeays

-- 

On March 16, 2009 09:11:32 pm Daniel wrote:
 Hi list

 This may be a basic question, but a question non the less.

 I have been using Debian for some years and have gotten tired by system
 freezes, having a slow system, and having a package system that requires
 that I install every skin of KDE to get KDE up and running.

 I hope FreeBSD will be better! :-)

 What I want to know is the following: Do I get the option of fetching
 sources and running through a guided compilation; or do I get binaries
 (like Debian) only?

 Thanks in advanced.

You can do either one. The ports system automates source download, compilation 
and installation.  The package system fetches and installs pre-compiled 
binaries. Take your pick.

Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: sed + exit status

2009-02-15 Thread Mike Jeays

On February 15, 2009 01:26:27 am Dimitar Vasilev wrote:
 .  Is sed successful is there are no instances of FOO?  Or
  only if there is at least one instance of FOO and it is successfully
  replaced by bar?
 
 Respectfully,
 
 
 Robert Huff
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org

 Hi Robert,
 try to use truss or strace to see the exit codes in both cases.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 Both cases return an exit code of '0'. You can check more easily by putting 
the command 'echo $?' directly after the sed command.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: short-changed on SD card?

2009-02-02 Thread Mike Jeays

On February 2, 2009 06:13:16 pm Tim Judd wrote:
 On Mon, Feb 2, 2009 at 1:45 PM, Wojciech Puchar 

 woj...@wojtek.tensor.gdynia.pl wrote:
   da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C)
 
  it's something wrong with FreeBSD here, it gets detected as 1GB.
  it has nothing to do with filesystem on it.

 Nobody's blamed the SD/CF reader.

 I call dibs to blame the SD/CF reader.  Isolate the problem to find the
 culprit...

 Check the USB reader -- I'm curious to see if that fixes the problem.

 And FYI -- No matter the Heads/Sectors/Cylinders, there are ~200
 512byte sectors, roughly equal to 1GB.

 If it's not the adapter, you got cheated in the purchase.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I think I would try dd if=/dev/zero of=/dev/da1 bs=1M
without the count option, and see how many blocks it writes. You at least 
start with a clean slate, and can run fdisk and newfs, if you want a BSD-only 
device. Make sure you write on the right device!


-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: why printf() don't work?

2009-01-05 Thread Mike Jeays
On January 5, 2009 02:29:23 am Edward King wrote:
 I use FreeBSD7.0,and use signal,like follows:
 signal(SIGHUP,sig_hup);
 signal(SIGIO,sig_io);

 when I run call following code,it can run,but I find a puzzled question,it
 should print some information,such as printf(execute main()) will print
 execute main(),but in fact,printf fuction print none!!! Why printf function
 do not go work?

 my code is follows:

 #include sys/ioctl.h
 #include unp.h
 static int sockfd;
 #define QSIZE 8
 #define MAXDG 4096
 typedef struct{
   void *dg_data;
   size_t dg_len;
   struct sockaddr *dg_sa;
   socklen_t dg_salen;
 }DG;
 static DG dg[QSIZE];
 static long cntread[QSIZE+1];
 static int iget;
 static int iput;
 static int nqueue;
 static socklen_t clilen;
 static void sig_io(int);
 static void sig_hup(int);

 int main(int argc,char **argv){
   printf(execute main());
   int sockfd;
   struct sockaddr_in servaddr,cliaddr;
   sockfd=socket(AF_INET,SOCK_DGRAM,0);
   bzero(servaddr,sizeof(servaddr));
   servaddr.sin_family=AF_INET;
   servaddr.sin_addr.s_addr=htonl(INADDR_ANY);
   servaddr.sin_port=htons(SERV_PORT);
   bind(sockfd,(SA *)servaddr,sizeof(servaddr));
   dg_echo(sockfd,(SA *)cliaddr,sizeof(cliaddr));
 }
 void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){
   printf(called dg_echo);
   int i;
   const int on=1;
   sigset_t zeromask,newmask,oldmask;
   sockfd=sockfd_arg;
   clilen=clilen_arg;
   for(i=0;iQSIZE;i++){
  dg[i].dg_data=malloc(MAXDG);
  dg[i].dg_sa=malloc(clilen);
  dg[i].dg_salen=clilen;
   }
   iget=iput=nqueue=0;
   signal(SIGHUP,sig_hup);
   signal(SIGIO,sig_io);
   fcntl(sockfd,F_SETOWN,getpid());
   ioctl(sockfd,FIOASYNC,on);
   ioctl(sockfd,FIONBIO,on);
   sigemptyset(zeromask);
   sigemptyset(oldmask);
   sigemptyset(newmask);
   sigaddset(newmask,SIGIO);
   sigprocmask(SIG_BLOCK,newmask,oldmask);
   for(;;){
 while(nqueue==0)
   sigsuspend(zeromask);
 sigprocmask(SIG_SETMASK,oldmask,NULL);

 sendto(sockfd,dg[iget].dg_data,dg[iget].dg_len,0,dg[iget].dg_sa,dg[iget].dg
_salen); if(++iget=QSIZE)
 iget=0;
 sigprocmask(SIG_BLOCK,newmask,oldmask);
 nqueue--;
   }
 }
 static void sig_io(int signo){
   printf(sig_io called);
   ssize_t len;
   int nread;
   DG *ptr;
   for(nread=0;;){
  if(nqueue=QSIZE)
err_quit(receive overflow);
  ptr=dg[iput];
  ptr-dg_salen=clilen;
  len=recvfrom(sockfd,ptr-dg_data,MAXDG,0,ptr-dg_sa,ptr-dg_salen);
  if(len0){
if(errno==EWOULDBLOCK)
   break;
else
   err_sys(recvfrom error);
  }
  ptr-dg_len=len;
  nread++;
  nqueue++;
  if(++iput=QSIZE)
 iput=0;
}
cntread[nread]++;
 }
 static void sig_hup(int signo){
   printf(sig_hup called);
   int i;
   for(i=0;i=QSIZE;i++)
 printf(cntread[%d]=%ld\n,i,cntread[i]);
 }
 ---
 Confidentiality Notice: The information contained
 in this e-mail and any accompanying attachment(s) is intended only for the
 use of the intended recipient and may be confidential and/or privileged of
 Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
 of this communication is not the intended recipient, unauthorized use,
 forwarding, printing,  storing, disclosure or copying is strictly
 prohibited, and may be unlawful.If you have received this communication in
 error,please immediately notify the sender by return e-mail, and delete the
 original message and all copies from your system. Thank you.
 ---


I think you need #include stdio.h

-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why FreeBSD not popular on hardware vendors

2008-12-12 Thread Mike Jeays
On December 12, 2008 07:28:54 pm Giorgos Keramidas wrote:
 On Sat, 13 Dec 2008 00:22:15 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
  There is _nothing_ that is inherently server oriented about the main
  FreeBSD tree, and it hasn't split to anything of the sort.
 
  exactly! FreeBSD is unix oriented!
 
  everything else depends on what you install.
 
  that's why it would be good to finally introduce moderation on that
  list

 That's a logical leap I am not comfortable with.

 Back when I posted my first question here, some time during the summer
 of 1999, it seemed very nice that older FreeBSD users replied to my
 questions without chastising me for being off topic.  It seems natural
 to return the favor now, and reply to *all* questions that I can help
 with; even if their relation to FreeBSD is very 'weak'.

 The spirit of replying to all questions, even if they are similar to
 ``How do I process images with a Photoshop-like program on FreeBSD?'',
 or even ``Windows lets me use FOO and do BAR.  Is there something like
 this in FreeBSD?'', seems to be one of the *good* aspects of this list.

 Why should we destroy that good aspect by introducing moderation?

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Agreed.  The noise level on this list is quite low, and off-topic threads get 
discouraged after a few iterations. I would NOT be in favour of moderation - 
I like it the way it is.

-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firewire problem

2008-11-06 Thread Mike Jeays
I bought a PCI/Firewire card and cable, and used it to connect my Sony PV-GS80 
camcorder, which uses MiniDV tapes and has a Firewire socket.  I get the 
following messages in /var/log/messages, which suggest the Firewire card may 
be a bad one.

# Turn camera on
Nov  6 20:40:00 pcbsd kernel: fwohci0: txd err= 0 No stat
Nov  6 20:40:00 pcbsd kernel: firewire0: 2 nodes, maxhop = 1, cable IRM = 1
Nov  6 20:40:01 pcbsd kernel: fwohci0: unrecoverable error
Nov  6 20:40:01 pcbsd kernel: fwohci0: BUS reset
Nov  6 20:40:01 pcbsd kernel: fwohci0: node_id=0x8800ffc0, gen=3, non 
CYCLEMASTER mode
Nov  6 20:40:01 pcbsd kernel: fwohci0: txd err= 0 No stat
Nov  6 20:40:01 pcbsd kernel: firewire0: 2 nodes, maxhop = 1, cable IRM = 1
Nov  6 20:40:01 pcbsd kernel: fwohci0: unrecoverable error

# Try running kino
Nov  6 20:40:56 pcbsd kernel: pid 8206 (kino), uid 1001: exited on signal 11

# Turn camera off
Nov  6 20:46:21 pcbsd kernel: fwohci0: too many cycle lost, no cycle master 
presents?
Nov  6 20:46:21 pcbsd kernel: fwohci0: BUS reset
Nov  6 20:46:21 pcbsd kernel: fwohci0: node_id=0xc800ffc0, gen=4, CYCLEMASTER 
mode
Nov  6 20:46:21 pcbsd kernel: firewire0: 1 nodes, maxhop = 0, cable IRM = 0 
(me)
Nov  6 20:46:21 pcbsd kernel: firewire0: bus manager 0 (me)
Nov  6 20:46:21 pcbsd kernel: fwohci0: unrecoverable error
Nov  6 20:46:21 pcbsd kernel: fw_xfer_free FWXF_START

Kino segfaults when I press the 'Capture' button.

This is with PC-BSD 7.0 on a test machine.  I have a similar lack of success 
on a Linux machine, with the same card.

Should I buy a new card, or is there anything else worth trying first?
-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gzipping multiple files w/o tarring

2008-10-10 Thread Mike Jeays
On October 10, 2008 02:49:44 pm Joe Tseng wrote:
 I'm sure this is easy but googling hasn't gotten me anywhere yet...  I want
 to compress all the files in my directory that don't already have a .gz
 extension.  I want them to be individual compressed files, not part of a
 single .tar.gz file.  Can anyone point me to where I can find how to do
 this?

 tia,

  - Joe
 _
 Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
 http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5
50F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008__
_ freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

gzip * will do it.  It leaves out files that already have the .gz extension.
gunzip * will put them back the way they were.

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


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Mike Jeays
I have an EXT2 USB flash drive on a FreeBSD system, and it works perfectly.  
I have also used EXT2 filesystems on IDE drives in a USB caddy, and they work 
fine as well.

On September 23, 2008 04:19:06 pm andrew clarke wrote:
 On Tue 2008-09-23 17:17:21 UTC+0200, Andreas Davour ([EMAIL PROTECTED]) 
wrote:
  I've bought a usb connected disk to use as backup, and I've been
  thinking about trying to make the data as available as possible. Do
  anyone here have any suggestion about what kind of filesystem would be
  best to use? Can ufs2 be read by linux? It looks like it from my short
  persual of google hits, but it also looks kind of complicated. IS ext2 a
  safer bet? Anything totally different?
 
  Any filesystem that can handle data from both BSD and Linux without too
  much metadata mangling would do.

 I'm not sure about UFS support in Linux.  You would probably need to
 ask on a Linux list.  The man page for newfs says that you can create
 UFS1 filesystems with it, which may help with compatibility?

 mount_ext2fs is available in FreeBSD but I can't speak for its
 reliability.

 There is full read/write support for NTFS provided by
 sysutils/fusefs-ntfs in the Ports tree.  I suspect there are some
 limitations though, eg. tighter restrictions than UFS on what
 characters are permitted in filenames.

 For making backups I would probably just use FAT32 and tar, because
 practically anything (not just FreeBSD  Linux) will mount FAT32 file
 systems, and tar should respect your file attributes (owner, group,
 creation timestamp, last modified timestamp, etc).
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Re: defrag

2008-08-27 Thread Mike Jeays
On August 27, 2008 09:35:42 pm Fred C wrote:
 Maybe it is because FAT filesystem wasn't well designed from the
 beginning and defrag was a workaround to solve performances problems.

 -fred-

 On Aug 27, 2008, at 5:29 PM, prad wrote:
  something that has puzzled me for years (but i've never got around to
  asking) is how does *nix get away without regular defrag as with
  windoze.
 
  fsck is equivalent to scandisk, right?
 
  so when you delete files and start getting 'holes', how does *nix deal
  with it?
 
  --
  In friendship,
  prad
 
   ... with you on your journey
  Towards Freedom
  http://www.towardsfreedom.com (website)
  Information, Inspiration, Imagination - truly a site for soaring I's
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED] 

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

That's true about FAT.  What I have never understood is why Microsoft didn't 
fix the problem when they designed NTFS.  UFS and EXT2 both existed at that 
time, and neither needs periodic defragmentation.

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


Re: What price at the license of FreeBSD 7?

2008-07-19 Thread Mike Jeays
On July 19, 2008 04:21:03 pm Gonzalo Nemmi wrote:
 On Saturday 19 July 2008 15:40:53 Kris Kennaway wrote:
  ... or the equivalent in your
  local currency.  Yes really :)
 
  Kris

 ROFL to death !
 Sorry .. couldn't help it ...
 You made me spit my pepsi all over my desktop !
 Thanks!!

How many Zimbabwe dollars, I wonder?  This seems to give the finest 
measurement for approximations to zero...

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


Re: Even more documentation?

2008-04-25 Thread Mike Jeays
On April 25, 2008 10:32:37 pm Edward Ruggeri wrote:
 Hi all,

 I've used FreeBSD for about two years now.  Besides using Linux for
 projects on school computers, I never had much experience with
 Unix-like operating systems.  While I get by nicely on FreeBSD, I
 recently felt that I didn't have a very solid understanding of it's
 organization or structure.  I suppose one can't know everything about
 an operating system with as much functionality as FreeBSD, but I
 started to feel like my knowledge was really ad-hoc, and that I didn't
 completely understand what I was doing (as if I had learned only by
 example).

 To that end, I started reading the FreeBSD handbook front-to-back.
 I've gotten to Part III, and while it's been very valuable, I still
 feel like I'm learning by example, and not by understanding the
 operating system.  I'm starting to think I'm expecting something out
 of the handbook it's not designed to do.

 It seems like the man pages would be a good place to go, but my
 trouble with using them is that they're difficult to put together the
 information on different pages.  I suppose I want something like a
 textbook.  I dream of a KR type text that is very comprehensive and
 well-organized.

 If anyone has advice, I'd very much appreciate it!

 Sincerely,

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

For more details on the internal design, find a copy of
The Design and Implementation of the 4.4 BSD Operating System 

http://www.amazon.com/Design-Implementation-Operating-Addison-Wesley-Systems/dp/0201549794


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


Re: Laptop advice

2008-03-27 Thread Mike Jeays
On March 27, 2008 03:09:42 pm mdh wrote:
 --- David Kelly [EMAIL PROTECTED] wrote:
  On Thu, Mar 27, 2008 at 01:53:57PM -0400, Joe Demeny
 
  wrote:
   In the end, the best advice seems to be indeed to
 
  take the FreeBSD CD
 
   to the brick-and-mortar store...
 
  Or you could purchase an Apple Mac Book and have a
  commercially
  supported Unix pre-installed. Guess that would take
  all the fun out of
  it?

 While I like Mac products and OSX is pretty cool, I
 still find their laptops a bit pricey.

 By the by, has anyone tried FreeBSD on one of those
 little Asus EEEpc sublaptops?  A real, tiny, i386
 laptop for $300 (plus maybe a bit more for an
 additional SD card to bump the storage some) seems
 like a truly awesome deal.



  
 ___
_ Looking for last minute shopping deals?
 Find them fast with Yahoo! Search. 
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

I bought an Eee PC, but haven't tried any other software on it yet.  I can 
confirm that the hardware is a bargain, and I used it 'as is' while 
travelling for ten days, and it connected 'out of the box' to the wireless 
service provided in each hotel.  A mouse is a great help, although the 
built-in pad is quite usable.  I had no trouble with the tiny keyboard, 
except for needing the light on to read the keys.

They are a really great innovation, IMHO.  I am really pleased with mine.

The wireless card may be the problem with FreeBSD.



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


Re: home dir executable (!/bin/sh, chmod+x) shell scripts won't run without sh script

2008-01-07 Thread Mike Jeays
On January 7, 2008 12:04:39 pm Mike Bristow wrote:
 On Mon, Jan 07, 2008 at 10:50:47AM -0600, Erik Osterholm wrote:
  The '.' notation for the current working directory enables you to add
  the current directory you happen to be in as part of your path (thus
  making it searched when executing a command), however this has serious
  security implciations, so if you think that it's something you really
  want to do, you'll have to find out from someone else how to do it.

 OTOH, having ~/bin in the path has no security implications at all -
 assuming your scripts are OK, of course.

I don't see anything especially bad about putting . as the last item in the 
PATH on a personal desktop machine.  It is convenient, IMHO worth the risk.  
If my desktop gets hacked, I have worse problems to worry about than this.



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


Re: Apparently, csh programming is considered harmful.

2007-12-13 Thread Mike Jeays
On December 13, 2007 08:05:42 pm Chad Perrin wrote:
 I ran across this today:

   http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

 Title:
   Csh Programming Considered Harmful

 I wonder what responses I might get here, and how much of this applies to
 tcsh as well (I'm still not exactly a tcsh expert).

As you can see, it is 11 years old, but still good advice.  For interactive 
use, tcsh is not too bad, but for writing scripts of any length, sh or bash 
are considered better tools.   For code that will run anywhere, stick to the 
sh subset. 

flamebaitBash has all the features one is likely to need for interactive use 
as well, and one could make a good case for it being the 'standard' shell 
now./flamebait



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


Re: using dd to duplicate disks/partitions of slightly different sizes - works?

2007-12-01 Thread Mike Jeays
On December 1, 2007 03:19:59 pm Kevin Kinsey wrote:
 Steve Franks wrote:
  I've got two 160GB disks.  Different manufacturers, so different #
  bytes.  One is FreeBSD, the other blank.  I'd like to backup my system
  for the fastest possible recovery after a crash - move the plug and
  power up.  I have gmirrored before, but I just wanted to do a quick
  dd, since I don't want to abuse my cheapo powersupply (has 4 disks
  already on it).
 
  Two questions:
 
  (1) If I dd from the smaller to the larger, will it work?  What
  happens to the extra, say 5MB of unused space - will my partition info
  be messed up?
 
  (2) If I dd from the larger to the smaller (df reports only 50% used
  anyway) is there a way to make sure there is no info in the 5MB at the
  end that will overflow the smaller, and again, will my partitions be
  ok?
 
  The other option is just to fdisk  label the other disk, then rsync
  everything to it.  Is that the wiser choice?
 
  Thanks,
  Steve

 Giorgos Keramidas made a great post dealing with this
 a while back.  Here 'tis, quoted for your enjoyment
 and potential enlightenment (also quoted is Martin
 McCormack):

 ---

   It turns out that dd defaults to 512-byte blocks so I didn't
  really need the bs=512, but I am not sure I haven't made some other
  type of mistake.  The dd command has been running for about 4 hours on
  a very fast system, with a 1-gig processor, 1 gig of RAM and two 31-GB
  drives.  One would think it should have finished by now, but it is
  still running.  Is this a valid method of copying the entire contents
  of one drive to another?  Thank you.

 Bah!  That's too slow for my taste.  I would usually go for a newfs,
 dump, and restore option.  For instance, to create a copy of /usr on a
 second disk:

 newfs -U /dev/ad1s1a
 mount /dev/ad1s1a /mnt
 dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - )

 Copying with dd(1) is not as fast  :)
 --
 HTH,

 Kevin Kinsey

I tried using dd with two 80GB disks, using a much larger block size (512M), 
booting Knoppix to make sure the filesystems on the 'input' disk were 
quiescent.  It worked, but took an amazing 14 hours, which is only about 1.5 
Mb/sec.  The 'output' drive was on an IDE connector shared with the CD 
device, so that may have been a cause of the poor performance.

Anyway, read 'man dd'.  You can specify very large blocksizes.  I suspect it 
might take very many hours with a blocksize of 512.




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


Re: Major filesystem problems after crash on 7.0-BETA3

2007-11-27 Thread Mike Jeays
On November 27, 2007 09:22:42 am Doug Poland wrote:
 On Mon, November 26, 2007 15:03, Doug Poland wrote:
  On Mon, November 26, 2007 14:26, Doug Poland wrote:
  Hello,
 
  This morning my 7.0-BETA3 i386 system (Compaq nx7400) reset shortly
  after starting X11.  I didn't think much of it and went to get a cup
  of coffee while the background fsck took care of the file systems.
 
  Unforunately, something's still broke.  At first, when I tried to
  access the /var or /tmp filesystems, I received panics similar to:
 
  mode = 0100644, inum = 31127, fs = /tmp
  panic: ffs_valloc: dup alloc
  cpuid = 0
  Uptime: 9s
  Physical memory: 3435 MB
  Dumping 101 MB:Aborting dump due to I/O error.
  status == 0x4, scsi status == 0x0
 
  ** DUMP FAILED (ERROR 5) **
  Automatic reboot in 15 seconds - press a key on the console to abort
 
 
  After doing some googling, it looked like my filesystems weren't
  really clean after several manual runs of fsck.  So I disabled
  softupdates on /var and /tmp and ran fsck on those file systems
  again.  After mounting them rw, I attempted to hit the filesystem
  again, this time getting a panic:
 
  panic: ffs_clusteralloc: map mismatch
  cpuid = 1
  Uptime: 6m40s
  Physical memory: 3435 MB
  Dumping 149 MB:Aborting dump due to I/O error.
  status == 0x4, scsi status == 0x0
 
  ** DUMP FAILED (ERROR 5) **
  Automatic reboot in 15 seconds - press a key on the console to abort
 
  Is there a way to identify and fix these errors?  I'm thinking a
  newfs of both /var and /tmp is in order.  I don't really care
  about /tmp, and I've backed up /var using dump(8).  My concern is
  if I restore /var on top of a newfs'd filesystem, I'll restore my
  broken files and have the same problem again.
 
  Just a follow-up...  Everytime I run a  manual fsck on the problem
  filesystems, it returns:
 
  snip
  BLK(S) MISSING IN BITMAPS
  SALVAGE?
  snip
  * FILE SYSTEM WAS MODIFIED *
 
 
  So it would appear that fsck is unable to repair damage, is that
  correct?

 Well, having stumped all the experts, I decided to reinstall from
 7.0-BETA3 CD-ROM.  After a few minutes of writing to the disk after
 newfs, I got more panic: ffs_clusteralloc: map mismatch errors.  Since
 the device I'm writing to is a 3-day old Maxtor OneTouch III external
 HD, I've decided it must be a hardware failure and am returing the
 drive.

I have an older Maxtor drive (40GB) that refuses to allow FreeBSD to install, 
but has worked flawlessly with Linux. (It would work very slowly in PIO mode, 
but not DMA, which is not a whole lot of use).  I would be interested to hear 
if your replacement disk works.



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


Automatic FSCK for an ext2 disk

2007-11-26 Thread Mike Jeays
I added a second IDE disk to a FreeBSD system, and formatted it as ext2.  (I 
do have a good reason for doing this).

The system lost power last night.  On reboot, the UFS filesystems were 
repaired automatically, but I had to do a manual fsck on the new disk in 
single-user mode.  

Is there a way to make sure an ext2 filesystem gets automatically fscked as 
well as the UFS partitions on the primary disk?
-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partition to be shared over OSes

2007-11-24 Thread Mike Jeays
On November 24, 2007 09:11:25 pm Caio Figueiredo Abecia wrote:
 Hi
 I have some operation systems installed on a hd in some partitions.
 I'd like to know if could I have a partition FAT32 in my hd and let my
 linux/bsd/windows read/write any file there.

 To that purpose (share a partition to windows/linux/bsd) what's the best
 solution?

 My partition to be NTFS and install on each SO (-win) ntfs-3g ?

 Thank you in advance

 Caio F.

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

Yes, you can read and write FAT filesystems from Linux and BSD systems.

Reading from an NTFS system is generally supported, but writing is still 
experimental, and I wouldn't recommend it for a production system.

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


Re: pdf edit again.

2007-11-03 Thread Mike Jeays
On November 3, 2007 08:38:55 pm Gary Kline wrote:
   A couple weeks ago I skimmed thru the postings on editing PDF
   files.  Wasn't entirely clear what the answer it because I never
   thought I would need to edit a GUI file.  I just found a book
   from 1883 in pdf format.  I would like a text/ASCII/ISO_8859-1
   version.  Tried pfdtotext, but it doesn't work.   Nutshell: is
   there something I can use  to edit/look-at this book and get rid
   of whateveriit is that's causing pdftotext to fail.  (sorry for
   the grammar )

   gary

Try gv and xpdf.  You might get lucky. 

Otherwise - try od :-)




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


Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread Mike Jeays
On October 31, 2007 07:58:21 am VeeJay wrote:
 Hello Gurus….



 I am running a status script written in Perl (*status.pl*) and want to have
 it *Always Running*.



 How can I check through CRON that status.pl is running and if NO, then
 start the script execution again?



 Please help and advise…



 With a bundle of thanks!

You could write a shell script something like:

#!/bin/bash
ps -ax | grep 'status.pl'
if [ $q -eq 0 ]
then
  status.pl
fi

grep will return zero if it finds a line containing 'status.pl', and 1 
otherwise.

in crontab, use

* * * * * /full/path/to/script-above

and it will check every minute.

But a better fix would be to find the bug in status.pl that makes it crash!




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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Mike Jeays
On October 22, 2007 12:44:18 pm Martin Tournoij wrote:
 On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?

 Wow,, my machine just crashed :-/
 Does in this work on other OS's as well (ie. GNU/Linux)? Or just
 (Free?)BSD? I really don't feel like crashing another machine right
 now...

 Only works in sh, not in csh.

 Anyway, this seems to be security/stability issue, maybe a PR is in
 order?

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

Yes, it brought down my Ubuntu 7.10 system pretty well immediately.  I had to 
reboot.




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


Re: Is it difficult to move from Linux?

2007-10-22 Thread Mike Jeays
On October 22, 2007 02:33:57 pm Donovan R. Palmer wrote:
 Hi,

 I have been using Linux for over 10 years, but have for a number of reasons
 become very interested in learning to use FreeBSD. Are there any ex or
 current Linux users here and could you tell me how hard it is to make the
 shift from Linux?  Is there anything in particular which has been written
 which would be useful to read?

 T.I.A.

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

I think it is a very easy shift.  It doesn't take long to learn that the file 
structure is a bit different - as an easy example, many things in /usr/bin in 
Linux are in /usr/local/bin in FreeBSD.  The FreeBSD Handbook is a superb 
resource, bringing everything together in a single document.  For a system 
running KDE or GNOME, it is hard to tell the difference.  The software 
installation system (source-based ports or binary packages) are about as easy 
to use as apt-get or its equivalents.



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


Re: defend from - :() { ::; } ;:

2007-10-22 Thread Mike Jeays
On October 22, 2007 03:58:35 pm Rolf G Nielsen wrote:
 Danielisz Laszlo wrote:
  Please do not try to execute this: :() { ::; } ;: on your BSD machine.
  I ask all who already tried it how to defend from this?
 
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 What does it do?

It is easier to understand when you replace the : by a more conventional 
subroutine name.

myproc () {
  myproc 
  myproc
}

myproc

It recursively generates useless processes that clog up the machine. Mine 
ground to a halt and froze after a few seconds.




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


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Mike Jeays
On Sunday 02 September 2007 02:22, Michael Hauber wrote:
 Hey, all...

 I've been a user of FreeBSD and OpenBSD for quite a while now. 
 Unfortunatly, I haven't had much time to tinker lately, and that's unlikely
 to change in the near future.  Sadly, I need to get an OS that my wife
 would be more comfortable using and that wouldn't be as time-comsuming to
 make it more comfortable for her.

 I downloaded the uberyl live CD and found that ubuntu seems to pick up on
 everything I have on the laptop (as well as all the attachments), so I'm
 downloading it now.

 Because I've put so much time into getting this FreeBSD install where it is
 now (and because I favor the BSDs), I'm still a bit hesitant...  Has anyone
 here had much experience with ubunu as a desktop?  Negatives/positives?

 Kind of OT, I guess...  I'd just rather hear it from someone in this group
 rather than the inevitable, Oh yeah.  You won't be sorry. from the ubuntu
 folk (salespitches == fingernails on a chalkboard :) ).

 Thanks,

 Mike


 PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work
 than I have time for.

I am one of those sad cases who used FreeBSD for many years as my primary 
desktop at home, and then switched to Ubuntu about 6 months ago.  I still run 
FreeBSD on an older server, that runs round the clock and is 100% reliable.

I was only slightly frustrated by FreeBSD, mainly because of my inability to 
get a Hauuppage TV card to work, even after a few queries on this list.  I 
also found that other multimedia software seemed more available and easier to 
set up - I not saying they were impossible, just that I seemed to be spending 
more time trying to get them to work than I wanted.

Ubuntu works very well 'out of the box', and their Synaptic tool for finding 
and installing software is excellent. I am now running VirtualBox under 
Ubuntu, and it works extremely well; I can run W2K and XP for occasional use 
as guests, and what seems like full speed. (Much faster than QEMU, which I 
used before.)  Both KDE and GNOME work fine, and for basic work with Firefox, 
Thunderbird, OpenOffice and Postgresql, there is nothing much to choose 
between FreeBSD and Ubuntu from an office user's point of view.  Both work 
great.  Both seem rock solid, and recover well from the occasional power 
outages I get at my new home.  (Ought to get a battery backup before disaster 
hits one day, I suppose).  All the development tools are a few mouse-clicks 
away.

I may switch back one day, as I like FreeBSD very much for its sound design 
and underlying philosophy.  I feel 'guilty' about having changed!

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


Re: How to mount USB key

2007-06-06 Thread Mike Jeays
On Wednesday 06 June 2007 12:57, Oscar Chavarria wrote:
 I want to copy files to it. I introduced the key and was recognized as da0.

 I did ls dev/da0 == dev/da0

 Then

 mount /dev/da0 /home == incorrect super block.

 Thank you in advance for any help.

If it is a DOS-format device, you need to say
mount -t mdsos /dev/da0 /mnt
or maybe
mount -t msdos /dev/da0s1 /mnt


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


Re: machine will no longer boot

2007-05-28 Thread Mike Jeays
On Monday 28 May 2007 12:05, WarrenHead wrote:
 Hi list,

 Yesterday I installed a new sata disk into my server, which is connected
 to a highpoint rocket raid card. I plugged in only one disk, so no raid
 yet.

 I ran sysinstall and then fdisk and disklabel. All was fine and I placed
 files onto the disk. Then I realized I had made a mistake, I had made
 only one partition with fdisk, and two slices with disklabel.
 (Mountpoints pointing to /mnt/x  and /mnt/y.)
 Somehow I got another mountpoint automatically which mounted the entire
 disk as one, to /media/z. Weird.

 So I ran sysinstall again and used fdisk to erase everything and create
 two partitions. I wrote these changes successfully to the disk.

 I then started disklabel (still from within sysinstall) and created the
 two mount points for the two partitions again.
 I tried to write these changes to the disk, but that failed.

 Mmm, weird. So, perhaps I needed to reboot first?
 Which I did, and now I cannot boot anymore.

 The error messages that show on screen are something like this:
 Can't stat /dev/ad4sd1 No such file or directory
 Can't stat /dev/ad4se1 No such file or directory
 After that I get a bogus shell which can do virtually nothing. I have no
 idea what it is.
 I can cat /etc/fstab though and noticed that the two lines with
 mountpoints for the new disk are indeed the new lines. I guess disklabel
 was partially succesfull?

 Perhaps I should simply remove these lines in /etc/fstab?
 Unfortunately, with this ridiculous shell, I don't know how to.

 So I tried a livecd (Knoppix 5.1). Since the system disk was formatted
 as ufstype=5xbsd, I have trouble writing to it. Bummer.

 But... should I remove these lines in /etc/fstab? Will this matter?

 Luckily I can read the disk, so if necessary I can start over, but I
 hope there is something I can do from within that odd shell.

 Please advise, this particular problem is not fun.

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

You should be able to use the antique line-editor 'ed' from the ridiculous 
shell.  Use Knoppix or another machine to read or write down the man pages, 
and use it to delete the lines from fstab.

You might also be able to use 'sed' from the command line to change the 
offending lines to comments, or delete them.

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


Re: best programming language for console/sql application?

2007-04-22 Thread Mike Jeays
On Sunday 22 April 2007 06:32, Zhang Weiwu wrote:
 Dear list

 This is OT. I am a 4 year php developer and is very familiar with
 javascript and awk (familiar = knows and used all functions and features
 of the language itself) and I am a 5 year FreeBSD user. Being frustrated
 for the lack of a good console-based issue tracking tool (like mantis or
 bugzilla), I think I should start to write my own. I'll either start
 from scratch or (better) write a frontend for mantis which I used for
 years.

1. If someone has already started, I should try join him/her rather
   than reinventing the wheel. So if someone knows any person who is
   starting to work on a slim console-based issue tracker, please let
   me know. I already did quit a few searches. I know someone is
   working on a console front-end of G-Forge, but a big software like
   G-Forge is not what I am thinking of.
2. If I start my own, I think I'll be using a console widget library
   (ncurse? because it's famous), an SQL database (no problem) and a
   programming language. I never developed console application
   before, so here asking for suggestions on what programming
   language to choose. Non of my known language php/javascript/awk
   are suitable so I guess I have to learn a new language anyway. The
   language better be easy to learn and work with (C++ is out), not
   necessarily have complicated calculation feature (like the
   graphical report mantis makes), not necessarily OOP. I have perl
   and tcl in my head now, can you make some recommendations?

 Thanks!

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

I would recommend any of Perl, Python and Ruby.  Python is excellent for 
writing clean, self-documenting code, and is my current favourite.  TCL is 
more verbose, and does not have the excellent OO features to be found in 
Python and Ruby. Python is very easy to learn - it even seems a bit naive to 
begin with, but it is actually very powerful.

OT as you said, and the stuff of flamewars!

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


Re: network card setup?

2007-03-06 Thread Mike Jeays
On Tue, 2007-03-06 at 18:49 +0530, elaya raj wrote:
 Hi,
 i new to freebsd i want to configure my network card. But i dont know how to 
 configure it. after configure the nic card i want to configur ftp also.. so 
 plz guid me how to configure the nic card and ftp...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Lots of information in the FreeBSD Handbook.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-communication.html

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


[Fwd: Re: Search Replace Issue]

2006-12-24 Thread Mike Jeays


---BeginMessage---
On Sun, 2006-12-24 at 12:13 -0800, Garrett Cooper wrote:
 Jack Stone wrote:
 
 
 
  From: Parv [EMAIL PROTECTED]
  To: Josh Paetzel [EMAIL PROTECTED]
  CC: Jack Stone [EMAIL PROTECTED], freebsd-questions@freebsd.org
  Subject: Re: Search  Replace Issue
  Date: Sun, 24 Dec 2006 02:56:32 -0500
 
  in message [EMAIL PROTECTED],
  wrote Josh Paetzel thusly...
  
   On Saturday 23 December 2006 21:29, Jack Stone wrote:
Appreciate a tip on how to search  replace  hundreds of *.htm
files:
From this:
   
lia href=http://www.domain.com/tales/wouf.html
To this:
lia href=tales/wouf.html
   
  
   perl -p0777i -e 's/http:\/\/www.domain.com\///g' *.htm
 
  Is -0777 really necessary (causes whole file to be stored in
  memory)?  But that is not really the point of this reply.
 
  Above is a fine opportunity to use alternative delimiters (and to
  restrict the matching (only to link URLs)) ...
 
perl -pi -e 's!(?=href=)\Qhttp://www.domain.com!!g' *.html
 
 
  ... in case of hundreds of *.htm, use xargs(1) pipeline ...
 
find  dir-of-HTML-files  -type f -name '*.html' -print0 \
| xargs -0 perl -pi -e 's!(?=href=)\Qhttp://www.domain.com!!g'
 
 
  Feel free to change Perl version with sed (the version of sed with
  -i option[0]) one ...
 
find ... \
| ... sed -i -e 's,\(href=\)http://www\.domain\.com,\1,g'
 
 
[0] That makes this reply on point.
 
 
- Parv
 
 
  Parv and all:
  Many thanks for these various tips and your time to make them!
 
  I usually use sed(1) myself, but for the life of me, I could not find 
  a way to properly apply delimiters or syntax to get it to work. I was 
  close, but no cigar! Too many slashes and commas I guess.
 
  Such a tool will indeed be a giant timesaver!
 
  Merry Xmas!
 
  All the best,
  Jack
 
 One thing with regular expressions though, is that you can control 
 the command characters to use with defining the search and replace 
 keywords and replacements. If you see my example, I used pipes because 
 you had a number of forward slashes (/), so it allows you to cut down on 
 the number of escaping backslashes in your regular expression / replacement.
 Cheers and a Merry Christmas to you too!
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

The -i option to sed enables it to rewrite a file in place, removing the
need to create new files, delete the old ones, and rename the new ones.
But it needs careful testing, and should never be used without a good
backup of all the files that it might touch. Powerful tools are often
dangerous!
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Install problems

2006-11-25 Thread Mike Jeays
On Sat, 2006-11-25 at 19:04 -0500, Jose wrote:
 Hi,
 
  
 
 Let me start by saying I am new to FreeBSD. I downloaded the iso, burned it
 to disk and installed the software. However when I restart the pc after the
 install I get an error message that it cannot find the kernel. I have gone
 through the install several times already with the same results. Any idea on
 what I could be doing wrong.
 
  
 
 Thank you for your help.
 
  
 
 Jose
 
 New to FreeBSD
 
 

Did you burn it as an ISO, to make a bootable disk?  This is one of the
options in many Windows CD packages such as Nero, and it is essential
that you do this.

More info at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html

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


Re: question

2006-11-12 Thread Mike Jeays
On Sat, 2006-11-11 at 19:40 +0100, Sebastian Herrmann wrote:
 
 Hallo,
 
 could you tell me how to download FreeBSD from your site?
 
 Gruß
 
 Sebastian
 
 
   
 Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de 
 Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's 
 Cup-Yacht! 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

It is all in the handbook.  Please look at
http://www.freebsd.org/projects/newbies.html
and follow the 'handbook' and 'FAQ' links.

Good luck!

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


Re: TV capture card

2006-11-10 Thread Mike Jeays
On Fri, 2006-11-10 at 22:28 +0600, Bachilo Dmitry wrote:
 В сообщении от Пятница 10 ноября 2006 22:18 Tsu-Fan Cheng написал(a):
  Hi
thank you guys. I just ordered a TV card from Avermedia, it should be
  using brooktree chip. i chose AverMedia over Happahauge simply because it's
  less expensive. :-) (i actually live in long island, Happahauge is just
  right here...). I expect i will have some twicking to do to make it work,
  but what the heck!!
 
  TFC
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 Good luck, dude, mine refused to work. I would like to hear your experience 
 later.

If you get it to work, please post the results.  I have never been able
to get my Hauppauge WinTV card to work, although it is fine with Ubuntu
and Suse, using xawtv, kdetv and others.

With FreeBSD 6.1 and xawtv, I get a stream of messages 'bktr
alarmed' (not exact wording), and no picture or sound.

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


Re: Booting FreeBSD from floppy or CD

2006-09-19 Thread Mike Jeays
On Tue, 2006-09-19 at 10:49 -0400, Jerry McAllister wrote:
 On Tue, Sep 19, 2006 at 01:52:07AM -0700, Stanley Wright wrote:
 
  Hi All,
 
Is it possible to boot FreeBSD from  a floppy disk or a CD. I dont want 
  the other users to know the OS is on the computer.
 
 Wow, stealth FreeBSD.
 I haven't done it, but I think you can make a live CD and boot and 
 run from that.  But what about disk space to use - you will want to 
 leave some stuff there somewhere to work on.   Just getting it booted 
 is not very exciting or fulfulling.   
 
 Of course, if the other system on the machine is MS, and you squeeze 
 it down to make room for some FreeBSD work space, it won't show up 
 in MS.   So, maybe no-one will notice the space shrinkage.   You could 
 go ahead and make it FreeBSD bootable too, but then they would see 
 the FreeBSD boot select menu.  
 
 You could put everything there, but replace the MBR with the MS one
 and then use the CD to start the boot and then select the FreeBSD
 slice from its menu and then just run from the disk.   Then the CD
 is only needed for its MBR.   I think that would work.
 
 Anyway, check the FreeBSD handbook on making a live CD and maybe
 someone else will also dip in their oar.
 
 So, what's so scarey about someone else knowing FreeBSD is on the
 machine?
 
 jerry
 
Thanks
Stan
  -
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

A live CD such as Freesbie and a USB memory stick for personal storage
should give you all you need.  You can format the USB memory with the
FreeBSD UFS filesystem, or leave is as a DOS FAT for compatibility with
other operating systems.  You won't need to change a single byte on the
hard disk, and no one will know once you go away.

If you are thwarting company or school policy, watch out!  It might be
much cheaper in the long run to buy another machine of your own.  A used
computer can be had for very little, and an older one will run FreeBSD
just fine.

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


Re: KBTV setup problem

2006-09-06 Thread Mike jeays
On Wed, 2006-09-06 at 12:36 +0200, Danny Pansters wrote:
 Are you by chance attempting to use bktr's MSP for sound (kernel option)? 
 That's not supported by kbtv (unless someone who has a card to reproduce this 
 writes the code), only wiring through the soundcard.
 
 HTH,
 
 Dan
 
 On Wednesday 06 September 2006 05:09, Mike jeays wrote:
  Has anyone else encountered this problem with KBTV?  Note that the line
  showing the mixer channel seems to lack an entry.
 
  chaucer 501 /usr/home/mike # btsetup
  btsetup show
  BKTR - BrookTree/Conexant BT8x8 based cards
  ===
  BKTR MODULE LOADED... Yes
  BKTR DEVICE PERMISSIONS.. OK
  BKTR CAPTURE CHIP BrookTree 878
  BKTR TV CARD. Hauppauge WinCast/TV
  BKTR TUNER TYPE.. Philips NTSC
 
  SAA - Philips SAA713x based cards
  ===
  SAA MODULE LOADED No
  SAA DEVICE PERMISSIONS... Not OK
 
  PWC - Philips and compatible USB webcams
  ===
  PWC MODULE LOADED No
  PWC DEVICE PERMISSIONS... Not OK
 
  SOUND - Sound card and tuner sound wiring
  ===
  SND MODULE LOADED Yes
  AUDIO CHIP... CMedia CMI8738
  MIXER CHANNEL FOR TV.
  btsetup quit
 
  chaucer 502 /usr/home/mike # kbtv
  kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
  Traceback (most recent call last):
File ./kbtv_application.py, line 136, in ?
  mainwindow = KbtvPart(player)
File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
  self.extendToolbar()
File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
  extendToolbar
  self.toolbarwidget = KbtvToolbarWidget(self, tb)
File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
  __init__
  self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
  ValueError: list.index(x): x not in list
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

No, I am trying to use the snd drivers via the built-in sound card in
the motherboard.  I removed all references to the TV card from the
kernel definition file, and let it be loaded dynamically, as suggested
in the documentation.

chaucer 507 /etc # kldstat
Id Refs AddressSize Name
 1   37 0xc040 387d9c   kernel
 21 0xc0788000 3204 splash_bmp.ko
 31 0xc078c000 4228 vesa.ko
 41 0xc07dc000 328c snd_driver.ko
 52 0xc07e 4d08 snd_ad1816.ko
 6   29 0xc07e5000 1d9c8sound.ko
 72 0xc0803000 4c4c snd_als4000.ko
 82 0xc0808000 4fcc snd_cmi.ko
 92 0xc080d000 5514 snd_cs4281.ko
104 0xc0813000 74b0 snd_csa.ko
112 0xc081b000 bedc snd_ds1.ko
122 0xc0827000 7674 snd_emu10k1.ko
132 0xc082f000 618c snd_es137x.ko
143 0xc0836000 4fd8 snd_ess.ko
155 0xc083b000 4894 snd_sbc.ko
162 0xc084 4984 snd_fm801.ko
173 0xc0845000 b3d0 snd_mss.ko
182 0xc0851000 5748 snd_ich.ko
192 0xc0857000 b508 snd_maestro.ko
202 0xc0863000 93f4 snd_maestro3.ko
212 0xc086d000 10928snd_neomagic.ko
222 0xc087e000 48cc snd_sb8.ko
232 0xc0883000 4ea0 snd_sb16.ko
242 0xc0888000 4530 snd_solo.ko
252 0xc088d000 51f8 snd_t4dwave.ko
262 0xc0893000 5418 snd_via8233.ko
272 0xc0899000 45a4 snd_via82c686.ko
282 0xc089e000 45a4 snd_vibes.ko
291 0xc08a3000 115fcbktr.ko
302 0xc08b5000 1e90 bktr_mem.ko
31   16 0xc08b7000 5683cacpi.ko
321 0xc1d32000 15000linux.ko
chaucer 508 /etc # 

-- 
Mike Jeays
[EMAIL PROTECTED]
http://www.jeays.ca

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


KBTV setup problem

2006-09-05 Thread Mike jeays
Has anyone else encountered this problem with KBTV?  Note that the line
showing the mixer channel seems to lack an entry.

chaucer 501 /usr/home/mike # btsetup
btsetup show
BKTR - BrookTree/Conexant BT8x8 based cards
===
BKTR MODULE LOADED... Yes
BKTR DEVICE PERMISSIONS.. OK
BKTR CAPTURE CHIP BrookTree 878
BKTR TV CARD. Hauppauge WinCast/TV
BKTR TUNER TYPE.. Philips NTSC

SAA - Philips SAA713x based cards
===
SAA MODULE LOADED No
SAA DEVICE PERMISSIONS... Not OK

PWC - Philips and compatible USB webcams
===
PWC MODULE LOADED No
PWC DEVICE PERMISSIONS... Not OK

SOUND - Sound card and tuner sound wiring
===
SND MODULE LOADED Yes
AUDIO CHIP... CMedia CMI8738
MIXER CHANNEL FOR TV. 
btsetup quit

chaucer 502 /usr/home/mike # kbtv
kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
Traceback (most recent call last):
  File ./kbtv_application.py, line 136, in ?
mainwindow = KbtvPart(player)
  File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
self.extendToolbar()
  File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
extendToolbar
self.toolbarwidget = KbtvToolbarWidget(self, tb)
  File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
__init__
self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
ValueError: list.index(x): x not in list

-- 
Mike Jeays
[EMAIL PROTECTED]
http://www.jeays.ca

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


Re: Force UDMA100 drive to UDMA33 or PIO4?

2006-09-02 Thread Mike Jeays
On Sat, 2006-09-02 at 21:12 -0500, Nikolas Britton wrote:
 How do you force a UDMA100 drive to UDMA33 or PIO4 mode in FreeBSD 6.1-STABLE?

atacontrol mode ad0 pio4
for example.

man atacontrol, obviously, for more details.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Searching a drive and copying files

2006-07-22 Thread Mike Jeays
On Sat, 2006-07-22 at 10:47 -0400, Joshua Lewis wrote:
 Hello List,
 
 I have a two part question for anyone who may be able to help.
 
 I need to search my drive for all pictures on my system and copy them  
 to a networked system using sftp or ssh or what not. There will be  
 duplicate names on the drive so I was hoping to have dups placed in a  
 separate folder. Due to my for lack of a better term stupidity when I  
 first got my camera I will probably have instances when there will be  
 three or four duplicates. If anyone can help me out with that it  
 would be great.
 
 Second is there a resource online I can use to learn how to do my own  
 shell scripting?
 
 My goal is to find all my pictures and compare them then delete the  
 dups that don't look that good. A daunting task as I have 20 GB of  
 data. I bet 10 GB are dups.
 
 Thanks for any help.
 
 Sincerely,
 Joshua Lewis
 [EMAIL PROTECTED]
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I have a perl script that does part of this, using MD5 hashes to
identify duplicates. I posted it at

http://ca.geocities.com/[EMAIL PROTECTED]/treeprune.pl

Use at your own risk!



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


Re: Corrupt MBOX

2006-07-22 Thread Mike Jeays
On Sat, 2006-07-22 at 13:18 -0400, Gerard Seibert wrote:
 Derek Ragona wrote:
 
  It may be corrupted by spam.  This happens when SPAM has bad headers.  This 
  effects all POP clients/servers.
  
   -Derek
 
 OK, is there any easy repair process that I can use to remedy the
 situation? Second, why isn't the mail corrupted on the mail server that
 I am getting this mail from? If it corrupts my mbox, then why not theirs?
 
 

I would try splitting into roughly halves, and loading them into pine.
Keep splitting the bad half each time until the problem is narrowed
down.  Not all that easy, but it should help you recover almost all the
messages.



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


RE: TIME loss

2006-07-13 Thread Mike Jeays
On Thu, 2006-07-13 at 17:35 -0400, Chris Hill wrote:
 On Thu, 13 Jul 2006, Jean-Paul Natola wrote:
 
  But as I mentioned earlier
 
   ntpd is running , when I do top
 
 ...?
 
 Anyway, make sure your drift file exists and is writeable. Mine looks 
 like this:
 
 $ ls -l /var/db/ntpd.drift
 -rw-r--r--  1 root  wheel  6 Jul 13 17:01 /var/db/ntpd.drift
 
 If it's not there, just
 # touch /var/db/ntpd.drift
 ...and verify permissions. ntpd should be able to take over from there.
 
 
 
 Another thing: (assuming you don't want to use ntpdate) ntpd may not 
 sync to the time server if the local clock is very different from the 
 server's clock. To sync the clock on boot, you can add
 
 ntpd_sync_on_start=NO # Sync time on ntpd startup, even if offset is high
 
 ...to /etc/rc.conf.
 
 
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Wouldn't 'ntpd_sync_on_start=YES' work better?  Or is it a very
non-intuitive parameter?  Refer to
http://www.qnd-guides.org/qnd-ntpd.html


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


Re: file creation date in freebsd

2006-06-17 Thread Mike Jeays
On Sun, 2006-06-18 at 02:44 +0500, Imran Imtiaz wrote:
 However we can find the modification date of a file but is it possible that 
 we can also get creation date of the file?
 
 regards,
 Imran Imtiaz
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

This might help:
http://aplawrence.com/Misc/file-dates.html


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


Re: release 6.1

2006-05-31 Thread Mike Jeays
On Wed, 2006-05-31 at 10:43 -0700, jdow wrote:
 From: Erik Trulsson [EMAIL PROTECTED]
 
  On Wed, May 31, 2006 at 03:49:42PM +0300, mehmet gogebakan wrote:
  i would like to install 6.1-RELEASE to my computer , configuration is:
   
  128 MB SDRAM
  LG cdrom 52x
  8 MB Grafic card 
  40 gb hd
  p3 800 mhz processor 
  azza motherboard 
   
  could you please tell me whether this configuration is suitable,  if not
  tell me the minimum configuration it should be..
  
  Running 6.1 on that should not be any problem.
  
  In fact you could take a computer with only half the RAM of the above, half
  the disk space, and half the CPU speed, and still not have a problem running
  FreeBSD 6.1.
 
 I would suppose you could run it in an even smaller machine if you
 had the patience. (After all you CAN run gasp Windows XP on a 100MHz
 machine with 32 megs of ram if you are REALLY REALLY patient.)
 
 The above machine might benefit from additional ram if he intends to
 do mail filtering on the machine. Tools like SpamAssassin eat ram for
 lunch and leave very little for dinner.
 
 {^_-}   Joanne
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I run 6.0 on a Pentium 100 with 128MB.  It is very responsive 
at the command line, but unusably slow with KDE or GNOME and 
apps like Firefox - although they do work. With XFCE, it is not 
too bad; just needs a little patience.

Why do I bother? I have had the machine since 1997, and it 
has never failed. It has been powered up almost continuously, 
and serves as a backup device every night.  When it breaks, it is
out of here.



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


Re: 21

2006-05-28 Thread Mike Jeays
On Sun, 2006-05-28 at 08:46 -0400, Grant Peel wrote:
 Hi all,
 
 When using cron, I understand the /dev/null thing OK, but what exactly does 
  21 do? Is it usefull anywhere else? Where might one find ducumentation on 
 it?
 
 -Grant
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

It directs both stdout and stderr to /dev/null.  Look in 'man bash', or
any tutorial on bash for a more detailed description.  Quite confusing
syntax, and a hard-to-remember incantation, IMHO.

-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: MESS

2006-05-22 Thread Mike Jeays
On Mon, 2006-05-22 at 19:51 +1000, Mikhail Goriachev wrote:
 none none wrote:
  Hi
I fear that this time a messed up big time. I have two hard drives one 
  with Windows XP (40G) and another with FreeBSD 6.1  (10G). Eveything was ok 
  until I decided i wanted to mount my windows drive to FreBSD (i run KDE as 
  GUI). I followed the instruction from OnLamp.com and since i wanted the 
  whole process to be automated on every boot i added the following lines in 
  /etc/fstab using ee: 
/dev/ad0s1  /windowsntfs   rw   1 1
   
and everything looked normal until i rebooted! now when i choose FreeBSD 
  on the bootmanager it starts looking ok and ends up with the following:
fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or 
  directory
Unknown error: help!
init /bin/sh on /etc/rc terminated abnormaly, going to single user mode
Enter full pathname of shell of RETURN for /bin/sh
 
if i enter single user mode it dasen't seem to recognize many commands: 
  starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this 
  is the problem. 
 
Moreover now i am unable to enter windows as the bootmanager when i ask 
  him to load the DOS disk it just reboots the system. I even tried to leave 
  only the (40G) on the machine but thens it just crashes right after memeory 
  check. I am seriously in need for some help, if anyone could suggest 
  anything i would appreciate it a lot. Thanks in advance
andreas Sotriakopoulos
 
 
 Hi,
 
 This one is gonna sound funny. I once had a mistype in /etc/fstab
 myself. I solved it by pulling the hard drive off the box, mounting it
 on another one and then I modified the file. I guess you could do the
 same if you have a spare FreeBSD box lying around. But there must be a
 better way doing it though.
 
 
 Cheers,
 Mikhail.
 
 
The 'ed' editor is in /bin, and so is available at single-user boot.  It
is a real antique, but if you have a copy of the manual it is not too
hard to correct /etc/fstab.

'ee' is in /usr/bin
-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: cleaning off unix/linux????

2006-05-21 Thread Mike Jeays
On Sun, 2006-05-21 at 13:41 -0700, Gary Kline wrote:
 On Sat, May 20, 2006 at 07:21:23PM -0500, Charles Howse wrote:
  
  On May 20, 2006, at 6:46 PM, Gary Kline wrote:
  
 Gang,
  
 A 40G drive that I thought was bad (when trying to install W2K
 on the drive) may be entirely good.  I am trying to avoid having
 to buy a DOS/Win platform.  I've had both W2K and FBSD or Ubuntu
 on this one machine.  For various reasons I need one DOS machine.
 (Already have 7 or 8 *Nix servers.)   The Windows 2000
 Professional CD find some other non-Windows partition and
 press D and L as I will, the installation CD keeps
 complaining.  Eventually I have to hit F3 to quit.  So, nutshell,
 is there any way I can completely remove any trace of *Nix?
 -I remember having a DOS floppy and typing an undocumented
 MBR \ command that wiped the drive clean of this boot record,
 but this was [mumble] years ago.
  
 thanks for any tips, y'all,
  
 gary
  
  Looking for delpart.exe?  I've used it, it'll do the trick.
  http://www.russelltexas.com/delpart.htm
  
 
   Your suggestion would do the trick except that I cannot get
   any W2K installed.  That's the problem.  So I'm stuck between 
   the rational (unix) and the imbecilic (guess).
 
   Too bad there isn't some unix/linux port, hopefully floppy-sized 
   that will boot just enough DOS to use delpart.exe.  
 
   Maybe FreeDOS has a boot floppy?  Ahnybody here know?
 
   gary
 
 

Have you tried Knoppix?  You can use the dd command to wipe a disk very
effectively.  And if the machine won't boot Knoppix, I would suspect a
hardware problem.


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


Re: newly installed apps not in path?

2006-05-15 Thread Mike Jeays
On Mon, 2006-05-15 at 13:36 -0700, Atom Powers wrote:
 I've noticed this behavior since 4.3, but it's just now starting to
 get really annoying.
 
 Whan I install a new application (from ports) I have to execute it
 with the full path until I start a new shell. (in sh, tcsh, and bash)
 
 What causes this behavior, and how can I fix it (cause newly installed
 apps to be executable without a full path)?
 
 
 DIT793# which sudo
 sudo: Command not found.
 DIT793# portinstall sudo
 ...
 DIT793# ll /usr/local/bin/sudo
 ---s--x--x  2 root  wheel  89020 May 15 13:31 /usr/local/bin/sudo
 DIT793# which sudo
 sudo: Command not found.
 DIT793# tcsh
 DIT793# which sudo
 /usr/local/bin/sudo
 DIT793# exit
 exit
 DIT793# which sudo
 sudo: Command not found.
 
 

For csh and tcsh, I beleive you have to issue a 'rehash' command after
modifying the libraries in $PATH.  I would not have expected to see this
problem with bash, however.

-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: xhost does not work as expected

2006-04-27 Thread Mike Jeays
On Thu, 2006-04-27 at 17:02 +0200, Frank Bonnet wrote:
 Garrett Cooper wrote:
 
  
  It's most likely because you (or someone masquerading as you, ie 
  startkde) is using a default startx setup:
  
  [EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *
  
  #snip
  
  X11R6/bin/startx:defaultserverargs=-nolisten tcp -br
  
 
 Ok I use kdm to start the WM and I didn't find any way
 to start X without the -nolisten_tcp option
 
 Is there a conf. file to do so ?
 thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


To enable remote X displays, use either startx -listen_tcp or,
in /usr/local/share/config/kdm/kdmrc comment out
ServerArgsLocal=-nolisten tcp


-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: best way to use cp?

2006-03-25 Thread Mike Jeays
On Fri, 2006-03-24 at 12:38 -0600, Jonathan Horne wrote:
 ok, tell them dumb linux user how to properly copy directories recursivly,
 so he can stop overwritng directories with source files.
 
 /humor
 
 ok seriously, tho, i think im doing it wrong.  last night i blasted some
 directories, and when i looked at the destination of where i was supposed to
 be copying to, it was full of all kinds of junk that was supposed to be in
 the top level of the directories i was copying.
 
 example, i want to copy /mnt/usb1/path/oldfolder  (the folded all its
 recursive contents) into /home/mydir
 
 im pretty sure i have the syntax wrong, so could someone enlighten me?
 
 thanks!
 jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

cp -Rp /mnt/usb1/path/oldfolder/ /home/mydir/

Note the trailing slash on the source directory.  For more information,
see man cp.  -R says to copy recursively down through directories, and
-p says to preserve permissions, dates and times etc.



-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


Re: Availability of a journaling file system

2006-03-23 Thread Mike Jeays
On Thu, 2006-03-23 at 06:50 +, Martin Hepworth wrote:
 Hi
 
 in freebsd this is called softupdates and can be enables using tunefs (see
 the man page).
 
 If not quite journaling as it does things slightly differently, but achieves
 many of the same effects, like reduced fsck time on boot.
 
 --
 martin
 
 On 3/22/06, Luiz Eduardo Guida Valmont [EMAIL PROTECTED] wrote:
 
  I've had some problems earlier this year due to FreeBSD-6.0 crashing
  after a few hours of execution (perhaps it's mal-functioning hd's dma,
  but - simply put - I can't install FreeBSD 2 or 3 times a day to find
  out! ^^). And so I thought of journaling file systems.
 
  I think XFS is being ported to FreeBSD, but last news on the official
  page (http://people.freebsd.org/~rodrigc/xfs/) dates from December
  12th, 2005 (and it's still read-only). So...
 
  Is there a journaling file system (rw ready) available? Which one?
 
  Another question: how can I completly diable hd dma? -.-
 
  --
  []'s,
  Luiz Eduardo
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [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 can disable DMA with the atacontrol command: for example

atacontrol mode ad0 pio4

I have a Maxtor 40GB which won't work in DMA mode with FreeBSD, although
it seems fine with other OSes.  There is a hefty perfomance hit, of
course!


-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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


  1   2   3   >