Re: Weird networking issue
Glen Barber wrote: > On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: [snip description of network flakiness on one server, out of several on the same switch behind the same gateway] > > Any ideas? :-) > > > I have 2: > 1.) Bad NIC > 2.) Bad CPU 3. Bad cable from NIC to switch 4. Bad switch port These may not be all that likely, but they're easy to test if you have even a marginally-competent tech available at the site. ___ 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: Weird networking issue
Glen Barber skrev: On Mon, Aug 3, 2009 at 6:53 PM, Glen Barber wrote: I have 2: 1.) Bad NIC 2.) Bad CPU A while back, I found out I had a bad CPU after replacing everything else on the machine -- I would still receive CRC mismatch errors with portsnap(8). The NIC is more probable IMHO, but both should be suspect here. Now that I think about it... Do you do regular builds? Can you try to 'buildworld' (assuming you can get csup to pull the source tree? If CPU is the problem, you may experience random SIGSEGV errors when running the buildworld. If it fails in different areas of the build, this is most likely (from my experience) the problem. I've been doing buildworld -j4 for 8 hours without problems now. I'll see if I can get someone onsite to try another cable and switch port. -- Joel ___ 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: ZFS Boot Support from Installer
Tim Gustafson wrote: > Hi, > > I was wondering if there was a plan or time line in place to support ZFS boot > partitions in the installer. I Googled around a bit and found some how-to > documents for setting it up in a hacky kind of way, but the impression I got > is that support for ZFS partitions is coming to the installer in perhaps 7.3 > or 8.0, and I wanted to confirm or dispel that myth before I go forward using > the hacky method. > > Thanks! > > Tim Gustafson > Baskin School of Engineering > UC Santa Cruz > t...@soe.ucsc.edu > 831-459-5354 > > ___ > 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" > Hello, I don't know about the "installer" but I believe the bootloader in 8.0 will (allready does) support booting from zfs. See links below for 8.0: http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ for 7.x: http://wiki.freebsd.org/ZFSOnRoot I'd go for 8.0 if you whish to use an all zfs system. You might want to wait for the release version if you are affraid of the "hacking" method. Or you could try it in a Virtual Machine. Greetz, Mark signature.asc Description: OpenPGP digital signature
Re: Manual Installations on Flash Media
Polytropon wrote: > On Sat, 1 Aug 2009 14:21:02 -0700, David Allen > wrote: > >> I need to create a FreeBSD installation on an SSD drive (connected via a >> USB adaptor), and would like to do so manually so as to avoid the use of >> an installation CD, PXE or sysinstall. >> >> 1. Would a device alphabetical order (as used by bsdlabel) work? >> > > I think it's no problem. My /etc/fstab looks that way: > > /dev/ad0s1b none swapsw0 0 > /dev/ad0s1a / ufs rw1 1 > /dev/ad0s1d /tmp ufs rw2 2 > /dev/ad0s1e /var ufs rw2 2 > /dev/ad0s1f /usr ufs rw2 2 > /dev/ad0s1g /home ufs rw2 2 > > > > >> 2. I don't expect the system to swap, so can I dispense with a swap entry >> and have everything function normally (no error messages, etc.)? >> > > I don't know how to "expect" swapping. As far as I understood, the > system decides by itself if to write data to / read data from the > swap file. I'm not sure if you can omit it. > > > > >> 3. Will adding `noatime' to / or any other filesystem have any >> consequences? >> > > Yes. The access time for files won't be recorded. Using the noatime > option is often advised for the use with SSD media, so is ANY advice > that helps to minimize read / write cycles in order to increase the > life time of the media. > > > > You may want to look at the link below. It describes how to install freebsd on an USB-pendrive. http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2 It notes that /var/log /var/run and /tmp should not be written to flash memory. You can use memory devices for these directories to minimize disk writes. If you want, you can backup/and repopulate these directories on shutdown/startup. Hope it helps! Mark signature.asc Description: OpenPGP digital signature
Re: upgrade 7.2 overwrites partitions
PJ wrote: > Could somone explain to me why an upgrade from sysinstall would > overwrite partitions; especially when the instructions indicate that > files will not be overwritten? > > Dear Phil, Ofcourse if you upgrade, files will be overwritten. Could you please be more specific? Greetz, Mark signature.asc Description: OpenPGP digital signature
Re: Secure password generation...blasphemy!
On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... It is very easy to generate hard-to-guess semi-random passwords: openssl rand -base64 6 some examples: hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h Even though this is semi-random, these are still extremely hard to guess, and neither will a dictionary attack be much use. The _big_ downside is that this kind of passwords are hard to remember. So people _will_ write them down. Which isn't a problem in itself, as long as they keep that piece of paper secure. (so not taped to their monitor, or under their keyboard.) A better solution IMHO is to let people make their own acronyms, mixed with a little l33tsp34k. That way you can have something easy to remember, but still hard to guess. E.g. "Ask not for whom the bell tolls" would become "An4wtbt". Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp1s3UVhYmb9.pgp Description: PGP signature
Re: ftps ?(off-topic)
Neal Hogan wrote: > On Mon, Aug 3, 2009 at 5:16 PM, Mel > Flynn wrote: > >> On Monday 03 August 2009 04:26:32 Neal Hogan wrote: >> >>> 2009/8/3 Odhiambo ワシントン : >>> On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < frederi...@isafeelin.org> wrote: > Odhiambo ワシントン wrote: > >> What is ftps? >> > # grep ftps /etc/services > ftps-data 989/tcp# ftp protocol, data, over TLS/SSL > ftps-data 989/udp > ftps990/tcp# ftp protocol, control, over TLS/SSL > ftps990/udp > pure-ftpd supports TLS/SSL. I am wondering if it can do this. >>> I was curious about the OP's use of 'ftps" too. Perhaps, he could >>> explain what plain-old-ftp doesn't do and what he wants it to do. >>> >> When in doubt, use "she". :) >> > > I wasn't in doubt, but perhaps my chauvinism reared its head. I > apologize if I offended anyone. > > It's actually quite funny that you bring this up, because I'm involved > in a thread on debian-user@ with this topic. I (correctly) referred to > someone as Mr. So-n-so and others questioned my choice of masculine > reference. > > >> -- >> Mel >> >> > ___ > 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 would be nice to hear more "she-calling" on these lists though... So maybe mailing list etiquette should state anyone posting to a mailing list should be referred to as "she" like we do with boats and institutions like the court... (well in dutch we do...) However, Frederique should imply the person who started this thread is female. Either that or cette person has cruel parents... signature.asc Description: OpenPGP digital signature
Re: Secure password generation...blasphemy!
On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote: > On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: > > I need a way to generate a lot of secure passwords. So, I read all > > about it. Either people are getting way carried away, or I'm missing > > something... > > It is very easy to generate hard-to-guess semi-random passwords: > >openssl rand -base64 6 > > some examples: > > hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h > > Even though this is semi-random, these are still extremely hard to > guess, and neither will a dictionary attack be much use. The _big_ > downside is that this kind of passwords are hard to remember. So people > _will_ write them down. Which isn't a problem in itself, as long as they > keep that piece of paper secure. (so not taped to their monitor, or > under their keyboard.) > > A better solution IMHO is to let people make their own acronyms, mixed > with a little l33tsp34k. That way you can have something easy to > remember, but still hard to guess. E.g. "Ask not for whom the bell > tolls" would become "An4wtbt". I really like the VMS password generation facility: UAF> modify donkey/generate_password tratworman cralopyter bosequism coshindius jaritions Enter PRIMARY password: clumiump wrielene guirtiety scapress primpatly Enter PRIMARY password: odliesting conetred emenstate ammycle rasests ... You are given a choice of 5 passwords to choose from. If you don't like any, keep going until something comes up that's easy to remember for you. The system manager can specify the min required length. I think this is a really nice utility, and VMS systems are very rarely compromised, though perhaps VMS users are better trained in password safe keeping. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 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"
Re: Secure password generation...blasphemy!
Anton Shterenlikht wrote: > On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote: >> On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: >>> I need a way to generate a lot of secure passwords. So, I read all >>> about it. Either people are getting way carried away, or I'm missing >>> something... >> It is very easy to generate hard-to-guess semi-random passwords: >> >>openssl rand -base64 6 >> >> some examples: >> >> hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h >> >> Even though this is semi-random, these are still extremely hard to >> guess, and neither will a dictionary attack be much use. The _big_ >> downside is that this kind of passwords are hard to remember. So people >> _will_ write them down. Which isn't a problem in itself, as long as they >> keep that piece of paper secure. (so not taped to their monitor, or >> under their keyboard.) >> >> A better solution IMHO is to let people make their own acronyms, mixed >> with a little l33tsp34k. That way you can have something easy to >> remember, but still hard to guess. E.g. "Ask not for whom the bell >> tolls" would become "An4wtbt". > > I really like the VMS password generation facility: > > UAF> modify donkey/generate_password > > tratworman > cralopyter > bosequism > coshindius > jaritions > > Enter PRIMARY password: > > clumiump > wrielene > guirtiety > scapress > primpatly > > Enter PRIMARY password: > > odliesting > conetred > emenstate > ammycle > rasests > > ... > > You are given a choice of 5 passwords to choose from. > If you don't like any, keep going until something > comes up that's easy to remember for you. > > The system manager can specify the min required length. > > I think this is a really nice utility, and VMS systems are > very rarely compromised, though perhaps VMS users are > better trained in password safe keeping. > Password guessing will crack these in a jiffy. Hardly secure I would say... I use apg, like this: /usr/local/bin/apg -x 8 -m 8 -l -MSNCL -s 8 characters, minimal one capital, number and special sign, and I could use a previous used password (or random) as input. Peter -- http://www.boosten.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: ftps ?(off-topic)
On Tue, Aug 04, 2009 at 10:14:39AM +0200, Mark Stapper typed: > It would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. > Either that or cette person has cruel parents... > Bollocks! ___ 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"
Moused crashes with Synaptics
Hi, an Acer notebook with a Synaptics Touchpad makes some trouble here. My primary problem is: I restart the mouse daemon and then I can move the mouse only for a short distance; suddenly the mouse freezes. To analyze the problem I do the following: # /etc/rc.d/moused restart # dd if=/dev/sysmouse bs=4 | xxd -c 4 000: 87fb 05fb 004: 0687 f709 008: 8787 f207 00c: 87e1 09e1 010: 0a87 f600 014: f600 87e2 018: f8e3 f987 01c: f7fa f8fb 020: 87f3 f7f4 024: f887 f3f5 028: f3f6 87f4 02c: f3f4 f487 030: f7f4 f8f5 034: 87fa f5fb 038: f587 fcf5 03c: fdf6 87ff 040: f6ff f787 044: 01f6 02f6 048: 87 . 18+1 records in 18+1 records out 73 bytes transferred in 21.774484 secs (3 bytes/sec) # You see: dd stops without reporting an error. Obviously the moused doesn't work properly any more. Further I seem to have missed something else. I found the page http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some sysctls: hw.psm.synaptics_support="1" hw.psm.synaptics.vscroll_hor_area=1300 I don't have those ctls here and I cannot find the kernel driver that provides them. Does anybody have some advice for me? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ 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: ftps ?(off-topic)
On Tue, Aug 4, 2009 at 3:14 AM, Mark Stapper wrote: > Neal Hogan wrote: >> On Mon, Aug 3, 2009 at 5:16 PM, Mel >> Flynn wrote: >> >>> On Monday 03 August 2009 04:26:32 Neal Hogan wrote: >>> 2009/8/3 Odhiambo ワシントン : > On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < > > frederi...@isafeelin.org> wrote: > >> Odhiambo ワシントン wrote: >> >>> What is ftps? >>> >> # grep ftps /etc/services >> ftps-data 989/tcp# ftp protocol, data, over TLS/SSL >> ftps-data 989/udp >> ftps990/tcp# ftp protocol, control, over TLS/SSL >> ftps990/udp >> > pure-ftpd supports TLS/SSL. > > I am wondering if it can do this. > I was curious about the OP's use of 'ftps" too. Perhaps, he could explain what plain-old-ftp doesn't do and what he wants it to do. >>> When in doubt, use "she". :) >>> >> >> I wasn't in doubt, but perhaps my chauvinism reared its head. I >> apologize if I offended anyone. >> >> It's actually quite funny that you bring this up, because I'm involved >> in a thread on debian-user@ with this topic. I (correctly) referred to >> someone as Mr. So-n-so and others questioned my choice of masculine >> reference. >> >> >>> -- >>> Mel >>> >>> >> ___ >> 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 would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. Perhaps . . . > Either that or cette person has cruel parents... > > New mailing list etiquette: Everyone should include his/her gender when posting. ___ 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: ftps ?(off-topic)
On Tue, 4 Aug 2009 07:06:47 -0500 Neal Hogan wrote: > New mailing list etiquette: Everyone should include his/her gender > when posting. OK, then lets also include ethnic background, political affiliation, religious affiliation along with a cornucopia of other irrelevant information. -- Jerry ges...@yahoo.com What makes us so bitter against people who outwit us is that they think themselves cleverer than we are. ___ 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: ZFS Boot Support from Installer
My zfs only system works fine but it based on 8-beta2 built around 16 May( will be rebuilding soon) The main thing to remember to do it make sure your have zfs_loader_support="yes" in your src of make.conf I based my install on this howto http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD If you dont want to go for current in theory if you install the boot blocks and loader from current onto the disk you should be able to boot into 7.2 I havent tested this though On thing I would advise though is don't install the root partition in the root of the zpool I have mine like this system68.1G 74.6G21K /system system/home 59.3G 74.6G 59.3G /home system/local-old 952M 74.6G 952M /system/local-old system/root 4G 77.1G 1.53G legacy system/scripts 20K 74.6G20K /usr/local/scripts system/tmp 31K 4.00G31K /tmp system/usr-local 396M 74.6G 324M /usr/local system/usr-obj1.85G 74.6G 1.65G /usr/obj system/usr-ports 193M 74.6G 185M /usr/ports system/usr-ports/distfiles8.53M 74.6G 8.53M /usr/ports/distfiles system/usr-src 499M 74.6G 303M /usr/src system/var1014M 74.6G 776M /var system/var/log 192M 74.6G 192M /var/log system/var/mysql 46.4M 74.6G 46.4M /var/db/mysql I did it like this as it is more like an opensolaris setup. If i wanted to say run a new os build I could say install it on a new zfs fs called say root_MMDD which would be a clone of the original root. I could then flip flop between these installations by resetinng the bootfs option of the pool ___ 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: ftps ?(off-topic)
Jerry wrote: On Tue, 4 Aug 2009 07:06:47 -0500 Neal Hogan wrote: New mailing list etiquette: Everyone should include his/her gender when posting. OK, then lets also include ethnic background, political affiliation, religious affiliation along with a cornucopia of other irrelevant information. Oooh! Oooh! Can we include the date of the most recent recalibration of the sarcasm bit detector? 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"
kernel panics in 7.2-RELEASE
Hi, I have 7.2-RELEASE running on two older laptops and both have had a few kernel panics lately. Unfortunately the one that paniced today doesn't have debugging symbols, so I'm sure how useful any of output below will be. Joey % dmesg . . . Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc05e480b stack pointer = 0x28:0xe7228820 frame pointer = 0x28:0xe7228860 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 50277 (mtree) trap number = 12 panic: page fault . . . % sudo kgdb kernel /var/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. #0 0xc0566ddb in doadump () ___ 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: Secure password generation...blasphemy!
Good call on the hashing, reducing the quality of the passwords, Kurt. The hash generated passwords are for online accounts, as auto-generated initial passwords and such. But I'm also looking for a good way to generate high quality crypto keys. In the later case, the data being protected are disk images of clients...mountains of sensitive data. These will be on USB keys, and thus do not need to be memorized. Assuming my clients are not enemies of a state, /dev/random should be a sufficient source for this purpose, correct? i.e: dd if=/dev/random of=foo.key bs=256 count=1 Thanks guys! -Modulok- ___ 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: Secure password generation...blasphemy!
On Mon, 3 Aug 2009 22:20:50 -0800 Mel Flynn wrote: > On Monday 03 August 2009 18:28:52 Modulok wrote: > > > I wrote a python script which uses /dev/random, and hashes the > > output with sha256. I then truncate the output to the desired > > length. Blasphemy! According to the superstitious password crowd my > > passwords are not very secure ... maybe. > > They aren't, because you reduce the random to a much less random, > *because* you are hashing. Not in FreeBSD, it's a 256bit PRNG and a 256 bit hash. ___ 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: Secure password generation...blasphemy!
As I understand it I would have to double the length of a hashed password for it to be as secure as an un-hashed one, as each pair of characters represent one byte. Aye? -Modulok- On 8/4/09, RW wrote: > On Mon, 3 Aug 2009 22:20:50 -0800 > Mel Flynn wrote: > >> On Monday 03 August 2009 18:28:52 Modulok wrote: >> >> > I wrote a python script which uses /dev/random, and hashes the >> > output with sha256. I then truncate the output to the desired >> > length. Blasphemy! According to the superstitious password crowd my >> > passwords are not very secure ... maybe. >> >> They aren't, because you reduce the random to a much less random, >> *because* you are hashing. > > Not in FreeBSD, it's a 256bit PRNG and a 256 bit hash. > ___ > 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: Secure password generation...blasphemy!
On Mon, 3 Aug 2009 20:28:52 -0600 Modulok wrote: > However, wouldn't hashing bytes from /dev/random be quite secure? The > hash function would cover any readily apparent patterns, if they were > found to existed. That's fine, the only issue is that hex digits lead to long passwords for a given stength. Most password generators are OK, provided that they ultimately derive a sufficiently strong seed from /dev/random and don't do anything stupid, this includes things like jot, which uses the arc4random library. The main problem is that there are still a few generators around, IIRC sysutils/pwgen is one, that still seed from the time and the pid, so I wouldn't use a generator unless I'd seen the source. ___ 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: Secure password generation...blasphemy!
On Tue, 4 Aug 2009 10:42:22 -0600 Modulok wrote: > As I understand it I would have to double the length of a hashed > password for it to be as secure as an un-hashed one, as each pair of > characters represent one byte. Aye? I wouldn't put it quite like that, it's the hexadecimal representation that puts one bytes into two characters not the hashing. ___ 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"
cvs tag usage
I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP _7_2_0_RELEASE _7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 Where can I find some explanation on this? Thanks in advance David ___ 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: cvs tag usage
David Southwell wrote: > I am confused about the usage of the tag for src. > > I took a look at the web pages and found the following choices: > > _7_BP > _7_2_BP > _7_2_0_RELEASE > _7_2 > > But could not find anything that told me where -p2 fits into this!! > > > # uname -a > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > To synchronize src do I use: > > *default release=cvs tag=RELENG_7_2 > will this automatically track the latest version in 7_2 and therefore > keep track with 7.2-RELEASE-p2 or later?? > Yes. RELENG_7_2 is the security patched update of Release. The -p2 means there have been two security patches applied to the source code. The actual release (RELENG_7_2_0_RELEASE) is static and will never change. The only thing that changes with _7_2 is the addition/inclusion of the patches you see in the security announcements. -Mike ___ 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: Weird networking issue
On Tue, Aug 4, 2009 at 1:56 AM, wrote: > Glen Barber wrote: > > On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: > > [snip description of network flakiness on one server, out > of several on the same switch behind the same gateway] > > > > Any ideas? :-) > > > > > I have 2: > > 1.) Bad NIC > > 2.) Bad CPU > > 3. Bad cable from NIC to switch > 4. Bad switch port > > These may not be all that likely, but they're easy to test if > you have even a marginally-competent tech available at the site. > > I had similar behavior about a years ago. I also had a not very frequent( < once a week) sporadic reboot issue during it. I replaced the RAM and it's not had the issue anymore. I may have rebuilt world too... -- 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"
Re: cvs tag usage
> David Southwell wrote: > > I am confused about the usage of the tag for src. > > > > I took a look at the web pages and found the following choices: > > > > _7_BP > > _7_2_BP > > _7_2_0_RELEASE > > _7_2 > > > > But could not find anything that told me where -p2 fits into this!! > > > > > > # uname -a > > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > To synchronize src do I use: > > > > *default release=cvs tag=RELENG_7_2 > > will this automatically track the latest version in 7_2 and therefore > > keep track with 7.2-RELEASE-p2 or later?? > > Yes. RELENG_7_2 is the security patched update of Release. The -p2 means > there have been two security patches applied to the source code. The actual > release (RELENG_7_2_0_RELEASE) is static and will never change. The only > thing that changes with _7_2 is the addition/inclusion of the patches you > see in the security announcements. > > -Mike > > > Thanks for being helpful.. it might be useful if these designations appeared somewhere in the documentation-- but I guess there is enough for people to do!!! From what you are saying using *default release=cvs tag=RELENG_7_2 will work for me Thanks again David ___ 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: cvs tag usage
On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > I am confused about the usage of the tag for src. > > I took a look at the web pages and found the following choices: > > _7_BP > _7_2_BP BP ? > _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. > _7_2 > > But could not find anything that told me where -p2 fits into this!! > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > # uname -a > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > To synchronize src do I use: > > *default release=cvs tag=RELENG_7_2 > will this automatically track the latest version in 7_2 and therefore keep > track with 7.2-RELEASE-p2 or later?? > > or > do I need to use something like: > > *default release=cvs tag=RELENG_7_2-p2 > No. Read the link I posted above. > Where can I find some explanation on this? > > Thanks in advance > -- Glen Barber ___ 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: Moused crashes with Synaptics
Hi, Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > Hi, > > an Acer notebook with a Synaptics Touchpad makes some trouble > here. My primary problem is: I restart the mouse daemon and then I > can move the mouse only for a short distance; suddenly the mouse > freezes. > > To analyze the problem I do the following: > > # /etc/rc.d/moused restart > # dd if=/dev/sysmouse bs=4 | xxd -c 4 > ... > 048: 87 . > 18+1 records in > 18+1 records out > 73 bytes transferred in 21.774484 secs (3 bytes/sec) > # > > You see: dd stops without reporting an error. Obviously the moused > doesn't work properly any more. In the meantime I learned that there is /dev/bpsm0 and I wrote a litte Ruby script that reads /dev/psm0. Both devices refuse to supply anything after a very short period of time. What could this be? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ 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"
not dead [yet].
Until late Sunday night I was here at keyboard/computer virtually 24/7 working on thesis. So was my advisor, but then that's his *job*. Anyway, now it's wait and see. Meanwhile: how do I get rid of a truckload of old binaries that I rarely/never use? Most show a list of dependencies that's about 70 lines long, and I don't want to break things. --To give a ferinstance, last spring I installed every OCR port we've got. Not came close; all can go. thanks for some lights! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php ___ 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: cvs tag usage
Glen Barber wrote: >On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: >> I am confused about the usage of the tag for src. >> >> I took a look at the web pages and found the following choices: >> >> _7_BP >> _7_2_BP > >BP ? > It is the "branchpoint" tag, made when a release branch is first created: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html It is not documented in most places because it is primarily of interest to developers. >> _7_2_0_RELEASE > >Should be RELENG. Don't blindly follow how-tos. > RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you haven't verified them. >> _7_2 >> >> But could not find anything that told me where -p2 fits into this!! >> > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html More to the point is the following page in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html b. ___ 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: not dead [yet].
Hi, Gary On Tue, Aug 4, 2009 at 3:16 PM, Gary Kline wrote: > > Until late Sunday night I was here at keyboard/computer virtually > 24/7 working on thesis. So was my advisor, but then that's his > *job*. Anyway, now it's wait and see. > Such is academia. :-) > Meanwhile: how do I get rid of a truckload of old binaries that I > rarely/never use? Most show a list of dependencies that's about > 70 lines long, and I don't want to break things. > ports-mgmt/pkg_cutleaves may be what you're looking for. > --To give a ferinstance, last spring I installed every OCR port > we've got. Not came close; all can go. > > thanks for some lights! > -- Glen Barber ___ 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: cvs tag usage
On Tue, Aug 4, 2009 at 3:54 PM, b. f. wrote: > Glen Barber wrote: >>On Tue, Aug 4, 2009 at 1:43 PM, David Southwell >>wrote: >>> I am confused about the usage of the tag for src. >>> >>> I took a look at the web pages and found the following choices: >>> >>> _7_BP >>> _7_2_BP >> >>BP ? >> > > It is the "branchpoint" tag, made when a release branch is first created: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html > I see. Noted. > It is not documented in most places because it is primarily of > interest to developers. > >>> _7_2_0_RELEASE >> >>Should be RELENG. Don't blindly follow how-tos. >> > > RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you > haven't verified them. > He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. >>> _7_2 >>> >>> But could not find anything that told me where -p2 fits into this!! >>> >> >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > More to the point is the following page in the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > -- Glen Barber ___ 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: cvs tag usage
On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: > On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > > I am confused about the usage of the tag for src. > > > > I took a look at the web pages and found the following choices: > > > > _7_BP > > _7_2_BP > > BP ? BP = Branch Point. It is a tag which marks the place where the corresponding branch was created. > > > _7_2_0_RELEASE > > Should be RELENG. Don't blindly follow how-tos. > > > _7_2 > > > > But could not find anything that told me where -p2 fits into this!! > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > > > > # uname -a > > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > To synchronize src do I use: > > > > *default release=cvs tag=RELENG_7_2 > > will this automatically track the latest version in 7_2 and therefore keep > > track with 7.2-RELEASE-p2 or later?? > > > > or > > do I need to use something like: > > > > *default release=cvs tag=RELENG_7_2-p2 > > > > No. Read the link I posted above. > > > Where can I find some explanation on this? > > > > Thanks in advance > > > > > > -- > Glen Barber > ___ > 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" -- Erik Trulsson ertr1...@student.uu.se ___ 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: ftps ?(off-topic)
On Tuesday 04 August 2009 00:14:39 Mark Stapper wrote: > It would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. OK, that grew out of proportion real quick. The number of knowledgeable actively posting females on this list is very low, which is why I think we should cherish them, like an endangered species (or ladies if you will). No need to go overboard :) -- Mel ___ 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: ZFS Boot Support from Installer
On Mon, Aug 3, 2009 at 11:48, Tim Gustafson wrote: > Hi, > > I was wondering if there was a plan or time line in place to support ZFS > boot partitions in the installer. I Googled around a bit and found some > how-to documents for setting it up in a hacky kind of way, but the > impression I got is that support for ZFS partitions is coming to the > installer in perhaps 7.3 or 8.0, and I wanted to confirm or dispel that myth > before I go forward using the hacky method. I wouldn't recommend using zfs at all right now, unless you want random crashes and lots of missing data.. ESPECIALLY in 8.0,1,2 versions. Just my 2 cents... > > > Thanks! > > Tim Gustafson > Baskin School of Engineering > UC Santa Cruz > t...@soe.ucsc.edu > 831-459-5354 > > ___ > 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: cvs tag usage
On Tuesday 04 August 2009 12:52:54 Erik Trulsson wrote: > On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: > > On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > > > I am confused about the usage of the tag for src. > > > > > > I took a look at the web pages and found the following choices: > > > > > > _7_BP > > > _7_2_BP > > > > BP ? > > BP = Branch Point. It is a tag which marks the place where the > corresponding branch was created. And for developers or interesting parties, one can create cvs diff using -rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during the final release stage. -- Mel ___ 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: not dead [yet].
On Tue, 4 Aug 2009 16:32:54 -0400 Glen Barber wrote: > > Meanwhile: how do I get rid of a truckload of old binaries > > that I rarely/never use? Most show a list of dependencies that's > > about 70 lines long, and I don't want to break things. > > > > ports-mgmt/pkg_cutleaves may be what you're looking for. Or "portmanager -slid" which is a bit easier to use for a one-off cleanup, and also understands build-dependencies. ___ 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: cvs tag usage
On 8/4/09, Glen Barber wrote: >> _7_2_0_RELEASE >>> >>>Should be RELENG. Don't blindly follow how-tos. >>> >> >> RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you >> haven't verified them. >> > > He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. ... Mel Flynn wrote: > >And for developers or interesting parties, one can create cvs diff using >-rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during >the final release stage. How many "interesting parties" have you been to, Mel, where such a listing came in handy? ;) ___ 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: not dead [yet].
On Tue, Aug 04, 2009 at 12:16:56PM -0700, Gary Kline wrote: > > Until late Sunday night I was here at keyboard/computer virtually > 24/7 working on thesis. So was my advisor, but then that's his > *job*. Anyway, now it's wait and see. Good luck! > Meanwhile: how do I get rid of a truckload of old binaries that I > rarely/never use? Most show a list of dependencies that's about > 70 lines long, and I don't want to break things. > > --To give a ferinstance, last spring I installed every OCR port > we've got. Not came close; all can go. What you can do is make a list of all installed ports with ports-mgmt/portmaster: portmaster -L >ports.list Looking through this list, you'll see four categories; - Root ports (No dependencies, not depended on) - Trunk ports (No dependencies, are depended on) - Branch ports (Have dependencies, are depended on) - Leaf ports (Have dependencies, not depended on) Basically, you can delete any of the leaf and root ports, because they're not depended on. E.g. if you have the following in your list as a leaf port: ===>>> qemu-0.10.6 you can execute 'pkg_delete -d qemu-0.10.6' as root, and it is gone. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp1ruSLkZjjc.pgp Description: PGP signature
[Solved] Re: Weird networking issue
Adam Vande More skrev: On Tue, Aug 4, 2009 at 1:56 AM, wrote: Glen Barber wrote: On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: [snip description of network flakiness on one server, out of several on the same switch behind the same gateway] Any ideas? :-) I have 2: 1.) Bad NIC 2.) Bad CPU 3. Bad cable from NIC to switch 4. Bad switch port These may not be all that likely, but they're easy to test if you have even a marginally-competent tech available at the site. I had similar behavior about a years ago. I also had a not very frequent( < once a week) sporadic reboot issue during it. I replaced the RAM and it's not had the issue anymore. I may have rebuilt world too... The on-site techs ran the Dell diagnostics tests and the Broadcom test (for the NIC) but was unable to find any hw errors. So, they finally replaced the cable and connected it to another switch port. And now everything seems to be working. I've been doing some tests for a few hours, but I can't get the machine to crap out again. Looking good so far... :-) -- Joel ___ 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: cvs tag usage
On Tue, Aug 4, 2009 at 5:32 PM, b. f. wrote: >> >> He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. > > Well, neither actually. :) s/0_2/2_0/ . But I inferred from the > context -- it seemed obvious, particularly from what he wrote later > -- that he meant those choices as suffixes to RELENG, which he omitted > for the sake of brevity. I assumed you also made this inference. > Agreed, but IMHO, it's better to be precise and not assume too much. :-) -- Glen Barber ___ 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: [Solved] Re: Weird networking issue
On Tue, Aug 4, 2009 at 5:52 PM, Joel Dahl wrote: > And now everything seems to be working. I've been doing some tests for a > few hours, but I can't get the machine to crap out again. Looking good so > far... :-) > Good to hear. :-) -- Glen Barber ___ 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: Secure password generation...blasphemy!
On Mon, 3 Aug 2009 22:34:27 -0400 Bill Moran wrote: > Modulok wrote: > > > > I need a way to generate a lot of secure passwords. So, I read all > > about it. Either people are getting way carried away, or I'm missing > > something... > > You could just use apg ... it's in the ports. By the look of it this was originally DES-based, and was upgraded to use CAST or SHA1. However the seeding from /dev/random seems to have been left at 64 bits (the DES blocksize) plus some extra from gettimeofday(). In practice it's probably good enough, it just seems a bit lame. ___ 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: not dead [yet].
Roland Smith wrote: >What you can do is make a list of all installed ports with >ports-mgmt/portmaster: > portmaster -L >ports.list > >Looking through this list, you'll see four categories; >- Root ports (No dependencies, not depended on) >- Trunk ports (No dependencies, are depended on) >- Branch ports (Have dependencies, are depended on) >- Leaf ports (Have dependencies, not depended on) > >Basically, you can delete any of the leaf and root ports, because >they're not depended on. E.g. if you have the following in your list as >a leaf port: > ===>>> qemu-0.10.6 >you can execute 'pkg_delete -d qemu-0.10.6' as root, and it is gone. If you're only interested in deletion, "-l" should be preferred to "-L". And portmaster with these flags does not always account for build dependencies. so with this method you may occasionally remove a port that is only used to build other ports, but is not a runtime dependency of any other port. Also, occasionally a port Makefile doesn't properly account for some dependencies, and removing them will break the port. So there may be some breakages that you'll have to fix, but this shouldn't happen often. When removing ports, I sometimes use pkg_deinstall -vR, sometimes also with -i. because it can clean out the now-unneeded dependencies of the port I'm removing, which speeds up this process. Provided your pkgdb and portsdb are up-to-date, it's a little better than portmaster -s, which relies on +REQUIRED_BY to detect stale dependencies, and may occasionally fail. b. ___ 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: ZFS Boot Support from Installer
> I wouldn't recommend using zfs at all right now, unless you want > random crashes and lots of missing data.. ESPECIALLY in 8.0,1,2 > versions. I'm using 7.2 at the moment with a standard UFS2 boot partition and a 500GB ZFS pool. My ZFS pool actually seems pretty stable. I did a "make -j 16 buildworld buildkernel installkernel installworld" using it as my /usr/src and /usr/obj and it performed beautifully. At the time I did that, it was configured as just a RAIDZ. I've since changed that to RAIDZ2, but I haven't beaten it up yet, so I don't know if there's a difference between the stability of RAIDZ and RAIDZ2. Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@soe.ucsc.edu 831-459-5354 ___ 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"
find question
I am sure this is something I am doing that is obviously wrong, but I cannot figure it out. I am reading a list of directories from a file, and then listing all of the files in the directory to a file. Here is the code. #!/usr/local/bin/bash cat ${FILELIST} | while read LINE do echo ${LINE} `find ${LINE} -type f >> ${TMPFILE}` done Here is the output. /usr/home/windowsaccess find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: f: No such file or directory Any suggestions would be greatly appreciated. Thanks, Jay ___ 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: find question
On Tuesday 04 August 2009 17:06:56 Jay Hall wrote: > I am sure this is something I am doing that is obviously wrong, but I > cannot figure it out. > > I am reading a list of directories from a file, and then listing all > of the files in the directory to a file. > > Here is the code. > > #!/usr/local/bin/bash > cat ${FILELIST} | while read LINE > do [ -z "${LINE}" ] && continue > echo ${LINE} > `find ${LINE} -type f >> ${TMPFILE}` > done > > Here is the output. > /usr/home/windowsaccess > empty line -- Mel ___ 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: find question
What is "-type" supposed to do? I've never used it before, never needed it. - Original Message - From: owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org Sent: Tue Aug 04 20:06:56 2009 Subject: find question I am sure this is something I am doing that is obviously wrong, but I cannot figure it out. I am reading a list of directories from a file, and then listing all of the files in the directory to a file. Here is the code. #!/usr/local/bin/bash cat ${FILELIST} | while read LINE do echo ${LINE} `find ${LINE} -type f >> ${TMPFILE}` done Here is the output. /usr/home/windowsaccess find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: f: No such file or directory Any suggestions would be greatly appreciated. Thanks, Jay ___ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ 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: find question
On Tue, Aug 4, 2009 at 9:19 PM, Gary Gatten wrote: > What is "-type" supposed to do? I've never used it before, never needed it. > Gary, -type allows different types of files to be located -- 'f' - regular file, 'd' - directory, 'l' - link, etc. Have a look at find(1) for more info. Regards, -- Glen Barber ___ 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: find question
What is "-type" supposed to do? I've never used it before, never needed it. Type is used to specify the type of file to be found. f is a regular file. Jay ___ 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: find question
Ah yes, I do remember now. Plus, for once the syntax is almost self explanatory. So, did the OPs question get answered? From: Jay Hall To: Gary Gatten Cc: freebsd-questions@freebsd.org Sent: Tue Aug 04 20:41:22 2009 Subject: Re: find question What is "-type" supposed to do? I've never used it before, never needed it. Type is used to specify the type of file to be found. f is a regular file. Jay "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ 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: Moused crashes with Synaptics
Hi, Am Dienstag, 04. Aug 2009, 21:28:37 +0200 schrieb Bertram Scharpf: > Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > > Hi, > > > > an Acer notebook with a Synaptics Touchpad makes some trouble > > here. My primary problem is: I restart the mouse daemon and then I > > can move the mouse only for a short distance; suddenly the mouse > > freezes. > > In the meantime I learned that there is /dev/bpsm0 and I wrote a > litte Ruby script that reads /dev/psm0. Both devices refuse to > supply anything after a very short period of time. Hello, anybody there? Could at least someone point me to a documentation how to debug the psm kernel device? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ 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: find question
Ah yes, I do remember now. Plus, for once the syntax is almost self explanatory. So, did the OPs question get answered? I think I just found the problem. I am testing now. There was a blank line at the end of the file. ___ 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: Moused crashes with Synaptics
On Tuesday 04 August 2009 03:26:24 Bertram Scharpf wrote: > Further I seem to have missed something else. I found the page > http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some > sysctls: > > hw.psm.synaptics_support="1" > hw.psm.synaptics.vscroll_hor_area=1300 > > I don't have those ctls here and I cannot find the kernel driver > that provides them. That's because they're loader tunables. You set them in /boot/loader.conf. The LOADER TUNABLES section of psm(4) details it. Note that I had not a very good experience with the synaptics driver about a year ago and haven't tried since. YMMV. -- Mel ___ 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: find question
On Tue, Aug 04, 2009 at 08:49:17PM -0500, Gary Gatten wrote: > Ah yes, I do remember now. Plus, for once the syntax is almost self > explanatory. So, did the OPs question get answered? Yes. But to be clear, one of the lines in the input file is blank, which means that find is run as find -type f which is incorrect; it will be treated as "run find with the -t, -y, -p, and -e flags in the directory f". (find's syntax is: find [ optional flags ] [ required places to search ] [ optional rules to filter out the things you dont want] By having the places-to-search variable be blank, the shell doesn't pass anythin to find, causing the optional rules to be interpreted as the optional flags - and the syntax isn't correct. -- :wq ___ 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"