Re: library search path
Hello, On 29 May 2012 00:57, Martin Laabs i...@martinlaabs.de wrote: [...] tmux didn't work with libevent 2.* but did with libevent 1.4.* When typing make config in the tmux port it presents a checkbutton wether I wanna use libenvet 1.4 or 2. So it seems to work with both versions. Btw. - where do you see advantages of tmux in comparison to screen? Best regards, Martin ___ 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
How Do I Remove Clang
uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11 20:41:54 PDT 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 I want to remove clang from my system and stick with gcc. I do not want any code I produce to have a non-GPL license. Do I need to regress to 8.3? Or, will that be back-fit with clang also? Tom Dean ___ 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
Reply..
- This mail is in HTML. Some elements may be ommited in plain text. - Hello, Compliments and good day to you and your family.?I write you this mail as a reminder once more having waited patiently?for your response to my initial contact with you through snail mail.?However since i assume you did not get it i want to use this medium even though?it might not be the best form of communication in matters like this due to the?ever growing disbelief and illicit scams and fraud associated with it, i?seem to have no choice than to make use of it, coupled with the fact that?it might be just perfect due to the ability to redeem time. Without wasting much of your time i want to bring you into a business?venture which i think should be of interest and concern to you, since it has?to do with a perceived family member of yours However i need to?be sure that you must have received this communication so i will not divulge?much information about it until i get a response from you.?Kindly respond back to me. Regards, Susan ___ 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: How Do I Remove Clang
On 29/05/2012 08:27, Thomas D. Dean wrote: uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #2: Fri May 11 20:41:54 PDT 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 Hmmm... normally this sort of question is asked in exactly the opposite sense. I shall trust that it is not asked ironically and answer at face value. I want to remove clang from my system and stick with gcc. Set WITHOUT_CLANG=yes in /etc/src.conf and do a normal buildworld cycle plus 'make delete-old' See src.conf(5) for more details. Or just do nothing: gcc is still the default compiler on 9.0, and you need positive action to tweak /etc/make.conf to enable clang. I do not want any code I produce to have a non-GPL license. That's not actually affected by using clang as your compiler. It's BSD licensed, and doesn't have any viral clauses, so your code can be licensed as you see fit. Similarly the runtime bits of the system are BSD licensed and even though they are linked into any executables you produce, you can release the result under whatever terms you see fit other than not claiming authorship / copyright on material you didn't yourself produce. Do I need to regress to 8.3? Or, will that be back-fit with clang also? No. I think you can update to 9.1 without such concerns as well, but 10.x could well be a different matter. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
tcgetattr() hangs
Hi, this maybe wrong list but I gotta start somewhere. I'm the developer of PureJavaComm (PJC) , a pure Java serial port access library that runs on Mac OS X, Linux, Windows and soon I hope on FreeBSD. I'm co-operating with someone to port the library to FreeBSD but we have run into mysterious problem that has defeated all our debugging efforts. PJC can be found at: https://github.com/nyholku/purejavacomm Some background. PJC uses JNA which is a library to access C-code APIs from Java by writing Java classes that JNA automatically turns in to standard C calls. The C functions we are using are very simple and few, here is the complete list to put you into the picture (btw, this is Java): int errno(); int fcntl(int fd, int cmd, int arg); int cfgetispeed(Termios termios); int cfgetospeed(Termios termios); int setspeed(int fd, int speed); int cfsetispeed(Termios termios, int speed); int cfsetospeed(Termios termios, int speed) int tcflush(int fd, int b); int tcdrain(int fd); void cfmakeraw(Termios termios); int tcgetattr(int fd, Termios termios); int tcsetattr(int fd, int cmd, Termios termios); int tcsendbreak(int fd, int duration); int open(String s, int t); int close(int fd); int write(int fd, byte[] buffer, int len); int read(int fd, byte[] buffer, int len); int ioctl(int fd, int cmd, int[] data); int select(int n, FDSet read, FDSet write, FDSet error, TimeVal timeout); So far we have been able to run PJC testsuite in FreeBSD 32 bit Intel with no problems. Now however, on FreeBSD 64 bit AMD our test set hangs in a call to tcgetattr() in the third test case in our test suite. The first test opens a port and wiggles some control lines, then closes the port. The second test sends and receives a some hundreds of messages using a background thread and select(). This is the test that is causing problem further down the line. After this test the next test (regardless what it is) hangs in a call to tcgetattr() after successfully opening the port. So how can tcgetattr() hang??? I found one reference to a similar problem but no solution: http://freebsd.1045724.n5.nabble.com/Re-cups-bugs-tcgetattr-causes-lockup-i n-USB-backend-on-FreeBSD6-STABLE-td3950285.html Here is a piece of our debug log that shows the calls from Java to the native API showing the end of the successful Test2 and the hang at the beginning of Test3: log: select(9,[8],[],[],jtermios.TimeVal@6f507fb2) .. OK average speed log: select(9,[],[],[],jtermios.TimeVal@6f507fb2) = 0 log: select(9,[8],[],[],jtermios.TimeVal@6f507fb2) 18241 b/sec at baud rate 19200 log: fcntl(8, 3, 0) log: fcntl(8, 3, 0) = 2 log: fcntl(8, 4, 6) log: fcntl(8, 4, 6) = 0 log: close(8) log: close(8) = 0 Test3 - transmit all characters log: select(9,[8],[],[],jtermios.TimeVal@6f507fb2) = -1 log: open('cuau0',8006) log: open('cuau0',8006) = 8 log: close(8) log: close(8) = 0 log: open('cuau0',8006) log: open('cuau0',8006) = 8 log: fcntl(8, 3, 0) log: fcntl(8, 3, 0) = 6 log: fcntl(8, 4, 2) log: fcntl(8, 4, 2) = 0 log: tcgetattr(8,jtermios.Termios@5a77a7f9) All comments welcome. be Kusti ___ 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: tcgetattr() hangs
On 29/05/2012 08:42, Kustaa Nyholm wrote: this maybe wrong list but I gotta start somewhere. I'm the developer of PureJavaComm (PJC) , a pure Java serial port access library that runs on Mac OS X, Linux, Windows and soon I hope on FreeBSD. I'm co-operating with someone to port the library to FreeBSD but we have run into mysterious problem that has defeated all our debugging efforts. I think the freebsd-java@... list is probably your best choice. -questions tends not to get into the deeply technical nitty-gritty, but it's a good place to ask the meta-question about where to ask the question. http://freebsd.1045724.n5.nabble.com/Re-cups-bugs-tcgetattr-causes-lockup-i n-USB-backend-on-FreeBSD6-STABLE-td3950285.html Given that was in FreeBSD-6 and there's been quite a lot of work on the various subsystems involved since, probably not relevant anymore. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Cloud software ?
On Fri, May 25, 2012 at 11:11 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) Anyone could help ? Thank you Although it's not cloud-labeled, and: * if you're interested only in data (as in files) management; * and you want to host it your self; , you could take a look over OpenAFS. It's quite nice, works over WAN, supported on most modern OS's, and has strong authentication and authorization. (I don't know about Smartphones, tablets, etc.) Ciprian. ___ 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: Cloud software ?
Ciprian Dorin Craciun ciprian.crac...@gmail.com writes: On Fri, May 25, 2012 at 11:11 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) Anyone could help ? Thank you Although it's not cloud-labeled, and: * if you're interested only in data (as in files) management; * and you want to host it your self; , you could take a look over OpenAFS. It's quite nice, works over WAN, supported on most modern OS's, and has strong authentication and authorization. (I don't know about Smartphones, tablets, etc.) Ciprian. Hmm that sounds interesting. Do you know how persistent the local cache is? If I do something like: open some (large) remote file (hence the large file is transferred to the client), reboot the client, and reopen the large file again. Is the large file then transferred again? (assuming no other clients changed the file in the mean time). The website is not particularly specific about the caching policy. If the file is only transferred once it could be useful to sorta kinda fake something like dropbox. Regards, -- - Frank ___ 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
How to indicate source directory in other than /usr/src?
How does one indicate a system source directory location when in other than /usr/src? That could be necessary when in another directory, for instance running ndiscvt. Or one could be building FreeBSD for a USB stick and want to do the heavy work on a hard drive; I could also want to build and install ports on the USB stick but do the heavy work on the hard drive. I couldn't find a variable named SRCDIR anywhere in the documentation, in contrast to PORTSDIR, which I did find. I may also want to build 10-CURRENT from 9-STABLE system without giving up the 9-STABLE source tree; I would need both source trees, but then after the first successful build of 10-CURRENT, I could use that to build updated versions. Tom ___ 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: Cloud software ?
On Tue, May 29, 2012 at 12:42 PM, Frank Staals fr...@fstaals.net wrote: Ciprian Dorin Craciun ciprian.crac...@gmail.com writes: On Fri, May 25, 2012 at 11:11 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) Anyone could help ? Thank you Although it's not cloud-labeled, and: * if you're interested only in data (as in files) management; * and you want to host it your self; , you could take a look over OpenAFS. It's quite nice, works over WAN, supported on most modern OS's, and has strong authentication and authorization. (I don't know about Smartphones, tablets, etc.) Ciprian. Hmm that sounds interesting. Do you know how persistent the local cache is? If I do something like: open some (large) remote file (hence the large file is transferred to the client), reboot the client, and reopen the large file again. Is the large file then transferred again? (assuming no other clients changed the file in the mean time). The website is not particularly specific about the caching policy. If the file is only transferred once it could be useful to sorta kinda fake something like dropbox. Regards, I'm not very OpenAFS knowing, I only use it for myself and my family, but I would guess that a persistent cache would survive a reboot. I've also seen something on their mailing list regarding an offline mode (maybe it was called detached mode)? I strongly advise you to take it into consideration as it was made for such purposes and has great support for things like quota, multiple file servers, replication, etc. (It is also used by some large financial companies, maybe JP Morgan?, see their use cases page, but certainly universities are enlisted there, so is CERN.) Ciprian. ___ 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: How to indicate source directory in other than /usr/src?
Don't know if that will help in Your case, but I just softlink my /usr/local/src-stable to /usr/src - never had any issues. Cheers, Łukasz Gruner 2012/5/29 Thomas Mueller muelle...@insightbb.com: How does one indicate a system source directory location when in other than /usr/src? That could be necessary when in another directory, for instance running ndiscvt. Or one could be building FreeBSD for a USB stick and want to do the heavy work on a hard drive; I could also want to build and install ports on the USB stick but do the heavy work on the hard drive. I couldn't find a variable named SRCDIR anywhere in the documentation, in contrast to PORTSDIR, which I did find. I may also want to build 10-CURRENT from 9-STABLE system without giving up the 9-STABLE source tree; I would need both source trees, but then after the first successful build of 10-CURRENT, I could use that to build updated versions. Tom ___ 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: How to indicate source directory in other than /usr/src?
Thomas Mueller muelle...@insightbb.com writes: How does one indicate a system source directory location when in other than /usr/src? I'm not sure I understand quite what you're asking, but I'll have a try anyway. That could be necessary when in another directory, for instance running ndiscvt. For ports, I would would normally say that you want SRC_BASE. However, that's for building ports, not running them, so I may be missing the point. Or one could be building FreeBSD for a USB stick and want to do the heavy work on a hard drive; I could also want to build and install ports on the USB stick but do the heavy work on the hard drive. This is the normal case; you don't want to do anything special about the location of the build, only for the install. For the base system, you just want MAKEOBJDIRPREFIX (normally /usr/obj) to be on the hard drive. For ports, you want MAKEWRKDIRPREFIX to be on the hard drive if set, and the ports tree to be on the hard drive if not. I couldn't find a variable named SRCDIR anywhere in the documentation, in contrast to PORTSDIR, which I did find. I don't remember there being one, but I also don't see a comparable use for one. I may also want to build 10-CURRENT from 9-STABLE system without giving up the 9-STABLE source tree; I would need both source trees, but then after the first successful build of 10-CURRENT, I could use that to build updated versions. MAKEOBJDIRPREFIX can do this, but in my case I would move the original /usr/obj tree out of the way to avoid damaging it by mistake. Good 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: How to indicate source directory in other than /usr/src?
Am 29.05.2012, 12:10 Uhr, schrieb Thomas Mueller muelle...@insightbb.com: How does one indicate a system source directory location when in other than /usr/src? That could be necessary when in another directory, for instance running ndiscvt. Or one could be building FreeBSD for a USB stick and want to do the heavy work on a hard drive; I could also want to build and install ports on the USB stick but do the heavy work on the hard drive. I couldn't find a variable named SRCDIR anywhere in the documentation, in contrast to PORTSDIR, which I did find. I may also want to build 10-CURRENT from 9-STABLE system without giving up the 9-STABLE source tree; I would need both source trees, but then after the first successful build of 10-CURRENT, I could use that to build updated versions. I often use nullfs for this kind of thing: mount -t nullfs /where/your/sources/are /usr/src mount -t nullfs /some/dir/for/objects /usr/obj Michael ___ 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: Updating /src from command line
I think I solved it with cvsup, but still no clue why it doesn't work via sysinstall J-( br, Jos Chrispijn Jos Chrispijn: I want to compile my kernel and I read that for this I need to have the complete /SRC tree installed. If I do this via sysinstall, I get either a display that the chosen server is not available or these are not available for FreeBSD 9. Is there a way to update /src by CVSUP or otherwise? thanks, 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 ___ 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: Updating /src from command line
Hi Michael, that works, thanks. BR, Jos Chrispijn Michael Ross: Am 22.05.2012, 21:59 Uhr, schrieb Michael Ross g...@ross.cx: Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn ker...@webrz.net: I want to compile my kernel and I read that for this I need to have the complete /SRC tree installed. If I do this via sysinstall, I get either a display that the chosen server is not available or these are not available for FreeBSD 9. Is there a way to update /src by CVSUP or otherwise? thanks, Jos Chrispijn I do it like this: Copy, read and modify /usr/src/share/examples/cvsup/stable-supfile Sorry, that is /usr/share/examples/cvsup/stable-supfile 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
Swap files and panics
Recently I rearranged partitions on an SSD. The swap partition was eliminated in favor of a swap file on /usr. This works, allows TRIM support on the swap space, and is easier to resize than a partition. However, sometimes the system panics on shutdown. It happens after syncing disks, so the filesystems are fine, but it's disconcerting. I suspect but haven't yet managed to prove that it's only when swap is not empty. A race condition involving when the filesystems are unmounted? Or should there be some code in /etc/rc.d/addswap to run swapoff before shutdown? This is on a very recent 9-STABLE amd64, i5 2500K. rc.conf: swapfile=/usr/swap/swap ___ 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: Kernel Panic any help?
Hi, On 25 May 2012 20:01:44 - John Levine jo...@iecc.com wrote: JL panic: ffs_clusteralloc: map mismatch JL JL Something's fairly badly screwed up on your disk. My advice would JL be to boot from a CD or USB key and run fsck to try to repair it. the disk was pretty much f...ed up. I always got an access denied on every operation I tried on the device node for the root partition. I had to delete and re-create the partition. Well I took the oportunity and upgraded to 9.0. ;-) Thanks for the help, Jens -- 29. Wonnemond 2012, 18:18 Homepage : http://www.jan0sch.de Criticism comes easier than craftsmanship. -- Zeuxis pgpm4QhisRQxp.pgp Description: PGP signature
Re: Can't get irc/inspircd to build, any clues?
On 28 May 2012 04:30, Howard Leadmon how...@leadmon.net wrote: Does anyone know if the irc/inspircd port for FreeBSD works? I have tried it on an FBSD 9 server, as well as an older version of the FreeBSD with the same results. If I try and run make the build the port, I get the following error: # make === Building for inspircd-2.0.5 make: cannot open BSDmakefile. *** Error code 1 Stop in /usr/ports/irc/inspircd. *** Error code 1 Stop in /usr/ports/irc/inspircd. # I figure maybe someone has gotten this to build, so figured I would toss it out here as using my googlefu I found years ago someone posting the same problem, but never found any resolution. Any ideas, as I would like to check out this software... You probably need to run the configure script: it seems to build just fine here via % tar xf InspIRCd-2.0.5.tar.bz2 % cd inspircd % ./configure % make -- -- ___ 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: newfs on a SSD
On Fri, May 11, 2012 at 09:01:33AM +0200, Christer Solskogen wrote: After years of waiting for a decent price on one of these I finally got one. The questions is, which options should I use on a SSD that will be / on my system. I see that newfs supports TRIM, so that will be turned on, but should I use journaling? gjournal? softupdates? soft updates journaling? I'm confused :) Enabling TRIM with the '-t' option for newfs sounds like a good idea. Assuming the underlaying device supports it. You can check that with the 'camcontrol identify' command, assuming you're using the ada(4) driver. OCZ has a page with tips for Linux. Some would apply to FreeBSD as well; http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignmenthighlight=linux Aligning the partitions with the Erase Block Size is important. See: https://wiki.archlinux.org/index.php/Solid_State_Drives One thing to keep in mind is to mount the filesystems you make on the SSD with the noatime option. This to avoid a lot of unnecessary writes. Some of the newfs parameters like blocks per cilinder group don't seem to make much sense for an SSD. Since the controller of the SSD already does all kinds of things to emulate a harddisk, I'm not sure if it makes much sense to tune the filesystem's parameters much. As for softupdates (journaled of not): try it and let us know if you see differences, especially in write performance. :-) The FreeBSD foundation has awarded a grant to port a special Flash filesystem and tools to FreeBSD: http://freebsdfoundation.blogspot.com/2012/03/new-project-nand-flash-support.html It might be worthwhile to keep that in mind for the future. What I would certainly recommend is that you make a daily automated backup (may I suggest calling rsync from cron at night?) of the SSD's filesystem to an actual HDD, just to be sure. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpznQFdi8g9T.pgp Description: PGP signature
Re: newfs on a SSD
On Tue, May 29, 2012 at 2:05 PM, Roland Smith rsm...@xs4all.nl wrote: On Fri, May 11, 2012 at 09:01:33AM +0200, Christer Solskogen wrote: After years of waiting for a decent price on one of these I finally got one. The questions is, which options should I use on a SSD that will be / on my system. I see that newfs supports TRIM, so that will be turned on, but should I use journaling? gjournal? softupdates? soft updates journaling? I'm confused :) Enabling TRIM with the '-t' option for newfs sounds like a good idea. Assuming the underlaying device supports it. You can check that with the 'camcontrol identify' command, assuming you're using the ada(4) driver. OCZ has a page with tips for Linux. Some would apply to FreeBSD as well; http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignmenthighlight=linux Aligning the partitions with the Erase Block Size is important. See: https://wiki.archlinux.org/index.php/Solid_State_Drives One thing to keep in mind is to mount the filesystems you make on the SSD with the noatime option. This to avoid a lot of unnecessary writes. Some of the newfs parameters like blocks per cilinder group don't seem to make much sense for an SSD. Since the controller of the SSD already does all kinds of things to emulate a harddisk, I'm not sure if it makes much sense to tune the filesystem's parameters much. As for softupdates (journaled of not): try it and let us know if you see differences, especially in write performance. :-) The FreeBSD foundation has awarded a grant to port a special Flash filesystem and tools to FreeBSD: http://freebsdfoundation.blogspot.com/2012/03/new-project-nand-flash-support.html It might be worthwhile to keep that in mind for the future. What I would certainly recommend is that you make a daily automated backup (may I suggest calling rsync from cron at night?) of the SSD's filesystem to an actual HDD, just to be sure. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) Is there a tool in FreeBSD, similar to fstrim in Linux, that allows to perform trimming through a cronjob as opposed to perform it every time data is deleted? It supposedly results into a significant gain in performance... 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
Re: removing /var/empty on a non-system disk
From owner-freebsd-questi...@freebsd.org Mon May 28 20:22:58 2012 Date: Mon, 28 May 2012 19:17:38 -0600 From: Gary Aitken ga...@dreamchaser.org.r-bonomi.com To: freebsd-questions@freebsd.org Subject: Re: removing /var/empty on a non-system disk On 05/28/12 15:08, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Mon May 28 14:10:55 2012 Date: Mon, 28 May 2012 13:05:45 -0600 From: Gary Aitkenfree...@dreamchaser.org.r-bonomi.com To: Polytroponfree...@edvax.de Cc: freebsd-questions@freebsd.org Subject: Re: removing /var/empty on a non-system disk On 5/25/2012 4:01 PM, Polytropon wrote: I should have mentioned that I did the (successful) test logging in as root (real console login). If you use su - or su root, the effect should be the same. You can always check the success of your operation with the ls -lo command. Nope. That was the problem. I had logged in on the vty as normal user and done su root. Had to back all the way out and log in on the vty as root to make it work. I'm going to guess that you did 'su root', not 'su - root'. The two commands are *NOT* identical. 'su root' does not run the root 'login' scripts; thus environment variables (including path, user, logname etc.) are *not* set as they are on root login -- this causes some 'am i root' tests to fail. OTOH, 'su - root' should be equivalent to a root login in all respects. Thank you. That explains a number of problems I've been having. doh. NOTE; there will be issues if the 'working directory' of a parent process is the directory you are trying to delete. knew about that part ___ 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: removing /var/empty on a non-system disk
From owner-freebsd-questi...@freebsd.org Mon May 28 20:22:58 2012 Date: Mon, 28 May 2012 19:17:38 -0600 From: Gary Aitken ga...@dreamchaser.org.r-bonomi.com To: freebsd-questions@freebsd.org Subject: Re: removing /var/empty on a non-system disk On 05/28/12 15:08, Robert Bonomi wrote: I'm going to guess that you did 'su root', not 'su - root'. The two commands are *NOT* identical. 'su root' does not run the root 'login' scripts; thus environment variables (including path, user, logname etc.) are *not* set as they are on root login -- this causes some 'am i root' tests to fail. OTOH, 'su - root' should be equivalent to a root login in all respects. Thank you. That explains a number of problems I've been having. doh. To misquote Mae West: When confronted with the choice between two mistakes, I try to choose the one I haven't made before. I've been doing this kind of stuff long enough that, under that philosophy, I've seen things that hardly anybody else has ever experienced. Luckily, at least for me, I _do_ remember virtually all the mistakes I've made. wry grin ___ 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 I am upset
On Sun, May 27, 2012 at 06:04:04AM -0500, Franci Nabalanci wrote: My French and Italian is enough for me, dear Sir. There are not just English on the world!! Speak whatever language you want. I don't support that part of a former post. How do you know that I didn't contribute to the FreeBSD foundation?? Did you check my bank account?? Nothing to do with your bank account. The OP is the indication because if you were a contributer, you would have included some useful information so those who are really doing the work would have something to go on. That post was useless and no help to improving the product. Freeware is supported by all that create and use it. It is a community of supporters. Join the community in some way or keep quiet. No, I don't expect you or others to be geniuses like some of the developers and supporters - I certainly am not. But, at least stop whining and be constructive. jerry On Sat, May 26, 2012 at 10:57 PM, Damien Fleuriot m...@my.gd wrote: On 26 May 2012, at 03:12, ajtiM lum...@gmail.com wrote: Why I am upset but not just me? I am running KDE 4.8 from January on my Linux computer. Now is almost June and we got KDE 4.8 on FreeBSD too. 5 months testing and it works? No. The modern OS for the desktop computer doesn;t works. O.K. OS works but installatoon of 5 months testing of KDE doesn;t. And help? Read /usr/ports/UOPDATING!! I red before I start inastallation but I am not sure if helpers did! Thank you for wasting my time. Mitja 1/ English, learn it. 2/ Remind me how much you paid for free software you've most likely never contributed to ? 3/ You're too busy being a whiny raging kid to actually explain your problem 4/ Even if you had, I doubt anyone would want to help you after your epic flame Seeing you do not even show the slightest hint of respect or gratitude towards the people who actually work on the software in their free time: 5/ I'm gonna respectfully ask that you STFU You're such a good rager, I'm convinced you shan't need google to figure out the acronym. ___ 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
ARM NAS Server for FreeBSD?
Hello, can anyone recommend me a ARM9/11 based platform that has support for freebsd to implement a nas server and router? Also other platforms could be interesting if they have a low power consumption. However - the performance should be somewhat better than the performance of the first atom cpus. I would like to add at least two sata drives and gbit ethernet. (And a DSL modem - preferable already on board) Best regards, Martin L. ___ 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: How Do I Remove Clang
On 05/29/12 00:49, Matthew Seaman wrote: Set WITHOUT_CLANG=yes in /etc/src.conf and do a normal buildworld cycle plus 'make delete-old' See src.conf(5) for more details. This breaks normal make: cat /etc/src.conf WITHOUT_CLANG=Yes cat Makefile # Makefile for nanoBSD kld driver CC=gcc KMOD=lcd_socket SRCS=lcd_socket.c .include bsd.kmod.mk make /usr/share/mk/bsd.own.mk, line 458: MK_CLANG can't be set by a user. Tom Dean ___ 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: How Do I Remove Clang
On 05/29/12 00:27, Thomas D. Dean wrote: Oops, too fast. cat /etc/make.conf PERL_VERSION=5.12.4 MK_CLANG_IS_CC=no Tom Dean ___ 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: newfs on a SSD
On Tue, 29 May 2012, Roland Smith wrote: What I would certainly recommend is that you make a daily automated backup (may I suggest calling rsync from cron at night?) of the SSD's filesystem to an actual HDD, just to be sure. sysutils/rsnapshot is convenient. I used it to rsync the new SSD onto a hard disk. Very space-efficient, and in a way, it's a slow mirror. ___ 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
kde4 on 8.3 and laptop
I had kde3 running just fine on 8.2 on my laptop. I have now installed 8.3 -and- kde4 on my laptop, and the kde system will not work as expected. when I type kdm (which is at /usr/local/kde4/bin/kdm) I get the expected login screen (however the mouse dies), and after I login, all I get is a small cli window in the top left corner. The mouse has gone dead, and the keyboard doesn't respond, altho there is a prompt in the cli window. All I can do at this point is hold the power button in to reboot. If I do not try running kdm, the normal cli works 100%, the ethernet works, and the mouse always seems alive (altho in the cli the mouse is of no value). Suggestions would be very appreciated. -- Jim Pazarena fqu...@paz.bz ___ 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: kde4 on 8.3 and laptop
On 05/29/12 22:15, Jim Pazarena wrote: I had kde3 running just fine on 8.2 on my laptop. I have now installed 8.3 -and- kde4 on my laptop, and the kde system will not work as expected. when I type kdm (which is at /usr/local/kde4/bin/kdm) I get the expected login screen (however the mouse dies), and after I login, all I get is a small cli window in the top left corner. The mouse has gone dead, and the keyboard doesn't respond, altho there is a prompt in the cli window. All I can do at this point is hold the power button in to reboot. If I do not try running kdm, the normal cli works 100%, the ethernet works, and the mouse always seems alive (altho in the cli the mouse is of no value). Suggestions would be very appreciated. I don't know about the mouse dieing. I'm running 9.0 and I've seen that once or twice when first setting up X. You don't need to reboot. Do altFn to switch to a different vty. Log in on that vty, do a ps to find the process you used to start kdm, (ps -ax | grep kdm) and kill -TERM that process. That should get you back to a regular prompt on the original vty. Do altF1 to go back to that screen. Gary ___ 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: kde4 on 8.3 and laptop
On May 29, 2012 10:28 PM, Gary Aitken free...@dreamchaser.org wrote: On 05/29/12 22:15, Jim Pazarena wrote: I had kde3 running just fine on 8.2 on my laptop. I have now installed 8.3 -and- kde4 on my laptop, and the kde system will not work as expected. when I type kdm (which is at /usr/local/kde4/bin/kdm) I get the expected login screen (however the mouse dies), and after I login, all I get is a small cli window in the top left corner. The mouse has gone dead, and the keyboard doesn't respond, altho there is a prompt in the cli window. All I can do at this point is hold the power button in to reboot. If I do not try running kdm, the normal cli works 100%, the ethernet works, and the mouse always seems alive (altho in the cli the mouse is of no value). Suggestions would be very appreciated. I don't know about the mouse dieing. I'm running 9.0 and I've seen that once or twice when first setting up X. You don't need to reboot. Do altFn to switch to a different vty. Log in on that vty, do a ps to find the process you used to start kdm, (ps -ax | grep kdm) and kill -TERM that process. That should get you back to a regular prompt on the original vty. Do altF1 to go back to that screen. Gary Ctr-alt-shift-backspace has also killed many a stuck x session. ___ 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