You have been unsubscribed from the freebsd-questions mailing list
Dear freebsd-questions freebsd org, It's Been Awhile...We've MISSED You !
View this message in browser http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I0Ijug5y9 View this message in Mobile http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I1Ijug5y9 To ensure delivery to inbox, add off...@naaptoldeals.com to your address book Report Spam http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I2Ijug5y9 Click here to Unsubscribe http://naaptoldeals.com/public/unsubscribe.jsp?gid=1200378209&uid=12173653410&mid=1200840175&sig=CFHGONPMNFFFELKC Naaptol Shop right * Shop more http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I3Ijug5y9 Call 0922-353-6148 to order It's been a while... ...you visited naaptol.com. Being one of the leading deal sites in the country, the deals and discounts offered at naaptol.com are nothing but the best. Eating out, entertainment, health, beauty, fitness, travel, and much more - discover the best in your city with unbeatable deals, unmatched discounts and shopping offers. All you need to do is start visiting naaptol.com like before and 'steal' the exciting deals. Start Now! http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I4Ijug5y9 Rico Sordi Wrist Watch (Silver) - RSM 1 Rs. 649 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I5Ijug5y9 Exotica Fashions Cronoimpact Wrist Watch (White) - EF-01-BW-PL Rs. 799 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I6Ijug5y9 Bacca Bucci High Ankle Length Boots - SBRB4000 (Brown) Rs. 1,099 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I7Ijug5y9 Bacca Bucci Casual Shoes (Olive Green ) - NV-OG Rs. 599 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I8Ijug5y9 Sony MDR-ZX100/B Sound Monitoring Headphone (Black) Rs. 678 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36I9Ijug5y9 5 in 1 Wireless Headphone with FM Radio Rs. 699 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IaIjug5y9 Branded Angry Birds USB MP3 Player (Red) Rs. 167 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IbIjug5y9 Mono Mini Mp3 Player Blue - With free 8 GB microSD Card Rs. 533 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IcIjug5y9 AVIS E-Table With Dual Cooling Fan Rs. 799 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IdIjug5y9 Zync Keyboard for 7" Tab with Dual USB Rs. 599 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IeIjug5y9 Fashionmyday Regular Fit Jeans (Black) - Denim B Rs. 530 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IfIjug5y9 Fashionmyday Regular Fit Jeans (Dark Blue) - Denim F Rs. 530 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IgIjug5y9 Arrow Sport Polo Neck T-Shirt (Green & White) - MHARROWPOLO-grn_wht for men Rs. 562 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IhIjug5y9 Gant Polo Neck T-Shirt (White) - Fash-Gant-W for men Rs. 862 Buy Now http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IiIjug5y9 - Facebook http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IjIjug5y9 Twitter http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IkIjug5y9 Naaptol Android Application http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36IlIjug5y9#?t=W251bGwsMSwyLDNd&ntpromoid=7438&utm_source=Emailer&utm_medium=-&utm_campaign=Naaptol-Android-App&utm_code=22032013 Naaptol IOS Application http://naaptoldeals.com/re?l=D0Ijuy67jI5lbvn36ImIjug5y9 Visa | Mastercard | American Express All major Credit / Debit cards accepted. Any trademarks used in connection with products or services appearing on this email or the website are the property of their respective owners. ___ 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: General questions regarding FreeBSD 10
Le Fri, 27 Sep 2013 12:47:08 -0500, Nikolas Britton a écrit : > 10. How is the Java ecosystem on FreeBSD? Not bad IMO. I develop with maven/netbeans/openjdk in Java and Groovy on FreeBSD 9. That works. There is no profiler support in netbeans. And the JVM can't request huge memory page (may be this is fixed in 10?), so it could perform better : http://www.oracle.com/technetwork/java/javase/tech/largememory-jsp-137182.html Java is much slower than other apps when the box is busy (building a world for example) but I'm not sure if this specific to FreeBSD. (I have litle success with Eclipse on the past, I don't use it) Regards. ___ 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: General questions regarding FreeBSD 10
On 27/09/2013 18:47, Nikolas Britton wrote: General questions regarding FreeBSD 10: Others have answered specific questions, for a general overview you might care to read this http://www.freebsdnews.net/2013/09/20/freebsd-10s-new-technologies-and-features/ and the FreeBSD 10 Wiki page that it links to. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ ___ 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: General questions regarding FreeBSD 10
27.09.2013 20:47, Nikolas Britton wrote: 7. Is Clang and the build system setup to automatically target cpu instruction set? i.e. cc -target-cpu corei7-avx? Any performance improvements of targeted binaries? Nope, because you can't just ship a full list of packages for a full list of processors on the given architecture. You can build your world/packages though adding -march=native to CFLAGS. 10. How is the Java ecosystem on FreeBSD? Is LLVM specific to applications? I make the assumption that the VM in LLVM is referring to something like a JVM, for code abstraction. No, LLVM is rather a backend with a lot of copmiler and toolchain stuff. There's a Java/.NET rewrite using LLVM named vmkit and I think JVM there is almost functional. But it's not even in the ports. -- Sphinx of black quartz, judge my vow. ___ 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: General questions regarding FreeBSD 10
Hi, Reference: > From: Nikolas Britton > Date: Fri, 27 Sep 2013 12:47:08 -0500 Nikolas Britton wrote: > General questions regarding FreeBSD 10: > > 1. Did virtualization containers (VPS) make it into FreeBSD 10? The > documentation Ive read implies that you can have nested containers, with > little to no performance penalty, is this correct? How is networking > handled inside these containers? > > 2. I'm assuming jails still exist in FreeBSD (I havent used BSD in a long > time), Then wait for the Release Announcement !!! Yuo'll read it when we do too. > how do they relate, or fit in, with VPS and Bhyve offerings? Is Xen > Dom0 or KVM available on FreeBSD? > > 3. Can Bhyve be used with processors that don't support Extended Page > Tables? For example, Xeon 5400 series processors? > > 4. How well does FreeBSD 10 run as a VMware vsphere , KVM, and/or Xen guest? > > 5: For Jails, VPS, and Bhyve, what is the footprint (i.e. memory overhead) > for each implementation? > > 6. How stable is FreeBSD's ZFS implementation, relative to Solaris? What > zpool version is in FreeBSD 10? Is LZ4 the default compression mode? > > 7. Is Clang and the build system setup to automatically target cpu > instruction set? i.e. cc -target-cpu corei7-avx? Any performance > improvements of targeted binaries? > > 8. Has ports management gotten any better, specifically upgrading ports? > Can applications be self contained, like on the Mac, yet? Any work on > rollback with ZFS? > > 9. I recall device support being a large hurtle for me in the past. How far > behind is driver development relative to Linux, for server equipment? Has > there been any community interest in porting FreeBSD (world) to Linux > (kernel)? > > 10. How is the Java ecosystem on FreeBSD? Is LLVM specific to applications? > I make the assumption that the VM in LLVM is referring to something like a > JVM, for code abstraction. > > I havent used FreeBSD in ages. Then you can afford to wait for the Release Announcement - like the rest of us - Or if you really wanted to know the answer to all these question, you wouldnt ask the questions@ list that was created for beginners quetions, you would go search the archives of the developer lists, & subscribe some. No subscribing a list doesnt mean you have to run it, just that you keep yourself informed & dont need to ask quaestions in advance of reality to the wrong list. > However, VPS, with ZFS, has me really > excited; I dont enjoy Solaris, and Enterprise Linux is still stuck in > 2009, with kernel 2.6.32. I cant find any modern linux distributions that > are as reliable as I remember FreeBSD was. Its really sad. 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" > Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ 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: General questions regarding FreeBSD 10
On Sep 27, 2013, at 10:47 AM, Nikolas Britton wrote: > General questions regarding FreeBSD 10: > > 1. Did virtualization containers (VPS) make it into FreeBSD 10? The > documentation I’ve read implies that you can have nested containers, with > little to no performance penalty, is this correct? How is networking > handled inside these containers? > I don't think they made it into 10. I think they are still in the projects/ tree... Last 2 posts on the topic that I've seen (Sep. 23, 2013): http://lists.freebsd.org/pipermail/freebsd-hackers/2013-September/043429.html http://lists.freebsd.org/pipermail/freebsd-hackers/2013-September/043442.html > 2. I'm assuming jails still exist in FreeBSD (I haven’t used BSD in a long > time), how do they relate, or fit in, with VPS and Bhyve offerings? > Yes. Changed slightly -- you configure jails in /etc/jail.conf now. Jails are enhanced by VPS and Bhyve offerings (which, the best of my knowledge, require jails). [skipping questions I can't answer] > 6. How stable is FreeBSD's ZFS implementation, relative to Solaris? What > zpool version is in FreeBSD 10? Is LZ4 the default compression mode? > At $work we're actively deploying ZFS into production. It's very stable from our testing over several years. Mileage seems to depend on configuration complexity, but overall is extremely stable. The default zpool version is 28, but if you do a "zpool upgrade ..." you'll then jump to the new 5000 version introduces "zfs feature flags". > 8. Has ports management gotten any better, specifically upgrading ports? > Can applications be self contained, like on the Mac, yet? Any work on > rollback with ZFS? > For better ports management, you could look into poudriere. There's a tutorial on bsdnow.tv The idea is that you'll use poudriere to intelligently manage the ports you want to roll binary packages. Then on 10 with the new `pkg' framework (formerly known as PkgNg) those binary packages are intelligently applied. As for self-contained packages... I believe you want what is known as PBIs. However, I think only PC-BSD offers PBIs -- I don't think they are offered in FreeBSD 10 by default (maybe there's a way though). I assume what you mean by "rollback with ZFS" is... "boot loader integration with BEs so you can boot to a previous snapshot". Look for that in 10.1. > 9. I recall device support being a large hurtle for me in the past. How far > behind is driver development relative to Linux, for server equipment? Has > there been any community interest in porting FreeBSD (world) to Linux > (kernel)? > Driver support is improving. There's AMD KMS and many more new drivers. Knowing what kind of hardware you use would help answer the question better. We've been very happy with LSI MegaRAID/SAS support, Broadcom 10G iSCSI support, QLogic 8G FC support, and many many more. As for FreeBSD-world with Linux-kernel... that sounds like the exact opposite of the Debian kFreeBSD project (FreeBSD-kernel, Linux-world). I don't suppose there's much demand in that. People that want such a thing seem to be quite happy with ArchLinux -- which uses a BSD-style init framework. There's also ArchBSD and ArchHurd. > 10. How is the Java ecosystem on FreeBSD? > Well, daiblo-jdk is dead, long live OpenJDK? Seems to be the motions around here at $work. > I haven’t used FreeBSD in ages. However, VPS, with ZFS, has me really > excited; Even more exciting, throw in VIMAGE, Geom Multipath, NETGRAPH, and sysutils/zxfer. The possibilities are limitless as you bolt on more-and-more ^_^ > I don’t enjoy Solaris, and Enterprise Linux is still stuck in > 2009, with kernel 2.6.32. I can’t find any modern linux distributions that > are as reliable as I remember FreeBSD was. It’s really sad. Thanks! Come on back to FreeBSD. ;) you're always welcome! We won't discuss why you left in the first place ;) -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
General questions regarding FreeBSD 10
General questions regarding FreeBSD 10: 1. Did virtualization containers (VPS) make it into FreeBSD 10? The documentation I’ve read implies that you can have nested containers, with little to no performance penalty, is this correct? How is networking handled inside these containers? 2. I'm assuming jails still exist in FreeBSD (I haven’t used BSD in a long time), how do they relate, or fit in, with VPS and Bhyve offerings? Is Xen Dom0 or KVM available on FreeBSD? 3. Can Bhyve be used with processors that don't support Extended Page Tables? For example, Xeon 5400 series processors? 4. How well does FreeBSD 10 run as a VMware vsphere , KVM, and/or Xen guest? 5: For Jails, VPS, and Bhyve, what is the footprint (i.e. memory overhead) for each implementation? 6. How stable is FreeBSD's ZFS implementation, relative to Solaris? What zpool version is in FreeBSD 10? Is LZ4 the default compression mode? 7. Is Clang and the build system setup to automatically target cpu instruction set? i.e. cc -target-cpu corei7-avx? Any performance improvements of targeted binaries? 8. Has ports management gotten any better, specifically upgrading ports? Can applications be self contained, like on the Mac, yet? Any work on rollback with ZFS? 9. I recall device support being a large hurtle for me in the past. How far behind is driver development relative to Linux, for server equipment? Has there been any community interest in porting FreeBSD (world) to Linux (kernel)? 10. How is the Java ecosystem on FreeBSD? Is LLVM specific to applications? I make the assumption that the VM in LLVM is referring to something like a JVM, for code abstraction. I haven’t used FreeBSD in ages. However, VPS, with ZFS, has me really excited; I don’t enjoy Solaris, and Enterprise Linux is still stuck in 2009, with kernel 2.6.32. I can’t find any modern linux distributions that are as reliable as I remember FreeBSD was. It’s really sad. 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: Custom release ISO questions.
Thank you Paul! > mkisofs ... It is interesting, does the Linux version of mkisofs fit? > slightly different approach. Very nice! Thanks again. On Wed, Sep 4, 2013 at 4:17 PM, Paul Wootton < paul-free...@fletchermoorland.co.uk> wrote: > On 09/04/13 10:27, Sergey wrote: > >> Hi all! >> >> Is there a way to create custom ISO without buildworld? >> I just want to edit some configs and bsdinstall scripts for silent >> automated install - why need to recompile whole world? >> It will be great if you'll share some useful links about this process. >> >> Thanks. >> > > Hi, > > To create a custom ISO, download the ISO you want to use as your base, use > tar to extract the ISO into a new directory, make the changes you want and > then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot -no-emul-boot -o > ../freebsd_custom.iso ." from the new directory. > That will create a bootable CD. > > What I did when making a custom install CD for my server (it's 1000s of > miles away in a datacenter) was a slightly different approach. > I created a sparse file (sparse to save on disk space) the exact size of > my server harddrive on my running BSD box, used mdconfig to give me a md > device and pointed VirtualBox at it. Within a VBox session, I did a normal > install (manually created the ZFS filing systems), made all the config > changes I wanted, installed the apps I wanted then shut the VBox session > down. I DD-ed in the md device and piped it to bzip2, creating a bz2 file. > Added the bz2 file to the custom BSD install ISO and modified /etc/rc.local > file to un-bzip the bz2 file, pipe it to mbuffer (so the opperator could > see something was happening) and write the output to the harddrive, popping > the reset line when complete. > When the server restarted, it was configured with all the right user > accounts, ip addresses, nameserver settings etc. > > Just my 2 pence worth... > > Paul > ___ 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: Custom release ISO questions.
On 04/09/2013 13:17, Paul Wootton wrote: On 09/04/13 10:27, Sergey wrote: Hi all! Is there a way to create custom ISO without buildworld? I just want to edit some configs and bsdinstall scripts for silent automated install - why need to recompile whole world? It will be great if you'll share some useful links about this process. Thanks. Hi, To create a custom ISO, download the ISO you want to use as your base, use tar to extract the ISO into a new directory, make the changes you want and then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot -no-emul-boot -o ../freebsd_custom.iso ." from the new directory. That will create a bootable CD. (Found in ports/sysutuls/cdrtools) What I did when making a custom install CD for my server (it's 1000s of miles away in a datacenter) was a slightly different approach. Boggle! ___ 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: Custom release ISO questions.
On 09/04/13 10:27, Sergey wrote: Hi all! Is there a way to create custom ISO without buildworld? I just want to edit some configs and bsdinstall scripts for silent automated install - why need to recompile whole world? It will be great if you'll share some useful links about this process. Thanks. Hi, To create a custom ISO, download the ISO you want to use as your base, use tar to extract the ISO into a new directory, make the changes you want and then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot -no-emul-boot -o ../freebsd_custom.iso ." from the new directory. That will create a bootable CD. What I did when making a custom install CD for my server (it's 1000s of miles away in a datacenter) was a slightly different approach. I created a sparse file (sparse to save on disk space) the exact size of my server harddrive on my running BSD box, used mdconfig to give me a md device and pointed VirtualBox at it. Within a VBox session, I did a normal install (manually created the ZFS filing systems), made all the config changes I wanted, installed the apps I wanted then shut the VBox session down. I DD-ed in the md device and piped it to bzip2, creating a bz2 file. Added the bz2 file to the custom BSD install ISO and modified /etc/rc.local file to un-bzip the bz2 file, pipe it to mbuffer (so the opperator could see something was happening) and write the output to the harddrive, popping the reset line when complete. When the server restarted, it was configured with all the right user accounts, ip addresses, nameserver settings etc. Just my 2 pence worth... Paul ___ 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"
Custom release ISO questions.
Hi all! Is there a way to create custom ISO without buildworld? I just want to edit some configs and bsdinstall scripts for silent automated install - why need to recompile whole world? It will be great if you'll share some useful links about this process. 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: New to Free-BSD with questions.
On Sat, 10 Aug 2013, r_oliva...@juno.com wrote: D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ has the Handbook in compressed files for download. Several formats are available, including single and split HTML, PDF, and others. Many people just read the online version at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Translated versions are also available. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to Free-BSD with questions.
On Sat, 10 Aug 2013 09:58:07 GMT "r_oliva...@juno.com" wrote: > New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. > System boots from DVD to command line mode. > Questions are: > A.) Is Xwindows, (X11) included on the DVD copy? Yes, included. > B.) If included, what command is used to start it? It's included, but not installed. After boot under command line mode, login as root and type '#pkg_add -r xorg' (without quotes). When install ends, you can use startx or xinit to enter X mode. The default wm is a bit rude, install the one you want, f.ex. '#pkg_add -r kde4', '#pkg_add -r gnome2', '#pkg_add -r xfce4'. After install use '#rehash ' and/or '#hash -r'. Start each wm using proper command, startkde4, startxfluxbox, check docs or sail the web for that. > C.) What shell is installed as the standard shell in command line mode? Plain sh. Minimal, standard, works, rocks. > D.) Is there a site that I can download a complete copy of the documentation > for Free-BSD, as one file and not a series/set of separate files? The handbook has single html mode. > Thank you for your assistance. > Ms. R. Olivarez > (E-mail: r_oliva...@juno.com HTH --- --- Eduardo Morras ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to Free-BSD with questions.
On 10/08/2013 10:58, r_oliva...@juno.com wrote: New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? That's X, X11, Xorg or the X-Window System. Yeah, kind-of but you've probably downloaded the base version that expects you to be using it from the command line unless you compile or add X later. B.) If included, what command is used to start it? startx C.) What shell is installed as the standard shell in command line mode? tcsh - basically the standard Bourne shell unless you specified a different one when you created the user. You can switch to csh easily enough (type csh) or you can can add any other shell you like from the ports collection. D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? You probably want to read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Or if you want the whole thing at once try this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html However, you'll get a lot of specific information for the man pages that come with it. There's an install option (new at 9.0?) to include documentation but I've never made use of it myself. However, if you're wanting a quick-start version of a FreeBSD with a graphical shell and looking more like a Windoze desktop try this one: http://www.pcbsd.org/ 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"
Re: New to Free-BSD with questions.
On Sat, 10 Aug 2013 09:58:07 GMT, r_oliva...@juno.com wrote: > New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. > System boots from DVD to command line mode. It should boot into a text mode installer. After installation, FreeBSD usually boots into a text mode (depending on what has been installed and configured already). > Questions are: > A.) Is Xwindows, (X11) included on the DVD copy? If I remember correctly, the required packages are part of the DVD #1. If you are already connected to the Internet, you can use that "medium" as installation source. Just a side note: PC-BSD, a system derived from FreeBSD, offers a graphical installer and a more tight integration with GUI-centric concepts (installs X automatically and even brings a desktop environment preinstalled). > B.) If included, what command is used to start it? It depends. If you want to start X from a regular login shell, "startx" is used. But a display manager which maintains a GUI login (like xdm) can also be used. See the handbook for more details: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html And don't miss the excellent FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ > C.) What shell is installed as the standard shell in command line mode? FreeBSD's default dialog shell is the C Shell (more precisely, the tcsh). The command shell in single user mode (maintenance mode) is a plain Bourne-alike shell (sh), which is also the systems default scripting shell. You can install shells like ksh, zsh and bash if you like. > D.) Is there a site that I can download a complete copy of > the documentation for Free-BSD, as one file and not a > series/set of separate files? Not that I know of, because the documentation on the web is primarily for use with a web browser, that's why it's hierarchically designed and separated. However, the documentation is part of the FreeBSD installation, and you can generate PS and PDF "book", as _one_ (voluminous) file, from them (even though I've never tried that). You can use a tool like wget to download a copy of the web documentation for offline use (keeping the mentioned separation). The web pages contain a "Split HTML" and "Single HTML" option, so you could maybe simply save this web page http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html for the FAQ, and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html for The FreeBSD Handbook, but it might be unhandy for printing. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
New to Free-BSD with questions.
New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? B.) If included, what command is used to start it? C.) What shell is installed as the standard shell in command line mode? D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? Thank you for your assistance. Ms. R. Olivarez (E-mail: r_oliva...@juno.com One Weird Trick Could add $1,000s to Your Social Security Checks! See if you Qualify… http://thirdpartyoffers.juno.com/TGL3131/52060f091e983f0837bbst04vuc ___ 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: Glen Peterson from Wisconsin. Some questions
On Tue, Jul 30, 2013 at 10:56 PM, wrote: > Dear Sir: > > > I have been thinking about installing your FreeBSD onto some of my extra > PC's that I have laying around, just to see what that Unix OS can do on my > PC. I have a few questions, though, before I order your Install Disk to do > that. I spoke to your receptionist there on 30 July, and she suggested that > I write to you with my detailed questions before I went ahead an purchased > your well-recommended OS: > > > 1. I have a Dell Dimension 3000 PC with a 32-bit Intel processor in it. It > has 2G's of RAM, and a 250GB hard drive under Windows OS, currently. I use > A.T.&T. as my ISP and I have a DSL line supplied by A.T.& T. May I install > your OS onto an external 80 GB Seagate Barracuda ATA IV Model ST380021A > hard drive, and boot off of that into BSD and have it run on that Dell > computer? The BIOS Chip seems to support external drives and USB sticks, > since I have successfully used the later to boot this PC into Debian Linux. > > 2. Do you have a version of your free BSD program with a graphical user > interface (like that seen on Mac's and Windows boxes) that will run on that > same Dell Dimension 300, mentioned above? > > 3. How much does the install CD cost me, including shipping to the > Milwaukee area, for the Free BSD OS that will run on said computer? > > 4. I have another PC at work that has a 32-bit AMD chip in it with 1GB RAM > and 250 GB under Vista OS, currently. Do you likewise have a version of > your latest Free BSD that will run on THIS machine in a graphical > environment like that mentioned for the Dell computer above from the same > external 80 GB Seagate hard drive? > > 5. Does the OS come with an application, like I have observed with some > Linux distros, that enables me to get updates as they become available? > > Does your FreeBSD come with its own browser? If not, may I still connect > to the web by some means to obtain a BSD-compatible browser (e.g., Firefox) > that will run on this OS on either of the two computers above? > > Sincerely, > > Glen A. Peterson > Cedarburg, Wisconsin > (262) 780-1856 (W, C.D.T.)but OK to call there) > peterso...@aol.com > > Glen, First of all, FreeBSD is well FREE.. you don't need to purchase it, but you can donate to the FreeBSD foundation[2] a user friendly version of FreeBSD is available, it is named PC-BSD, they have dropped support for 32bit processors but you can still obtain old versions with 32bit support [3] you should note however, that unlike in the Linux world, PC-BSD is not a fork persay, it is plain vanilla FreeBSD under the hood, its just simply packaged in a way that makes it easy to "use" While The FreeBSD handbook is a great source of information, and everything you find there will apply to PC-BSD as well, there is a book that is very well written The Definitive Guide to PC-BSD [4] PCBSD provides updates via a graphical user interface, and they very closely track FreeBSD.. but as I stated earlier, while FreeBSD still actively supports the 32bit platform, PC-BSD has decided not to. on a side note, I am also from Wisconsin, feel free to contact me via gmail chat sfour...@gmail.com, I will assist you in anyway I can Have a Great Day, Sam Fourman Jr. [1] ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.1/FreeBSD-9.1-RELEASE-i386-disc1.iso [2]http://www.freebsdfoundation.org/donate/ [3]ftp://ftp.pcbsd.org/pub/archived/8.2/i386/ [4]https://www.freebsdmall.com/cgi-bin/fm/pcbsdguide?id=MhtF3J72&mv_pc=194 ___ 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: Fwd: Glen Peterson from Wisconsin. Some questions
On 31/07/2013 03:56, peterso...@aol.com wrote: > I have been thinking about installing your FreeBSD onto some of my > extra PC's that I have laying around, just to see what that Unix OS > can do on my PC. I have a few questions, though, before I order your > Install Disk to do that. I spoke to your receptionist there on 30 > July, and she suggested that I write to you with my detailed > questions before I went ahead an purchased your well-recommended OS: Receptionist? I don't believe we (FreeBSD) have anything like that. We're not a business; just a bunch of people that write an OS and make it available for anyone to use. Perhaps you spoke to one of the companies that sell FreeBSD derived products? Note that you can simply download FreeBSD CD and USB stick images for free (well, not counting anything you'ld have to pay for bandwidth) -- pre-written CDs come from third parties, but buying them will generally result in some money going to the FreeBSD foundation. > 1. I have a Dell Dimension 3000 PC with a 32-bit Intel processor in > it. It has 2G's of RAM, and a 250GB hard drive under Windows OS, > currently. I use A.T.&T. as my ISP and I have a DSL line supplied by > A.T.& T. May I install your OS onto an external 80 GB Seagate > Barracuda ATA IV Model ST380021A hard drive, and boot off of that > into BSD and have it run on that Dell computer? The BIOS Chip seems > to support external drives and USB sticks, since I have successfully > used the later to boot this PC into Debian Linux. Should work fine with FreeBSD. The best way to test for full compatibility is to boot from a USB stick or a live CD before installing on your hard drive. > 2. Do you have a version of your free BSD program with a graphical > user interface (like that seen on Mac's and Windows boxes) that will > run on that same Dell Dimension 300, mentioned above? FreeBSD itself is just the basic operating system without any frills. Graphical environments are certainly available, but they are considered as add-ons and not part of FreeBSD itself. I suggest that instead of FreeBSD itself, you start with PC-BSD (http://www.pcbsd.org/) This is an integrated desktop system with all the graphical bits layered on top of the basic FreeBSD operating system. It's much more like what you'll have see when you tried out Debian, and as it has a nice graphical interface, it tends to be a lot easier for people new to the Unix command line. > 3. How much does the install CD cost me, including shipping to the > Milwaukee area, for the Free BSD OS that will run on said computer? It's free to download. You can buy a boxed set of CDs or a DVD from here: https://www.freebsdmall.com/cgi-bin/fm Looks like about $30 for CDs, $40 for a DVD. Plus shipping nd handling and the usual taxes. > 4. I have another PC at work that has a 32-bit AMD chip in it with > 1GB RAM and 250 GB under Vista OS, currently. Do you likewise have a > version of your latest Free BSD that will run on THIS machine in a > graphical environment like that mentioned for the Dell computer above > from the same external 80 GB Seagate hard drive? Yes, FreeBSD has versions for both the i386 (Intel 32 bit) and amd64 (64 bit) architectures. Note that you'ld use amd64 for any 64bit capable intel type CPU, including ones from Intel specifically and not just ones from AMD. > 5. Does the OS come with an application, like I have observed with > some Linux distros, that enables me to get updates as they become > available? Yes, in fact there are several different ways of doing this. If you try out PC-BSD as I suggest, it has built-in update mechanisms which will allow you to update from the net. > Does your FreeBSD come with its own browser? If not, may I still > connect to the web by some means to obtain a BSD-compatible browser > (e.g., Firefox) that will run on this OS on either of the two > computers above? FireFox and Chrome and a number of other web browsers certainly are available either as native FreeBSD applications, or by running the Linux applications under emulation. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Glen Peterson from Wisconsin. Some questions
On Tue, Jul 30, 2013 at 10:56 PM, wrote: > Dear Sir: > > > I have been thinking about installing your FreeBSD onto some of my extra > PC's that I have laying around, just to see what that Unix OS can do on my > PC. I have a few questions, though, before I order your Install Disk to do > that. I spoke to your receptionist there on 30 July, and she suggested that > I write to you with my detailed questions before I went ahead an purchased > your well-recommended OS: > > > 1. I have a Dell Dimension 3000 PC with a 32-bit Intel processor in it. It > has 2G's of RAM, and a 250GB hard drive under Windows OS, currently. I use > A.T.&T. as my ISP and I have a DSL line supplied by A.T.& T. May I install > your OS onto an external 80 GB Seagate Barracuda ATA IV Model ST380021A > hard drive, and boot off of that into BSD and have it run on that Dell > computer? The BIOS Chip seems to support external drives and USB sticks, > since I have successfully used the later to boot this PC into Debian Linux. > > 2. Do you have a version of your free BSD program with a graphical user > interface (like that seen on Mac's and Windows boxes) that will run on that > same Dell Dimension 300, mentioned above? > > 3. How much does the install CD cost me, including shipping to the > Milwaukee area, for the Free BSD OS that will run on said computer? > > 4. I have another PC at work that has a 32-bit AMD chip in it with 1GB RAM > and 250 GB under Vista OS, currently. Do you likewise have a version of > your latest Free BSD that will run on THIS machine in a graphical > environment like that mentioned for the Dell computer above from the same > external 80 GB Seagate hard drive? > > 5. Does the OS come with an application, like I have observed with some > Linux distros, that enables me to get updates as they become available? > > Does your FreeBSD come with its own browser? If not, may I still connect > to the web by some means to obtain a BSD-compatible browser (e.g., Firefox) > that will run on this OS on either of the two computers above? > > Sincerely, > > Glen A. Peterson > Cedarburg, Wisconsin > (262) 780-1856 (W, C.D.T.)but OK to call there) > peterso...@aol.com > > > > > > You may find very good and detailed answers in the FreeBSD Handbook : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ and the following page may be utilized as a guide : http://www.freebsd.org/docs.html ( FreeBSD Documentation ) Thank you very much . Mehmet Erol Sanliturk ___ 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"
Fwd: Glen Peterson from Wisconsin. Some questions
Dear Sir: I have been thinking about installing your FreeBSD onto some of my extra PC's that I have laying around, just to see what that Unix OS can do on my PC. I have a few questions, though, before I order your Install Disk to do that. I spoke to your receptionist there on 30 July, and she suggested that I write to you with my detailed questions before I went ahead an purchased your well-recommended OS: 1. I have a Dell Dimension 3000 PC with a 32-bit Intel processor in it. It has 2G's of RAM, and a 250GB hard drive under Windows OS, currently. I use A.T.&T. as my ISP and I have a DSL line supplied by A.T.& T. May I install your OS onto an external 80 GB Seagate Barracuda ATA IV Model ST380021A hard drive, and boot off of that into BSD and have it run on that Dell computer? The BIOS Chip seems to support external drives and USB sticks, since I have successfully used the later to boot this PC into Debian Linux. 2. Do you have a version of your free BSD program with a graphical user interface (like that seen on Mac's and Windows boxes) that will run on that same Dell Dimension 300, mentioned above? 3. How much does the install CD cost me, including shipping to the Milwaukee area, for the Free BSD OS that will run on said computer? 4. I have another PC at work that has a 32-bit AMD chip in it with 1GB RAM and 250 GB under Vista OS, currently. Do you likewise have a version of your latest Free BSD that will run on THIS machine in a graphical environment like that mentioned for the Dell computer above from the same external 80 GB Seagate hard drive? 5. Does the OS come with an application, like I have observed with some Linux distros, that enables me to get updates as they become available? Does your FreeBSD come with its own browser? If not, may I still connect to the web by some means to obtain a BSD-compatible browser (e.g., Firefox) that will run on this OS on either of the two computers above? Sincerely, Glen A. Peterson Cedarburg, Wisconsin (262) 780-1856 (W, C.D.T.)but OK to call there) peterso...@aol.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: hey some questions
On Sat, 20 Jul 2013 01:02:07 +0300, mt2 magic wrote: > hey bro > bro can you help me to enable remote access to mysql server > i am using FreeBSD 9.0 Yo bro, L33T help ahead. :-) http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html http://forums.freebsd.org/showthread.php?t=19940 Does this provide some help for you? If not, you might need to be less un-bro-like and instead more specific in regards of your problem description. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
hey some questions
hey bro bro can you help me to enable remote access to mysql server i am using FreeBSD 9.0 ___ 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: FreeBSD Appliance Questions
Hi. Have some experience with isilon NL and ssd iseries. Onefs 6.5 . Dont go mucking around like you are on a normal bsd system. It doesnt work that way. They have a system which is similar to cfengine which overwrites changes so you need to do things their way not the bsd way. Their support is crap since emc purchase. Threw some avere cacheing in front of our silos but still no plans on upgrading.. On Jun 28, 2013 5:59 PM, "Tim Daneliuk" wrote: > On 06/28/2013 05:46 PM, Outback Dingo wrote: > >> research shows http://en.wikipedia.org/wiki/** >> OneFS_distributed_file_system<http://en.wikipedia.org/wiki/OneFS_distributed_file_system> >> > > D'oh. I looked it up under Isolon but not OneFS. > > -- > --**--** > > Tim Daneliuk tun...@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > __**_ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<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: FreeBSD Appliance Questions
On 06/28/2013 05:46 PM, Outback Dingo wrote: research shows http://en.wikipedia.org/wiki/OneFS_distributed_file_system D'oh. I looked it up under Isolon but not OneFS. -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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: FreeBSD Appliance Questions
On Fri, Jun 28, 2013 at 6:35 PM, Tim Daneliuk wrote: > On 06/28/2013 05:31 PM, Outback Dingo wrote: > > >> >> >> On Fri, Jun 28, 2013 at 6:28 PM, Tim Daneliuk > tun...@tundraware.com>**> wrote: >> >> On 06/28/2013 05:27 PM, Tim Daneliuk wrote: >> >> I am working on an NAS appliance built on FreeSBD. Several >> questions: >> >> - The vendor has rebranded everything so uname isn't helping me >> determine >> what exact branch of FreeBSD they used. Is there another >> canonical way >> to figure this out? >> >> - For any reasonably recent version of FBSD, is it likely that the >> Linux emulation will work correctly or are there certain >> versions of >> FreeBSD that do this better than others? >> >> Thanks, >> >> >> >> Oh one more thing - does anyone have experience - good or bad - with >> installing and running the Tivoli TSM Client software under the >> FreeBSD >> Linux emulation? >> >> >> >> would help to know the manufacturer, might be able to help nail down the >> version of the OS >> >> > > It is an EMC/Isolon but I'm not sure which model. Still looking into it. > > research shows http://en.wikipedia.org/wiki/OneFS_distributed_file_system > > -- > --**--** > > Tim Daneliuk tun...@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > ___ 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: FreeBSD Appliance Questions
On 06/28/2013 05:31 PM, Outback Dingo wrote: On Fri, Jun 28, 2013 at 6:28 PM, Tim Daneliuk mailto:tun...@tundraware.com>> wrote: On 06/28/2013 05:27 PM, Tim Daneliuk wrote: I am working on an NAS appliance built on FreeSBD. Several questions: - The vendor has rebranded everything so uname isn't helping me determine what exact branch of FreeBSD they used. Is there another canonical way to figure this out? - For any reasonably recent version of FBSD, is it likely that the Linux emulation will work correctly or are there certain versions of FreeBSD that do this better than others? Thanks, Oh one more thing - does anyone have experience - good or bad - with installing and running the Tivoli TSM Client software under the FreeBSD Linux emulation? would help to know the manufacturer, might be able to help nail down the version of the OS It is an EMC/Isolon but I'm not sure which model. Still looking into it. -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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: FreeBSD Appliance Questions
On Fri, Jun 28, 2013 at 6:28 PM, Tim Daneliuk wrote: > On 06/28/2013 05:27 PM, Tim Daneliuk wrote: > >> I am working on an NAS appliance built on FreeSBD. Several questions: >> >> - The vendor has rebranded everything so uname isn't helping me determine >>what exact branch of FreeBSD they used. Is there another canonical way >>to figure this out? >> >> - For any reasonably recent version of FBSD, is it likely that the >>Linux emulation will work correctly or are there certain versions of >>FreeBSD that do this better than others? >> >> Thanks, >> > > > Oh one more thing - does anyone have experience - good or bad - with > installing and running the Tivoli TSM Client software under the FreeBSD > Linux emulation? > > > would help to know the manufacturer, might be able to help nail down the version of the OS > > > -- > --**--** > > Tim Daneliuk tun...@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > __**_ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<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: FreeBSD Appliance Questions
On 06/28/2013 05:27 PM, Tim Daneliuk wrote: I am working on an NAS appliance built on FreeSBD. Several questions: - The vendor has rebranded everything so uname isn't helping me determine what exact branch of FreeBSD they used. Is there another canonical way to figure this out? - For any reasonably recent version of FBSD, is it likely that the Linux emulation will work correctly or are there certain versions of FreeBSD that do this better than others? Thanks, Oh one more thing - does anyone have experience - good or bad - with installing and running the Tivoli TSM Client software under the FreeBSD Linux emulation? -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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 Appliance Questions
I am working on an NAS appliance built on FreeSBD. Several questions: - The vendor has rebranded everything so uname isn't helping me determine what exact branch of FreeBSD they used. Is there another canonical way to figure this out? - For any reasonably recent version of FBSD, is it likely that the Linux emulation will work correctly or are there certain versions of FreeBSD that do this better than others? Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ 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: 9.1 - new install questions
Hi, I don't often comment here and don't really have much to add in this case but; What have you tried to discover the answers to your questions? I just noticed that this post seemed to have been missed. some leads might be: http://www.freebsd.org/releases/9.1R/relnotes.html http://tools.ietf.org/html/rfc4862 - have a good day, 'a5 > I just installed 9.1 on a clean disk. The dmesg is at the end of this > message. > > > > For the network configuration, I selected DHCP for IPv4 and SLAAC for > IPv6. When I boot the PC, it appears that dhclient tries to load > twice. Why does it try to load the second time? > >>From the console log: > > May 18 17:53:15 a31p kernel: Starting dhclient. > May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 > port 67 > May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 > port 67 > May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1 > May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 36 > seconds. > May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233). > > > > > > > Also during the boot process, but earlier, is this message: > > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > run_interrupt_driven_hooks: still waiting after 60 seconds for > xpt_config > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > > > > What is that trying to tell me? The disk appears to work fine, i.e., > 9.1 loads up and runs OK. The above adds significantly to the boot > time. If it is just informational, is there a way to bypass it? > > > Thanks. > > > > > > dmesg: > > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 > r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0xf24 Family = f Model = 2 Stepping > = 4 > Features=0x3febf9ff A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > real memory = 1073741824 (1024 MB) > avail memory = 1031213056 (983 MB) > kbd1 at kbdmux0 > ctl: CAM Target Layer loaded > acpi0: on motherboard > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > acpi0: reservation of 0, a (3) failed > acpi0: reservation of 10, 3ff0 (3) failed > cpu0: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0x3000-0x30ff mem > 0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on > pci1 > uhci0: port > 0x1800-0x181f irq 11 at device 29.0 on pci0 > usbus0 on uhci0 > uhci1: port > 0x1820-0x183f irq 11 at device 29.1 on pci0 > usbus1 on uhci1 > uhci2: port > 0x1840-0x185f irq 11 at device 29.2 on pci0 > usbus2 on uhci2 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > cbb0: mem 0x5000-0x5fff irq 11 at > device 0.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x5010-0x50100fff irq 11 at > device 0.1 on pci2 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > fwohci0: mem 0xd0201000-0xd02017ff irq 11 at device 0.2 > on pci2 > fwohci0: OHCI version 1.0 (ROM=0) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:06:1b:00:10:00:6d:38 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38 > fwe0: Ethernet address: 02:06:1b:00:6d:38 > fwip0: on firewire0 > fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe, > S400,
9.1 - new install questions
ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ppc0: port 0x3bc-0x3be,0x7bc-0x7be irq 7 drq 0 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 ppi0: on ppbus0 battery0: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc-0xc,0xdc000-0xd,0xe-0xe pnpid ORM on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 acpi_perf0: on cpu0 p4tcc0: on cpu0 firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: ATA-6 device ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes) ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1232519 x 2048 byte records] Trying to mount root from ufs:/dev/ada0p2 [rw]... fxp0: link state changed to UP -fini- ___ 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: Newbies Questions
D. You'll probably learn a lot which will position you on top of the food chain, compared to common "Minesweeper Consultant Solitaire Experts". :-) PS. Am I right to assume that your text has been automatically translated? There seem to be "some words" missing. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Newbies Questions
Hello here I am new to the bsd system and I would like you exposed my questions and also my coming here know that not insite to troll;) my coming computer began at the age of 8 years on a type of mac 128k I have given anyone around me make small hack (jentend by looking if I delete it if it's going to change as or that thing .. etc.) and it is true that my parents will often taken (especially when I was on Windows computer with a technician) today I did all that I meme except for the replacement material, I knew if I may say the evolution of my first personal computer was a windows 3.1> 95> mE> XP> 7> 8 and it is true many have started changing appearances of menus, beginning internet, reliability not very good but with notable progress it is true that today we have as good reliability on Linux except for win8 win8 and millennium I would say that the engine is good cabin has major change but the electronics are not followed --- I came to the bsd family because I wanted to find the passions annimait me when I discovered the windows computer today is more automated security enhancements certe but almost one month after it is all out and then crack reliability leaves much wished he planted I do it many times without knowing why Today I was looking for more than tampering before (a little bit) I want to know more what is behind the cabin or in the engine what are lélément that starts and subsequently what, çi or that etc LINUX I have tested several times linux but I try to be interested but I thought it was strange that a messy system certe but pretty much by philosophy I especially remember the numerous distributions by allieur I do not understand why there was so especially in the desktop category Then I see a preponderance at the hand of ubuntu which is bizare because I think cannonical not very involved in the elaboration and the improvements in the Linux kernel community is against the levels of market share very strong it is true that when have seen open source software there are binary but all too often the meme distributions it has remained a meme be compiled but linux does not interest me one day jy can be back but for now it does not interest me - BSD this is a day that I am in PC-BSD I enjoy clear information and a lot of details I am also surprised to hear my pc when I was working on windows it is true that if one compares the port windows it saddens me store windows store has 50,000 applications while the freebsd port to have only 20 000 (I think) but I see this nice beautiful system used better than the distributions for the desktop lighter uses much better all for free even if linux is also free implementation has some configuration error I is not had a lot of crashes PBI system is just great have created a module port, and presto! have can make a pbi without problem also support HD card ati leaves wished I can not play games (I have a ati hd 4670) but it is true that I do not yet many experience in this system there is something else that I tested ~ 2years OPEN-SOLARIS an equally brilliant and especially a manufacturing system by sun and unfortunately the sun redemption by oracle has changed the most open-solaris, more open office today must make a profit and it seems to me that there was not much developer who was paid to do a job that could have freely modified and make best OPÊN-BAR I would also tell you that the French Ministry of Defence through the open bar has decided to fully equipped computer using these windows is € 100 per post and the cerat microsoft support and software come to ireland I would come back later if I have further questions answer Cordially ___ 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"
NFSv4 questions and possible bugs
I set up NFSv4, did some performance tests, setup looks like this: Server rc.conf: nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" exports: /share -mapall=nobody 10.10.14.2 10.10.14.3 V4: / -sec=sys Client(s) fstab mount: srv:/share /mnt nfs nfsv4,rsize=32768,wsize=32768,rw 0 0 Server is in a different vlan than the clients, there's a Juniper SRX between them. As far as I understand this means a NFSv4 only setup. 1. I had to use rsize and wsize mount options, without them performance is horrible, 1 MBps from the same vlan, when in different vlans it would start fast than drop to a standstill, compared to around 100MBps with sizes. Not sure why. 32K is the best I found, 16K and 64K were slightly worse, but I assume this is due to our network setup. 2. Only port 2049 is open in the firewall, as it should be enough for NFSv4, but umount tries to send 3 UDP packets to port 111. This causes it to hang for some time while waiting for the packets to time out and exit with an error. The unmount is executed correctly, but the exit status could cause problems in scripts, see 4. 3. bonnie++ exits uncleanly, http://lists.freebsd.org/pipermail/freebsd-current/2010-September/019820.html I guess this is a known bug, but I just wanted to point out that it's still there in up to date 9.1-RELEASE. Since it's been around for a long time, I suppose it's not likely to cause problems in production, is it? 4. After bonnie++'s failure I tried iozone, but iozone wants to unmount before each test and hits #2. Performance is excellent as far as I can see, after setting raise and wsize, transfers hit the network cap, so I guess my main question is if #2 is likely to cause issues down the road. It will have mostly perl scripts reading and moving files around and syslog, "rm -rf" seemed to do the job without problems. ___ 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: Questions not working again?
On 12/08/12 01:04, Bas Smeelen wrote: On 12/08/12 01:00, Erich Dollansky wrote: Hi, On Fri, 07 Dec 2012 13:32:40 -1000 Al Plant wrote: Aloha FreeBSD mail list. This is the second month that it questions have stopped working to my mail box. All the other lists are fine that I subscribe to. My firewall spam wall has not been changed. what Do you mean? You could not post to it? You did not get any messages from it anymore? Erich Any way to fix this? There is no difference between the mails I get from questions and what I got in my mail The mail in archives on http-list I meant ___ 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: Questions not working again?
On 12/08/12 01:00, Erich Dollansky wrote: Hi, On Fri, 07 Dec 2012 13:32:40 -1000 Al Plant wrote: Aloha FreeBSD mail list. This is the second month that it questions have stopped working to my mail box. All the other lists are fine that I subscribe to. My firewall spam wall has not been changed. what Do you mean? You could not post to it? You did not get any messages from it anymore? Erich Any way to fix this? There is no difference between the mails I get from questions and what I got in my mail ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: n...@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol _______ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" _______ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Questions not working again?
Hi, On Fri, 07 Dec 2012 13:32:40 -1000 Al Plant wrote: > Aloha FreeBSD mail list. > > This is the second month that it questions have stopped working to my > mail box. All the other lists are fine that I subscribe to. My > firewall spam wall has not been changed. > what Do you mean? You could not post to it? You did not get any messages from it anymore? Erich > Any way to fix this? > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 >+ http://hawaiidakine.com + http://freebsdinfo.org + >+ http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + >< email: n...@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis > Carrol > > ___ > 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"
Questions not working again?
Aloha FreeBSD mail list. This is the second month that it questions have stopped working to my mail box. All the other lists are fine that I subscribe to. My firewall spam wall has not been changed. Any way to fix this? ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: n...@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol _______ 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: ld; extracting from libraries; and related questions
On 11/29/12 14:00, Polytropon wrote: > On Thu, 29 Nov 2012 13:54:02 -0700, Gary Aitken wrote: >> Is it possible to extract a .o from a lib.a or lib.so, so I can compare >> it to the .o built by the make? > > If I remember correctly (which requires a travel into the > distant past), I think "ar" - the library archiver - is > the tool you need. > > Check "man ar", the EXAMPLES section: > > To verbosely list the contents of archive ex.a, use: > ar -tv ex.a > > So by using -x instead of -t, the members should be extracted. Ah, those old brain cells aren't quite dead yet. Interesting... If I link against the libglib-2.0.a, and then the libglib-2.0.so.0 to resolve the undefined refs to _fini and _init, it reports the proper version: ~/Computing/GIMP/gimp_2_8/work$ !1110 ld -o tst_version /usr/lib/crt1.o tst_version.o ~/Computing/GIMP/gimp_2_8/ports/devel/glib20/work/glib-2.34.1/glib/.libs/libglib-2.0.a ~/Computing/GIMP/gimp_2_8/ports/devel/glib20/work/glib-2.34.1/glib/.libs/libglib-2.0.so.0 -lc ~/Computing/GIMP/gimp_2_8/work$ ./tst_version glib version=2.34.1 But if I link against the .so only I get the wrong version: ~/Computing/GIMP/gimp_2_8/work$ !1112 ld -o tst_version /usr/lib/crt1.o tst_version.o ~/Computing/GIMP/gimp_2_8/ports/devel/glib20/work/glib-2.34.1/glib/.libs/libglib-2.0.so.0 -lc ~/Computing/GIMP/gimp_2_8/work$ ./tst_version glib version=2.28.8 Using ar I can extract the .o from the lib .a and objdump (unsuprisingly) shows the right values for the fields, although the .o is not identical to the one compiled; may have some symbols stripped. Unfortunately, ar can't be used to extract the .o from the lib .so. Also, it doesn't appear possible to do that with ld. I've regenerated the libs numerous times, and checked that the only instances of gversion.o (the module where the version values are stored) is the one with the 2.34.1. The 2.28.8 is from the libglib-2.0.so installed in the standard place, /usr/local/lib. I have vague recollections of reading something about shared libraries and mechanisms to prevent an imposter shared library from being loaded in place of the "real" one. I have a sneaking suspicion that may somehow be getting in the way, although I haven't a clue how. bingo!: ldd tst_version tst_version: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x800849000) libc.so.7 => /lib/libc.so.7 (0x800b2b000) libintl.so.9 => /usr/local/lib/libintl.so.9 (0x800e71000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x80107a000) libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x801376000) ugh. So... How does one install and use a newer version of a shared lib in a place other than the standard place, for specific programs? Is that even possible? Unfortunately, the versioning of the library is the same, libglib-2.0.so.0. thanks for any insights, 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: ld; extracting from libraries; and related questions
On Thu, 29 Nov 2012 13:54:02 -0700, Gary Aitken wrote: > Is it possible to extract a .o from a lib.a or lib.so, so I can compare > it to the .o built by the make? If I remember correctly (which requires a travel into the distant past), I think "ar" - the library archiver - is the tool you need. Check "man ar", the EXAMPLES section: To verbosely list the contents of archive ex.a, use: ar -tv ex.a So by using -x instead of -t, the members should be extracted. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
ld; extracting from libraries; and related questions
I'm trying to track down why a library I've built doesn't have the stuff it's supposed to. The .o files are from a more recent port of glib, built in a non-standard place; but the .so contains files which appear to be from the standard /usr/ports installation. Something strange happened when building the lib. Using objdump I can see that the .o contains the correct version. Is it possible to extract a .o from a lib.a or lib.so, so I can compare it to the .o built by the make? Initially, I was testing via a C program that dumps out glib_major_version, glib_minor_version, and glib_micro_version In order to narrow this down, I ended up having to link as follows: ld -o a.out /usr/lib/crt1.o garya.o \ ~/.../ports/devel/glib20/work/glib-2.34.1/glib/gversion.o \ ~/.../ports/devel/glib20/work/glib-2.34.1/glib/.libs/libglib-2.0.so.0 \ -lc When the above linked a.out runs, I see the correct value (2.34.1) When gversion.o is left out of the link, I see the incorrect version (2.28.8) If I link with gversion.o and -lc only, I have unresolved symbols from crt1.o: /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x73): undefined reference to `_fini' crt1.c:(.text+0x7d): undefined reference to `_init' where should they come from? I thought maybe I should be using crt0.o but I don't see one anywhere. If I try adding in /usr/lib/crti.o, which resolves the missing symbols, I get a segv before even entering main. I also thought the .a was simply a static version of the .so, but that doesn't appear to be the case, since linking with the .a still has the unresolved symbols. I haven't done this for a *long* while so I'm pretty out of date. Any clarifications would be much appreciated. Thanks, 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: 'device' representation in the filesystem questions
On 11/14/12 23:38, Robert Bonomi wrote: it appears that FreeBSD, at least 8.0 and later: a) no longer uses 'raw' devices for anything b) no longer uses 'block' devices for anything c) randomly assigns device 'major' numbers d) doesn't use device 'minor' numbers for anything. e) as a result of c) and d), there is no way to establish 'device' physical characteristics from the 'node' information. Is there a wizzard who can confirm/deny? I'm not a wizard, I don't even count as a sorcerer's apprentice, but I can answer some of these. Firstly block devices were dropped when the unified VM cache came in as the semantics were incompatible. The Architecture Handbook has this rather terse entry about them: http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html As for major device numbers, in the original days of Unix the device table was just that - an array in the kernel indexed by major device number to get the device operation switch. (Actually there were two tables, one for cdevs and one for bdevs, but the principle's the same.) Device nodes in the file system were simple special inodes containing a (major, minor) pair and created statically by mknod. However, as more devices with different drivers came along it made sense to switch to the current model in which devices are discovered dynamically, both at boot and as they're plugged in and out. and /dev is a "magic" file system maintained by the kernel and daemons. It's a long time since I was very familiar with kernel internals, but I presume internally devices are now pointers and the device numbering fields returned by stat are simply for backwards compatibility. As for the rest, you need someone more familiar with current kernel internals than I am - my main kernel hacking days ran from the Sixth Edition to BSD 4.2 and faded out as System V.4 came in. If no one turns up here, maybe try freebsd-hackers@ Or, if there's a better place to ask, can anyone point me there? There are significant performance and 'addressability' issues when doing i/o directly to 'fixed block' devices, especially 'write-once' media.` The classical 'block' device type was a reliable indicator of 'fixed block' behavior, how does one make that determination today? Is there any way to get 'classic' mag-tape behavior -- where, for example a read(2) returned the lesser of the bytes in the block, and positioned to the beginning of the next, regardless of whether the etire content of the current block had been read ?` I haven't seen a real mag tape drive in over a decade, so have no hope of commenting on that. ___ 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"
'device' representation in the filesystem questions
it appears that FreeBSD, at least 8.0 and later: a) no longer uses 'raw' devices for anything b) no longer uses 'block' devices for anything c) randomly assigns device 'major' numbers d) doesn't use device 'minor' numbers for anything. e) as a result of c) and d), there is no way to establish 'device' physical characteristics from the 'node' information. Is there a wizzard who can confirm/deny? Or, if there's a better place to ask, can anyone point me there? There are significant performance and 'addressability' issues when doing i/o directly to 'fixed block' devices, especially 'write-once' media.` The classical 'block' device type was a reliable indicator of 'fixed block' behavior, how does one make that determination today? Is there any way to get 'classic' mag-tape behavior -- where, for example a read(2) returned the lesser of the bytes in the block, and positioned to the beginning of the next, regardless of whether the etire content of the current block had been read ?` _______ 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: Questions about dump/restore to/from DVD media
In message <20121105051447.6eef32ef.free...@edvax.de>, Polytropon wrote: >> >The problem is that delegating compression to a "sub-task" would >> >imply that dump cannot precisely adjust its output to match the >> >media size (as the limit is now defined by how good the compression >> >works). >> >> Correct. We have both just said the exact same thing in different ways. >> >> In order to have _compression_ of the dump data _and_ still be able to >> divide the (post-compression) data into nice proper 2KB chunks (as required >> for DVD+/-R writing) the compression step itself would need to be integrated >> into the dump program itself (and then, for symmetry, if for no other >> reason, into restore as well). > >Chunk size _and_ media size matter (as dump would have to "know" >when the media is expected to be "nearly-full" _with_ compression) Correct. We are both still just violently agreeing. Regards, rfg ___ 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: Questions about dump/restore to/from DVD media
> Date: Mon, 05 Nov 2012 15:42:45 +1000 > From: Da Rock > Subject: Re: Questions about dump/restore to/from DVD media > > On 11/05/12 14:14, Polytropon wrote: > For reference, if one did backup the whole slice/disk using dd and then > compressed the data, would that effectively compress all those > 'unallocated' nodes? NO. The unallocated' blocks still have whatever data was in them. *IF* you copy /dev/zero to a new file, to fill the disk, then rm -that- file, the compression will be higher. 'How much' depends on how empty the disk is. _______ 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: Questions about dump/restore to/from DVD media
On 11/05/12 14:14, Polytropon wrote: > On Sun, 04 Nov 2012 19:49:24 -0800, Ronald F. Guilmette wrote: >> In message <20121105035233.e3c4ae8a.free...@edvax.de>, >> Polytropon wrote: >> >>>> But as I said (above) to make this really work right, dump & restore really >>>> need to have -z options, and do the zipping/unzipping internally. Only >>>> if this were available could dump properly deal with end-of-media on any >>>> given output volume, I think. >>> The problem is that delegating compression to a "sub-task" would >>> imply that dump cannot precisely adjust its output to match the >>> media size (as the limit is now defined by how good the compression >>> works). >> Correct. We have both just said the exact same thing in different ways. >> >> In order to have _compression_ of the dump data _and_ still be able to >> divide the (post-compression) data into nice proper 2KB chunks (as required >> for DVD+/-R writing) the compression step itself would need to be integrated >> into the dump program itself (and then, for symmetry, if for no other >> reason, into restore as well). > Chunk size _and_ media size matter (as dump would have to "know" > when the media is expected to be "nearly-full" _with_ compression) > because the operator will be required to deal with multi-volume > media ("next DVD"). > > > >>>> (I hate to say it, because in general I loath & despise Windows, but even >>>> Windows has a built-in facility for making a single backup of an _entire_ >>>> system, and in a single step, *and*, I presume in a space-efficient >>>> manner.) >>> That would be a task for dd. :-) >> Sorry? I am not following you. >> >> How could dd ever substitute for the intelligence of dump(8), and >> specifically >> how could it avoid copying of blocks that are ``in'' the filesystem but which >> are not currently _allocated_ by the filesystem? > It cannot. :-) > > With dd, you could copy a disk including all aspects of the > present slices and partitions (including file attributes and > partitioning data, even boot elements), but it would maybe > require a subsequent "read and compare" step to make sure > that everything went well. > > > >> (I am also not persuaded the dd could handle multiple partitions any better >> that dump(8) currently does... which is to say not at all, really.) > It can - depending on what device you're reading from. > > Examples: > > dd if=/dev/ad0s1a -> the root partition > dd if=/dev/ad0s1-> the 1st slice > dd if=/dev/ad0 -> the whole disk > > However, dd is very much "bare metal" and cannot handle multiple > volumes and compression natively. It would be neccessary to have > all those functionalities scripted additionally. For reference, if one did backup the whole slice/disk using dd and then compressed the data, would that effectively compress all those 'unallocated' nodes? ___ 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: Questions about dump/restore to/from DVD media
On Sun, 04 Nov 2012 19:49:24 -0800, Ronald F. Guilmette wrote: > > In message <20121105035233.e3c4ae8a.free...@edvax.de>, > Polytropon wrote: > > >> But as I said (above) to make this really work right, dump & restore really > >> need to have -z options, and do the zipping/unzipping internally. Only > >> if this were available could dump properly deal with end-of-media on any > >> given output volume, I think. > > > >The problem is that delegating compression to a "sub-task" would > >imply that dump cannot precisely adjust its output to match the > >media size (as the limit is now defined by how good the compression > >works). > > Correct. We have both just said the exact same thing in different ways. > > In order to have _compression_ of the dump data _and_ still be able to > divide the (post-compression) data into nice proper 2KB chunks (as required > for DVD+/-R writing) the compression step itself would need to be integrated > into the dump program itself (and then, for symmetry, if for no other > reason, into restore as well). Chunk size _and_ media size matter (as dump would have to "know" when the media is expected to be "nearly-full" _with_ compression) because the operator will be required to deal with multi-volume media ("next DVD"). > >> (I hate to say it, because in general I loath & despise Windows, but even > >> Windows has a built-in facility for making a single backup of an _entire_ > >> system, and in a single step, *and*, I presume in a space-efficient > >> manner.) > > > >That would be a task for dd. :-) > > Sorry? I am not following you. > > How could dd ever substitute for the intelligence of dump(8), and specifically > how could it avoid copying of blocks that are ``in'' the filesystem but which > are not currently _allocated_ by the filesystem? It cannot. :-) With dd, you could copy a disk including all aspects of the present slices and partitions (including file attributes and partitioning data, even boot elements), but it would maybe require a subsequent "read and compare" step to make sure that everything went well. > (I am also not persuaded the dd could handle multiple partitions any better > that dump(8) currently does... which is to say not at all, really.) It can - depending on what device you're reading from. Examples: dd if=/dev/ad0s1a -> the root partition dd if=/dev/ad0s1-> the 1st slice dd if=/dev/ad0 -> the whole disk However, dd is very much "bare metal" and cannot handle multiple volumes and compression natively. It would be neccessary to have all those functionalities scripted additionally. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Questions about dump/restore to/from DVD media
In message <20121105035233.e3c4ae8a.free...@edvax.de>, Polytropon wrote: >> But as I said (above) to make this really work right, dump & restore really >> need to have -z options, and do the zipping/unzipping internally. Only >> if this were available could dump properly deal with end-of-media on any >> given output volume, I think. > >The problem is that delegating compression to a "sub-task" would >imply that dump cannot precisely adjust its output to match the >media size (as the limit is now defined by how good the compression >works). Correct. We have both just said the exact same thing in different ways. In order to have _compression_ of the dump data _and_ still be able to divide the (post-compression) data into nice proper 2KB chunks (as required for DVD+/-R writing) the compression step itself would need to be integrated into the dump program itself (and then, for symmetry, if for no other reason, into restore as well). >Using dump + restore >means to operate on partitions. Make the system one partition - deal >with one partition. Make many partitions - need to deal with them >individually. Good point. >> (I hate to say it, because in general I loath & despise Windows, but even >> Windows has a built-in facility for making a single backup of an _entire_ >> system, and in a single step, *and*, I presume in a space-efficient manner.) > >That would be a task for dd. :-) Sorry? I am not following you. How could dd ever substitute for the intelligence of dump(8), and specifically how could it avoid copying of blocks that are ``in'' the filesystem but which are not currently _allocated_ by the filesystem? (I am also not persuaded the dd could handle multiple partitions any better that dump(8) currently does... which is to say not at all, really.) Regards, rfg ___ 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: Questions about dump/restore to/from DVD media
In message <50971b88.40...@herveybayaustralia.com.au>, Da Rock wrote: >Also, you may have considered this already (or not :) ), but you are >using a direct write to backup your system, and then considering >compression on top of that. CD/DVD filesystems incorporate some parity >to allow for defects and scratches, so growisofs might be best to use to >ensure some integrity to your data. > >Minimising your space may be good, but a single bit could render all >your efforts for nought- especially given the compression leaves no room >for error ;) I'm not sure if the error detection/correction on DVDs... either -Rs or +Rs... is a function of the _filesystem_. In fact I don't believe that it is, but I could be wrong. Google for this: DVD+R error correction and there are plenty of references. The ones that I read in the past seemed to suggest that the error detection/correction is a fundamental aspect of how data gets written to both -R and +R disks, totally independent of whether the data being written was organized into any type of filesystem or none at all. In fact, part of the reason that I only use DVD+Rs these days is because I read something that said that something like 1/4 of every block of data on DVD-R disks is not even covered by any error correction code AT ALL. Ah, yes... here is one such reference: http://adterrasperaspera.com/blog/2006/10/30/how-to-choose-cddvd-archival-media "The DVD-R specification states that for every 192 bits, 64 of them are not protected under any scheme, 24 of them are protected by 24 bits of parity, and the last 56 bits are protected by another 24 bits of parity. This weird (to put it mildly) scheme allows you to easily scramble or lose 25% of the data that is required to read your disk! This information is almost more important than the actual data burned on the disc itself. The DVD+R specification, however, states that for every 204 bits of information, it is split into four blocks of 52 bits containing 1 sync bit to prevent misreading because of phase changes, 31 bits of data, and a 20 bit parity (that protects all 32 bits of data)..." Regards, rfg _______ 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: Questions about dump/restore to/from DVD media
On Sun, 04 Nov 2012 18:37:43 -0800, Ronald F. Guilmette wrote: > > In message <20121105021817.fc5bff1b.free...@edvax.de>, > Polytropon wrote: > > >> I would like to make this backup to a _minimal_ number of DVD+R disks. > > > >If you think you can add compression to your files (if it makes > >sense), it should be incorporated to the command. > > Yes. There really ought to be a -z option integrated into both dump and > restore commands. Depending on _what_ kind of compression (gzip, bzip2, 7zip, xz etc.) there might be many of them. If utilizing the capabilities of libarchive is possible, it would be a nice option. > >> Another issue is that I most definitely want to use an absolute minimum... > > > >Taking the initial approach of > > > >/sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u > > > >it could be something like this: > > > >/sbin/dump -0u -L -C16 -B4589840 -P 'gzip | growisofs -Z /dev/cd0=-' /u > > Yes. I see. That makes sense. > > But as I said (above) to make this really work right, dump & restore really > need to have -z options, and do the zipping/unzipping internally. Only > if this were available could dump properly deal with end-of-media on any > given output volume, I think. The problem is that delegating compression to a "sub-task" would imply that dump cannot precisely adjust its output to match the media size (as the limit is now defined by how good the compression works). Instead an additional step would be required to make sure that a new media for the _compressed_ data stream is requested when it exceeds a certain limit. Additionally restore would have to use a comparable method of "chaining" the multiple volumes, as it requires operator attention and action. > >> Lastly, I want to make a backup of one entire _system_... not just one of > >> the several partitions that compose that system. How exactly can I do > >> this? > > > >At least not with dump. The dump utility operates on file systems, > >this means "it takes partitions as input". Whatever is _one_ partition > >can be processed "per step". > > Well, this is entirely sub-optimal. It depends on how you did layout your system. Using dump + restore means to operate on partitions. Make the system one partition - deal with one partition. Make many partitions - need to deal with them individually. > (I hate to say it, because in general I loath & despise Windows, but even > Windows has a built-in facility for making a single backup of an _entire_ > system, and in a single step, *and*, I presume in a space-efficient manner.) That would be a task for dd. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Questions about dump/restore to/from DVD media
In message <20121105021817.fc5bff1b.free...@edvax.de>, Polytropon wrote: >> I would like to make this backup to a _minimal_ number of DVD+R disks. > >If you think you can add compression to your files (if it makes >sense), it should be incorporated to the command. Yes. There really ought to be a -z option integrated into both dump and restore commands. >The command "growisofs -Z /dev/cd0=" will record the file "like >an image" to the media. In most cases, that would be an ISO-9660 file >system, like "growisofs -Z /dev/cd0=stuff.iso" (with a premastered >file stuff.iso). In _this_ case, the input data is read directly from >file descriptor 0, stdin. Whatever appears there, it will be written >to the media. Ah! OK. I see now. Thank you. >> If so, how would I do this? Would a command >> such as the following work? >> >>/sbin/dump -0u -L -C16 -B4589840 -P 'dd of=/dev/acd0 bs=2048' /u >> >> If not, why not? > >As far as I know, direct device access for writing does not work here. Yes, apparently not. Bit I _did_ just find something rather interesting in this context. Look at this: http://sg.danny.cz/sg/ddpt.html I have no idea why it isn't already in the ports tree. I'll probably try it out and see if it works. >> Another issue is that I most definitely want to use an absolute minimum... > >Taking the initial approach of > >/sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u > >it could be something like this: > >/sbin/dump -0u -L -C16 -B4589840 -P 'gzip | growisofs -Z /dev/cd0=-' /u Yes. I see. That makes sense. But as I said (above) to make this really work right, dump & restore really need to have -z options, and do the zipping/unzipping internally. Only if this were available could dump properly deal with end-of-media on any given output volume, I think. >> Lastly, I want to make a backup of one entire _system_... not just one of >> the several partitions that compose that system. How exactly can I do >> this? > >At least not with dump. The dump utility operates on file systems, >this means "it takes partitions as input". Whatever is _one_ partition >can be processed "per step". Well, this is entirely sub-optimal. (I hate to say it, because in general I loath & despise Windows, but even Windows has a built-in facility for making a single backup of an _entire_ system, and in a single step, *and*, I presume in a space-efficient manner.) ___ 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: Questions about dump/restore to/from DVD media
In message Mehmet Erol Sanliturk wrote: >Assume one file will NOT be copied more than ONE DVD , i.e. , each file >will be completely recorded on one DVD : > >http://en.wikipedia.org/wiki/Cutting_stock_problem The problem you cited is an interesting one, but I do not believe that it is at all relevant to the current discussion for the simple reason that this "cutting problem" is based on the assmption that one "thing" (e.g. a cut piece of paper) cannot be spread across two or more of the available units of raw material (e.g. a standard roll of paper). I'm sure that is true for paper, but as regards to FreeBSD partition backups, these have always been allowed to cross output volume boundaries, I think, e.g. spilling off the end of one backup tape and onto the beginning of the next backup tape. Regards, rfg _______ 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: Questions about dump/restore to/from DVD media
system dumps and outputs the data to initialized and mounted > file systems. > > > >> I mean sure, I can back up each partition separately, using dump, >> one at a time, but if I do that then the logical implication would seem >> to be that on the last DVD+R used to make a backup of each of the partitions, >> there could possibly be a lot of unused/wasted space which could have been >> used to store the first part of the dump for the next partition in turn. > Yes, that is quite possible. In this case, using dd would maybe be > better. You would use it to copy the whole disk containing all the > partitions, add gzip, break it into "multi-volume parts" and then > record it to DVD+R. > > > >> Is there any way to effectively deal with _this_ issue? > Not per se, but I think all the required parts are in the system, > it's just the question of how to efficiently combine them to meet > your request. :-) > > > Also, you may have considered this already (or not :) ), but you are using a direct write to backup your system, and then considering compression on top of that. CD/DVD filesystems incorporate some parity to allow for defects and scratches, so growisofs might be best to use to ensure some integrity to your data. Minimising your space may be good, but a single bit could render all your efforts for nought- especially given the compression leaves no room for error ;) ___ 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: Questions about dump/restore to/from DVD media
On Sun, Nov 4, 2012 at 4:56 PM, Ronald F. Guilmette wrote: > > I would like to make a backup of one of my systems using dump(8) in order > to be sure that I get everything, including all of the obscure file > attribute > bits. > > I would like to make this backup to a _minimal_ number of DVD+R disks. > > What's the proper procedure for this? > > In the dump(8) man page, I see the following example: > > /sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u > > There are several problems with this example, as far as I am concerned. > > First I have no particular interest in, or need for _either_ an ISO 9660 > _or_ a UDF file system on my backup media. And in fact, that seems to me > as if it is likely to be an utter waste of (precious) space on the backup > media. Can't I just put the output of the dump command _directly_ onto > the output DVD+R media? If so, how would I do this? Would a command > such as the following work? > >/sbin/dump -0u -L -C16 -B4589840 -P 'dd of=/dev/acd0 bs=2048' /u > > If not, why not? (I already know for sure that I can _read_ everything > off of a DVD+R using just dd, so it seems logical that I should likewise > be able to write an entire CD using just dd, but I suspect that there may > be more to it that this, since I've never seen any references or examples > anywhere of anybody writing either CDs or DVDs using dd.) > > Actually, I just noticed in the dump manpage the -f option. So would this > work in place of the above command line? > >/sbin/dump -0u -L -C16 -B4589840 -f /dev/acd0 /u > > And if THAT works, then can dump properly sense the actual end-of-media on > /dev/acd0, so that the -B option can just be ommitted? > > Another issue is that I most definitely want to use an absolute minimum > of DVD+Rs to store the dump. So I am wondering how I might be able to > wedge gzip into this whole process. Could I do something like this? If > not, why not? > >/sbin/dump -0u -L -C16 -B4589840 -P 'gzip | dd of=/dev/acd0 bs=2048' /u > > Lastly, I want to make a backup of one entire _system_... not just one of > the several partitions that compose that system. How exactly can I do > this? I mean sure, I can back up each partition separately, using dump, > one at a time, but if I do that then the logical implication would seem > to be that on the last DVD+R used to make a backup of each of the > partitions, > there could possibly be a lot of unused/wasted space which could have been > used to store the first part of the dump for the next partition in turn. > Is there any way to effectively deal with _this_ issue? > > > Regards, > rfg > Assume one file will NOT be copied more than ONE DVD , i.e. , each file will be completely recorded on one DVD : http://en.wikipedia.org/wiki/Cutting_stock_problem Thank you very much . Mehmet Erol Sanliturk ___ 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: Questions about dump/restore to/from DVD media
Yes, that is quite possible. In this case, using dd would maybe be better. You would use it to copy the whole disk containing all the partitions, add gzip, break it into "multi-volume parts" and then record it to DVD+R. > Is there any way to effectively deal with _this_ issue? Not per se, but I think all the required parts are in the system, it's just the question of how to efficiently combine them to meet your request. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Questions about dump/restore to/from DVD media
I would like to make a backup of one of my systems using dump(8) in order to be sure that I get everything, including all of the obscure file attribute bits. I would like to make this backup to a _minimal_ number of DVD+R disks. What's the proper procedure for this? In the dump(8) man page, I see the following example: /sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u There are several problems with this example, as far as I am concerned. First I have no particular interest in, or need for _either_ an ISO 9660 _or_ a UDF file system on my backup media. And in fact, that seems to me as if it is likely to be an utter waste of (precious) space on the backup media. Can't I just put the output of the dump command _directly_ onto the output DVD+R media? If so, how would I do this? Would a command such as the following work? /sbin/dump -0u -L -C16 -B4589840 -P 'dd of=/dev/acd0 bs=2048' /u If not, why not? (I already know for sure that I can _read_ everything off of a DVD+R using just dd, so it seems logical that I should likewise be able to write an entire CD using just dd, but I suspect that there may be more to it that this, since I've never seen any references or examples anywhere of anybody writing either CDs or DVDs using dd.) Actually, I just noticed in the dump manpage the -f option. So would this work in place of the above command line? /sbin/dump -0u -L -C16 -B4589840 -f /dev/acd0 /u And if THAT works, then can dump properly sense the actual end-of-media on /dev/acd0, so that the -B option can just be ommitted? Another issue is that I most definitely want to use an absolute minimum of DVD+Rs to store the dump. So I am wondering how I might be able to wedge gzip into this whole process. Could I do something like this? If not, why not? /sbin/dump -0u -L -C16 -B4589840 -P 'gzip | dd of=/dev/acd0 bs=2048' /u Lastly, I want to make a backup of one entire _system_... not just one of the several partitions that compose that system. How exactly can I do this? I mean sure, I can back up each partition separately, using dump, one at a time, but if I do that then the logical implication would seem to be that on the last DVD+R used to make a backup of each of the partitions, there could possibly be a lot of unused/wasted space which could have been used to store the first part of the dump for the next partition in turn. Is there any way to effectively deal with _this_ issue? Regards, rfg _______ 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: Questions about ZFS Tuning
[ Mike Clarke wrote on Mon 17.Sep'12 at 18:19:18 +0100 ] > On Monday 17 September 2012 13:20:14 Jamie Paul Griffin wrote: > > > I set zfs.zfs.prefetch_disable=0 because some dmesg line suggested/implied > > it would benefit. I don't recall the exact output now. > > If you look in /var/run/dmesg.boot you should find the message saying "ZFS > NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; > to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf." > > Since you have 2GB RAM then it's best to leave things as they are with > prefetch disabled. Hi Mike, yes that was the notice I saw which made me add this setting. Thanks for the reminder and info. Best wishes, Jamie. ___ 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: Questions about ZFS Tuning
On Monday 17 September 2012 13:20:14 Jamie Paul Griffin wrote: > I set zfs.zfs.prefetch_disable=0 because some dmesg line suggested/implied > it would benefit. I don't recall the exact output now. If you look in /var/run/dmesg.boot you should find the message saying "ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf." Since you have 2GB RAM then it's best to leave things as they are with prefetch disabled. -- Mike Clarke ___ 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: Questions about ZFS Tuning
[ Volodymyr Kostyrko wrote on Mon 17.Sep'12 at 14:25:09 +0300 ] > Handbook is old and cripsy about that all thing yet provides a useful > link to http://wiki.freebsd.org/ZFSTuningGuide > > - you don't need kmem_size/arc tuning on amd64 generally; > - zfs.zfs.prefetch_disable=0 will cause system eat more RAM then > without it; > - there are a lot of tunables but you should learn what you are doing > before setting anything, for example changing recordsize for already > running MySQL database filesystem will do nothing at all. Yes, I've seen lot's of information about ZFS tunables on FreeBSD which will give me plenty of reading. I set zfs.zfs.prefetch_disable=0 because some dmesg line suggested/implied it would benefit. I don't recall the exact output now. So, I think it's probably best I just leave things as they are as my system is functioning well enough, as far as I can tell anyway. This is the first time I've used ZFS on FreeBSD so I am still very much in the 'learning process' where that is concerned. Thanks for your response Volodymyr. Very much appreciated. Best wishes, Jamie. ___ 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: Questions about ZFS Tuning
17.09.2012 13:36, Jamie Paul Griffin wrote: When I installed FreeBSD on my Lenovo Think Center Desktop I created a full ZFS Root file system using Matthew Seaman's excellent article: http://www.infracaninophile.co.uk/articles/install-on-zfs/ My system now is: /home/jamie $ uname -a FreeBSD kontrol.kode5.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r240560: Sun Sep 16 18:40:56 BST 2012 r...@kontrol.kode5.net:/usr/src/sys/amd64/compile/KONTROL amd64 I've been wondering about ZFS tuning and have read some articles, including the FreeBSD handbook and wiki articles and also some posts in the FreeBSD forum. The FreeBSD handbook [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html], section 21.2.1.3 Loader Tunables suggests adding tunables to /boot/loader.conf for ALL architectures - which I tested: Handbook is old and cripsy about that all thing yet provides a useful link to http://wiki.freebsd.org/ZFSTuningGuide - you don't need kmem_size/arc tuning on amd64 generally; - zfs.zfs.prefetch_disable=0 will cause system eat more RAM then without it; - there are a lot of tunables but you should learn what you are doing before setting anything, for example changing recordsize for already running MySQL database filesystem will do nothing at all. -- Sphinx of black quartz judge my vow. ___ 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"
Questions about ZFS Tuning
Hi When I installed FreeBSD on my Lenovo Think Center Desktop I created a full ZFS Root file system using Matthew Seaman's excellent article: http://www.infracaninophile.co.uk/articles/install-on-zfs/ My system now is: /home/jamie $ uname -a FreeBSD kontrol.kode5.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r240560: Sun Sep 16 18:40:56 BST 2012 r...@kontrol.kode5.net:/usr/src/sys/amd64/compile/KONTROL amd64 I've been wondering about ZFS tuning and have read some articles, including the FreeBSD handbook and wiki articles and also some posts in the FreeBSD forum. The FreeBSD handbook [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/filesystems-zfs.html], section 21.2.1.3 Loader Tunables suggests adding tunables to /boot/loader.conf for ALL architectures - which I tested: vm.kmem_size="330M" vm.kmem_size_max="330M" vfs.zfs.arc_max="40M" vfs.zfs.vdev.cache.size="5M" However, when I rebooted, although it did boot up ok dmesg showed a complaint from ZFS about vm.kmem_size_max being less than 512mb. So I removed it. The only line relating to ZFS tunables in my /boot/loader.conf file is now: vfs.zfs.prefetch_disable=0 To stop this email becoming too long winded, what I'm interested in is are there entries I need/should/recommend to add to /boot/loader.conf to tune ZFS properly and/or Kernel config options I need/should/recommended to add to my custom Kernel. I have 2GB RAM, and I've set up 2GB GEOM Mirrored Swap. I'm only using one HDD on the machine so it's a fairly basic setup on this machine. Maybe I don't need to do/add anything at all? Would anyone be kind enough to provide some guidance about this? Best Wishes, Jamie. ___ 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: pkgng questions
--- On Thu, 8/30/12, Matt Burke wrote: > From: Matt Burke > Subject: Re: pkgng questions > To: "Mark Felder" > Cc: po...@freebsd.org > Date: Thursday, August 30, 2012, 7:44 AM > On 08/30/12 13:01, Mark Felder > wrote: > > I think you're very confused about what pkgng is for. > At this time, ports > > are STILL the recommended way to install things and > keep them up to date. > > Really? I think the last time I compiled X or a web browser > (until using > poudriere) was about 10 years ago. > I mix packages and ports here, heavily using zsh;/var/db/pkg/;pipes;portmaster and a thumbdrive(ftp) to other machines > > > Pkgng is the first step required for us to get a better > package management > > system so we can shift the community towards primarily > using packages. > > I like packages - they save me compiling massive things on > my desktop and > they let me keep my servers running exactly the same > software built from > our CI setup. 'make package' is so quick and easy, > it'd be hard to beat. > > So I thought I'd get a grip on pkgng before pkg_* disappears > from base. > > I had a couple of questions I wanted to answer - > > 1) How easy does it make keeping my desktop (currently > releng/9.1 built > with dtrace) up-to-date > 2) How much easier will it be to maintain production and > testing servers? > > > The answer has made me start downloading an OpenIndiana > iso. > > > > >> 2. Is there a list of ports like nvidia-driver, > nspluginwrapper, > >> linux-f10-flashplugin, sampleicc (dependency of > libreoffice!) which aren't > >> in pkgng? > > > > Everything can be built into the pkgng format except a > few ports that need > > workarounds. There's a list on the wiki. > > > > http://wiki.freebsd.org/pkgng > > > > Go to the bottom "Known Failures" section. > > I don't see any of the examples I gave listed, apart from > nvidia-driver > > > >> 3. How do I force pkg to install/upgrade a single > package, regardless of > >> dependencies being out of date? > > > > You should never try to do this anyway; you'll end up > with packages built > > against the wrong versions of libraries. > > You're suggesting that I should upgrade an entire machine > which may have > proven itself over a period of years to be perfectly stable, > just because I > need a small utility which really doesn't care about the man > page typo > which caused gettext-0.1.2_3 to change to gettext-0.1.2_4? > Notable here, things which depend upon firefox; gcc46; ... > > >> 4. How do I get poudiere to build against a local > src/obj tree, or a zfs > >> snapshot of a pre-built jail, instead of > 9.0-RELEASE? > > > > The poudriere man page has all the instructions needed > to create jails of > > any release version to be used for building packages. > > No, the man page doesn't mention anything about specifying > where to pull > the distribution from, only what method of access to use. > > > > You don't do it this way. You build everything on your > poudriere server and > > push all of your packages to the client. You do this > every single time. If > > you decide you want a new package on your client, you > build it on your > > poudriere server and have your client request it. If > you're using > > poudriere/pkgng, your clients should NEVER be compiling > ports or installing > > packages outside of what your poudriere server is > providing. Poudriere is > > giving you a "cleanroom" environment where it can > guarantee that all the > > packages and their required packages/libraries are > sane. > > > Pkgng doesn't require ZFS -- poudriere does. Your > clients should never have > > poudriere. > > I am confused. If pkg_* are removed, how is a person with a > single desktop > machine (worst case, a netbook) expected to operate if they > need a specific > port build? Are they to spend a week compiling 1000+ ports > themselves in a > poudriere VM? > > Or is the flexibility of FreeBSD ports just not deemed to be > useful to the > end user (or person unable to provide a dedicated any more? > I am also perplexed; (unconvinced; ignorant...).. Waiting for a more comprehensive comparison to what exists now. And I've read the documentation thoroughly, but not enough times to fully comprehend all the strata... > > >> 8. Is there a pkgng equivalent of 'ls -lt > /var/db/pkg' without f
Re: sendmail local-host-names questions
On Wed, 29 Aug 2012, Gary Aitken wrote: Can anyone explain what's going on or point me to a better place to ask? It's now fixed but I'd like to understand why sendmail doesn't like a domain specified with a trailing dot, since I thought that was how one specified a fully qualified domain name. The definitive source is /usr/src/contrib/sendmail/cf/README Also... I can't find anything about how to put a comment in the local-host-names file. I took a guess and used # as in the .mc file, and it doesn't seem to cause errors; but neither does ';' or '%' so I'm guessing the lines are just being skipped because they don't parse properly. I'd like to know whether comments are allowed or not; and if so, what the proper syntax is. I am not sure which table you are commenting but I think some of the tables like virtusertable do not allow comments at the end of the line. Lines starting with a '#' are fine in any table. Again the README is you 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: sendmail local-host-names questions
> Date: Wed, 29 Aug 2012 01:45:19 -0600 > From: Gary Aitken > Subject: sendmail local-host-names questions > > > Also... I can't find anything about how to put a comment in the > local-host-names file. I took a guess and used # as in the .mc file, and > it doesn't seem to cause errors; but neither does ';' or '%' so I'm > guessing the lines are just being skipped because they don't parse > properly. I'd like to know whether comments are allowed or not; and if > so, what the proper syntax is. I don't know, off-hand, where it's documented, but '#' is what you want to use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sendmail local-host-names questions
[ Gary Aitken wrote on Wed 29.Aug'12 at 1:45:19 -0600 ] > > Also... I can't find anything about how to put a comment in the > local-host-names file. I took a guess and used # as in the .mc file, > and it doesn't seem to cause errors; but neither does ';' or '%' so I'm > guessing the lines are just being skipped because they don't parse properly. > I'd like to know whether comments are allowed or not; and if so, > what the proper syntax is. > > Thanks for any hints, > > Gary Hi Gary, you don't put dots at the end of the domain names in that file. In mine, i've just got: kontrol.kode5.net # the hostname of the machine; and kode5.net # my domain I haven't put those comments in it either, just the host and domain information. The Sendmail site does have quite a bit of information actually about configuration. I was setting up Sendmail on my machine just a week ago in fact and got most of the info from that site. Also the FreeBSD handbook. I also run a local DNS server (BIND/named) which I recommend you look into with a view to setting it up. It does make a difference, especially if you have several machines on your LAN. It's not as hard as it first appears. In fact the default installation is already configured for a local caching nameserver. I have added my own zone files as well which is all explained on the Handbook. Jamie ___ 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"
sendmail local-host-names questions
Sorry if this is a bit off topic; couldn't find an answer on the net anywhere and sendmail.org seems to be non-functional unless you're a commercial customer; or at least that's the way it looks to me, as it's redirected to sendmail.com and their "Ask the Experts" page has no way to ask anybody anything :-) Anyhoo... I was setting up a virtual domain and mistakenly set my local-host-names file to have trailing dots after the domain and host names. This caused mail sent to the domain(s) to be bounced with the message: 554 5.0.0 MX list for dreamchaser.org. points back to nightmare.dreamchase r.org 554 5.3.5 Local configuration error Which caused me to tear my hair out (what little I have left) trying to fix a non-existent DNS configuration error. The maillog shows a similar message: Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: to=a...@dreamchaser.org, delay=00:00:07, xdelay=00:00:00, mailer=esmtp, pri=62332, relay=dreamchaser.org., dsn=5.3.5, stat=Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: q7T59w8N050394: return to sender: Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8N050394: to=a...@dreamchaser.org, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=33356, relay=dreamchaser.org., dsn=5.3.5, stat=Local configuration error Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: Losing ./qfq7T59w8M050394: savemail panic Aug 28 23:10:05 nightmare sm-mta[50394]: q7T59w8M050394: SYSERR(root): savemail: cannot save rejected email anywhere Can anyone explain what's going on or point me to a better place to ask? It's now fixed but I'd like to understand why sendmail doesn't like a domain specified with a trailing dot, since I thought that was how one specified a fully qualified domain name. Also... I can't find anything about how to put a comment in the local-host-names file. I took a guess and used # as in the .mc file, and it doesn't seem to cause errors; but neither does ';' or '%' so I'm guessing the lines are just being skipped because they don't parse properly. I'd like to know whether comments are allowed or not; and if so, what the proper syntax is. Thanks for any hints, 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: questions on the use of moused for Xorg
On Sunday 05 August 2012 19:46:30 Martin Alejandro Paredes Sanchez wrote: > > When I run this command > > /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I > /var/run/moused.ums0.pid > > moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports > buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev > reports events for button 8 and 9), and no horizontal (xev doesn't report > anything) > according to http://www.x.org/releases/X11R7.5/doc/man/man4/mousedrv.4.html Option "ButtonMapping" "N1 N2 [...]" Specifies how physical mouse buttons are mapped to logical buttons. Default: "1 2 3 8 9 10 ...". That is the reason that in Xorg the scroll (vertical) does not work, xev reports events for button 8 and 9 because moused reports button 4 and 5, but xorg remapped to 8 an 9 ___ 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: questions on the use of moused for Xorg
On Sunday 05 August 2012 19:46:30 Martin Alejandro Paredes Sanchez wrote: > > The driver UMS detects the Z Axis and the Wheel [XYZW] > > ums0: addr 4> on usbus1 ums0: 4 buttons and [XYZW] coordinates ID=0 > Enabling debug for ums, I confirm that ums is detecting moves in Z an W Why is moused ignoring the moves in W? # sysctl hw.usb.ums.debug=15 ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 08 00 00 00 00 04 00 00 ums_intr_callback: x:0 y:0 z:0 t:0 w:0 buttons:0x0008 ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 00 ff 00 00 00 00 00 ums_intr_callback: x:0 y:1 z:0 t:0 w:0 buttons:0x ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 ff 00 00 00 00 00 00 ums_intr_callback: x:-1 y:0 z:0 t:0 w:0 buttons:0x ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 00 00 ff 00 00 00 00 ums_intr_callback: x:0 y:0 z:0 t:0 w:-1 buttons:0x ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 00 00 00 01 00 00 00 ums_intr_callback: x:0 y:0 z:-1 t:0 w:0 buttons:0x ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 00 00 00 06 00 00 00 ums_intr_callback: x:0 y:0 z:-6 t:0 w:0 buttons:0x ums_intr_callback: sc=0xc3dfd000 actlen=6 ums_intr_callback: data = 00 00 00 00 01 00 00 00 ums_intr_callback: x:0 y:0 z:-1 t:0 w:0 buttons:0x ___ 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"
questions on the use of moused for Xorg
when you must use the parameter -z of moused? I had an Apple Mighty Mouse and I would like to use the track ball (the wheel part) The driver UMS detects the Z Axis and the Wheel [XYZW] ums0: on usbus1 ums0: 4 buttons and [XYZW] coordinates ID=0 When I run this command /usr/sbin/moused -f -d -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid moused reports movements in XYZ (dx dy dz) but not W (dz?), in Xorg the scroll (vertical) works OK (xev reports events for button 4 and 5), but no horizontal (xev doesn't report anything) When I run this command /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev reports events for button 8 and 9), and no horizontal (xev doesn't report anything) Here is the mouse part of my x11-input.fdi file SysMouse Off 8 But in Xorg.0.log I see conflicts with the configuration, the lines that begin with "(**) Apple Optical USB Mouse:", where they come from? (EE) config/hal: couldn't initialise context: unknown error (null) (II) config/hal: Adding input device Apple Optical USB Mouse (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.5.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (**) Option "Protocol" "SysMouse" (**) Apple Optical USB Mouse: Device: "/dev/sysmouse" (**) Apple Optical USB Mouse: Protocol: "SysMouse" (**) Apple Optical USB Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" (**) Option "Buttons" "8" (**) Option "Emulate3Buttons" "Off" (**) Apple Optical USB Mouse: ZAxisMapping: buttons 4 and 5 (**) Apple Optical USB Mouse: Buttons: 12 (**) Apple Optical USB Mouse: Sensitivity: 1 (**) Apple Optical USB Mouse: BaudRate: 1200 (II) XINPUT: Adding extended input device "Apple Optical USB Mouse" (type: MOUSE) (**) Apple Optical USB Mouse: (accel) keeping acceleration scheme 1 (**) Apple Optical USB Mouse: (accel) acceleration profile 0 ___ 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: fsck on FAT32 filesystem?freebsd-questions@freebsd.org
On Sun, 22 Jul 2012 15:31:51 -0500 (CDT) Robert Bonomi articulated: > Yes, in theory, they _could_ learn everything they need to know to do > it themselves, but the list of things that a 'know nothing' Windows > user has to dig out, understand, and _use_, is incredibly long and > daunting. I know plenty of "dumber than dirt" *.nix users too. Stupidity is not limited to race, color, sex or operating system. Actually, they are smart enough to get themselves an OS that actually works with virtually all modern hardware and without having to spend countless [hours | days | weeks] attempting to getting such hardware up and running before eventually giving up in some cases. You might have heard about "N" protocol wireless devices that until fairly recently FreeBSD didn't even know existed. Even now the support is limited; however, that is another story. In any case, that is not the subject of this this reply. I have found "HDDerase.exe" <http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml> to be a useful and in the most important criteria to the FOSS crowd, free. Seriously though, isn't it about time to close this thread? -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: fsck on FAT32 filesystem?freebsd-questions@freebsd.org
> From owner-freebsd-questi...@freebsd.org Sun Jul 22 07:22:29 2012 > Date: Sun, 22 Jul 2012 14:19:43 +0200 (CEST) > From: Wojciech Puchar > To: Thomas Mueller > Cc: freebsd-questions@freebsd.org > Subject: Re: fsck on FAT32 filesystem? > > > > > Let us securely erase your personal files and pictures for only $49.99. > and securely copy everything interesting before. > > That's truly funny. Someone DO CARE about his/her data being deleted, > and... lets someone else in random shop to do this. And exactly what alternatives _do_ you see for someone who DOES NOT HAVE THE SKILLS, TOOLS, OR RESOURCES, to 'do it themselves'? That's a serious question, not an attack. If someone wants it done, but doesn't have the knowledge/tools/etc. to do it themselves, it appears to me that they have precisely two realistic alternatives: 1) Trust "somebody" to do it, and do it right, or 2) simpl DON'T do it. Putting together what is required to "do it yourself" _is_ out of the question for _most_ Windows users. They don't know _what_ they need to know/learn/have to do the task. Heck they don't know how to find out *what* they need to find out, to learn what is needed to do the task. Yes, in theory, they _could_ learn everything they need to know to do it themselves, but the list of things that a 'know nothing' Windows user has to dig out, understand, and _use_, is incredibly long and daunting. ___ 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"
Questions on ndis for USB wireless adapter
I am having problems getting the Hiro USB wireless adapter to work and think I might possibly be missing something. Chip is Realtek RTL8191S. I read the man pages for ndisgen and ndiscvt and the FreeBSD Handbook online. Do I need options NDISAPI # and device ndis in the kernel config, even if I use modules resulting from ndiscvt or ndisgen? I suppose these wouldn't hurt, I just put them in the kernel configs for i386 and amd64, awaiting next system rebuild for FreeBSD 9.1-BETA1 or PRERELEASE. Also, I notice, in addition to the .inf and .sys files, there is a .cat file in the MS-Windows drivers: net8192su.cat net8192su.inf rtl8192su.sys What is the .cat file, is it a firmware driver? Drivers are included for MS-Windows 2000, XP, Vista and 7; all but Win 2000 include 32-bit and 64-bit. 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: freebsd-questions Digest, Vol 423, Issue 3
909 981 Fax: 0034 913 750 128 Mail: i...@travelgenio.com Website: http://www.travelgenio.fr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On Fri, Jun 22, 2012 at 1:18 PM, Eitan Adler wrote: > On 22 June 2012 11:44, Matthew Seaman > wrote: > > On 22/06/2012 18:40, Eitan Adler wrote: > >>> q) Is there a place where all sysctl variables are documented? It > >>> > occurred to me when I was trying to find the memory usage on my > system > >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > > > >> You can try sysctl -ad but most of the systls are either documented in > >> man pages or not at all. :( > > > > It would be a really handy thing if the output of 'sysctl -d' told you > > what man page to refer to for more information. A neat little project > > but pretty boring to implement. > > Agreed. I don't have the time to do this directly, but I'm willing to > commit patches that do this. > -- > Eitan Adler > ___ > 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" > that sounds great, also, for the moment you can try grep in /usr/src and usually find what you are looking for there. Usually the source code is well-documented, and you can see which switches do what. an idea... Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On 22 June 2012 11:44, Matthew Seaman wrote: > On 22/06/2012 18:40, Eitan Adler wrote: >>> q) Is there a place where all sysctl variables are documented? It >>> > occurred to me when I was trying to find the memory usage on my system >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > >> You can try sysctl -ad but most of the systls are either documented in >> man pages or not at all. :( > > It would be a really handy thing if the output of 'sysctl -d' told you > what man page to refer to for more information. A neat little project > but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
usly mentioned minus ports. > > This is the one that matters > > >Now, there are 3 "branches" of the > > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, > > etc. CURRENT means "trunk" in SVN terms. Is all that correct? > > This is incorrect. > > RELEASE are all releases: There is 9.0, 9.1, 9.2, etc. > STABLE is a misnomer: it is a *development* branch but the ABI / KPI > is kept stable. > CURRENT is "HEAD" and where new commits go before being "MFCed" or > Merged From Current to -stable. Releases are branched from -STABLE. > -STABLE is branched from -HEAD. > > > Also, > > when somewhere is mentioned `make world', this means to rebuild all > > installed ports which doesn't include base, I assume? > > "make world" is always wrong. "make buildworld" is closer. > In source land "world" is everything but the kernel. Ports are not related. > > > > q) The files in /etc/rc.d are all executable, from my understanding, > > those files will get executed and it is their duty to check the > > variable `_enable' for whether they should start or > > not. Wouldn't it be more efficient to chmod -x or +x them to > > disable/enable? > > For a variety of reasons, no. They do more than just check *_enable in > complex cases. > > > q) Is there a tool that can test a set of mirrors for connection time > > and speed (for packages and ports)? Analogous to Archlinux's > > rankmirrors? > > looks in ports-mgmt/ there is fastestmirrors or something like that. I > ran it once and forgot about it ;) > > > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > > display progress? > > no. > > > q) I noticed in the ports collection that there were some outdated > > packages (skype-2.2, gimp-2.6), should I report that and where? (A > > PR?) > > skype is out of date cause the newer ones don't work. > Generally, reporting out of date ports as PRs with patches (or to > po...@freebsd.org without patches might help) is a good thing. > > Larger ports tend to be actively maintained. For gimp try asking > gn...@freebsd.org for progress. > > > q) Is it possible to have the ports system compile into an mfs (to > > avoid disk access)? > > Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk > > > q) Is it possible to have the user asked to change their password the > > first time they log in (using an OTP) in a simple way? I looked at > > OPIE but it seems to be much more complex than what I need. > > Look at pw -e ? > > > Hope I helped and didn't disappoint too much :) > > -- > Eitan Adler > ___ > 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" packages in /current/Latest are generrally up to date, sometimes trail ports a couple of days. its quite easy to pkg_delete --force and pkg_add new version to upgrade... i've been doing this for some time without problems. its trivial to make a python script to check for latest version avail and upgrade, i haven't timed it but 700 or so package updates take about 30 mins.. i look forward to pkgng, on low power devices build from ports can take a week and then some. :) Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On 22/06/2012 18:40, Eitan Adler wrote: >> q) Is there a place where all sysctl variables are documented? It >> > occurred to me when I was trying to find the memory usage on my system >> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > You can try sysctl -ad but most of the systls are either documented in > man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: New to FreeBSD - Some questions
Merged From Current to -stable. Releases are branched from -STABLE. -STABLE is branched from -HEAD. > Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? "make world" is always wrong. "make buildworld" is closer. In source land "world" is everything but the kernel. Ports are not related. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? For a variety of reasons, no. They do more than just check *_enable in complex cases. > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? looks in ports-mgmt/ there is fastestmirrors or something like that. I ran it once and forgot about it ;) > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? no. > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) skype is out of date cause the newer ones don't work. Generally, reporting out of date ports as PRs with patches (or to po...@freebsd.org without patches might help) is a good thing. Larger ports tend to be actively maintained. For gimp try asking gn...@freebsd.org for progress. > q) Is it possible to have the ports system compile into an mfs (to > avoid disk access)? Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk > q) Is it possible to have the user asked to change their password the > first time they log in (using an OTP) in a simple way? I looked at > OPIE but it seems to be much more complex than what I need. Look at pw -e ? Hope I helped and didn't disappoint too much :) -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On Thu, 21 Jun 2012 19:14:54 +0200 (CEST), Wojciech Puchar wrote: > > the experimental development branch -HEAD, it _might_ happen that > > the system doesn't even compile, but updated 30 minutes after > > that "accident", it runs fine again. :-) > > > And finally unless doing tests or using private not-really-important > computer, don't just install newest FreeBSD because it's out. > > I - and lot of others - still use 8.* for production while 9.* is out > already for some time. For home desktops, usually -STABLE is a good solution. Server maintainers tend to use -RELEASE-pX (which also makes binary updates easier). > >> q) I would assume UFS with J+SU is "fast enough" for a laptop? > > > > I think so. For a laptop, you _might_ consider adding encryption. > > Just in case. You never know. > > for a server - you MUST do this :) It's worth mentioning that it's not good practice to have a keyfile-based decryption which is "unlocked" by a USB stick permanently sticking in the server. Security is nearly zero in such a constellation. Passphrase-based decryption is good as long as you have physical access to the server and only you (and maybe those you trust) have a secure (!!!) password which needs to be entered manually at system startup to "unlock" the /home drive or partition. > >> q) The second laptop has an SSD, would UFS with/without J and > >> with/without SU or ZFS make more sense for it? > > > > There are several parameters that you can tweak (see "man tunefs"), > > I would suggest a single partition spanning the whole SSD, and > > journaling would not be contraproductive. > > s/would not/would/ > i assume this as mistake. do not journal on SSD. it increases amount of > writes, and fsck is quick anyway. Good you spotted it - of course there is no need for journaling in this case (too much writes, no real benefit). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
Hi, On Thursday 21 June 2012 23:55:38 Polytropon wrote: > On Thu, 21 Jun 2012 13:24:26 +0200, Fred Morcos wrote: > > On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar > > q) Is it possible to get native resolution on the console? I played > > with vesa and vidcontrol but could never get what I wanted. Native > > resolution would require KMS? > > As far as I know, KMS (kernel mode settings) is specific to Linux. past tense, please. > FreeBSD has several VESA modes bigger than 80x25. But I have to > admit that I don't see a problem in using this default mode during > initialization time. Later on, xterms (also those containing SSH > and screen sessions) can be configured any size under X. Not really. I never found out why PCBSD could use my 1366x768 screen under VESA but FreeBSD couldn't. The new KMS does it all. > Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
the experimental development branch -HEAD, it _might_ happen that the system doesn't even compile, but updated 30 minutes after that "accident", it runs fine again. :-) And finally unless doing tests or using private not-really-important computer, don't just install newest FreeBSD because it's out. I - and lot of others - still use 8.* for production while 9.* is out already for some time. Anyway i think that "bleeding edge" -HEAD release is still more stable than "stable" linux kernel. q) I would assume UFS with J+SU is "fast enough" for a laptop? I think so. For a laptop, you _might_ consider adding encryption. Just in case. You never know. for a server - you MUST do this :) q) The second laptop has an SSD, would UFS with/without J and with/without SU or ZFS make more sense for it? There are several parameters that you can tweak (see "man tunefs"), I would suggest a single partition spanning the whole SSD, and journaling would not be contraproductive. s/would not/would/ i assume this as mistake. do not journal on SSD. it increases amount of writes, and fsck is quick anyway. do not forget of -t option with newfs (TRIM enable) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
are offered precompiled. Is your required language (unless it's English) present? If yes, no problem. > q) Does ntfs-3g from ports work reliably with external HDDs or USB > flash drives with read and write support? I would like to hear > personal experiences with that. I can't answer that, except forensic analysis and data recovery I'm not a MICROS~1 person. :-) > q) Does the NVIDIA binary driver work reliably? I would like to hear > personal experiences with that. I'm using it here (nVidia GeForce 7600 GS - G73), nvidia-driver-270.41.19 using xorg-7.5.1. No problems, except the GPU is broken and sometimes locks the system. :-) > I am also planning to setup a micro-server for home use (either a > ready-built one or by simply building a PC and using it as a server), > questions about that will come later. The main use of it would be > hosting my multimedia, streaming music and making backups of the > laptops on it (cron + rsync). Also, maybe some web/ftp and git > servers. You'll find all required parts to do that in ports. It doesn't sound much complicated. > I installed the base system into Virtualbox and everything works quite > well. Everything is so... clean, and tidy, and consistent, and > simple. Very well thought out. I may add that I'm happy to experience that every day since 4.0. :-) > I am also very impressed with the > amount of properly written man pages and with the handbook. I would > like to thank and congratulate all of the people who work on the > FreeBSD base system, a true masterpiece. You actually _do_ recognize that this voluminous and quality documentation is accessible for you even without Internet connection? In a worst case scenario, it's a real benefit. > q) Does the bsdinstall align partitions to device blocks by default > for optimal speed? If not, I have found that I can use gpart with -a > and -b which will require me to calculate the start and end offsets of > each partition manually. Is there a tool that can automatically do > that for me? I've not bsdinstall, so I can't comment on that. I prefer using a live media (CD or USB stick) and then use the command line tools according to the requirements (either fdisk, disklabel and newfs for the "MBR approach", or gpart and newfs for the "GPT approach"). > q) Is it possible to get native resolution on the console? I played > with vesa and vidcontrol but could never get what I wanted. Native > resolution would require KMS? As far as I know, KMS (kernel mode settings) is specific to Linux. FreeBSD has several VESA modes bigger than 80x25. But I have to admit that I don't see a problem in using this default mode during initialization time. Later on, xterms (also those containing SSH and screen sessions) can be configured any size under X. > q) Adding tmpmfs="YES" to /etc/rc.conf is analogous to a tmpfs /tmp on > Linux-based systems, correct? Any other directories that might make > sense to have as an mfs (ie, in /var)? Maybe subdirectories of the /var tree. Note that /var/db contains important databases for the system, and /var/log contains logs that you don't want to loose in case of a system crash. Things like /var/spool may be well in volatile memory. Note that the use of /var/tmp vs. /tmp is also debatable: While /tmp is really temporary, as it can be erased on system startup (see rc.conf option clear_tmp_enable) or when residing on a RAM disk, /var/tmp is often considered to be kept across reboots. > q) Is there a place where all sysctl variables are documented? It > occurred to me when I was trying to find the memory usage on my system > but `sysctl -a | grep mem' shows a whole bunch of stuff. See "man sysctl", you can use the -d option to see the description. Also there definitely is some source code where everything is stored. > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? Depending on your shell, you can set it in /etc/csh.cshrc (for the C shell, which is FreeBSD's default dialog shell). > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > a way to change that system-wide to be in human-readable format? What's not "human-readable" in bytes? I always thought 8k blocks where non-"human-readable"! :-) Aliases can do that. For example, you could use something like this: alias ls 'ls -FG -D "%Y-%m-%d %H:%M:%S"' alias ll 'ls -laFG -D "%Y-%m-%d %H:%M:%S"' See "man ls" and add options for dealing with sizes (display of SI units). Also you can "setenv BLOCKSIZE K" in your csh config file ~/.cshrc. > To assess my understanding, the system is split into ker
Re: New to FreeBSD - Some questions
Maybe a hint. I leave always one big release out. With other words. If you start now with 9, you do not have to move to 10 but you can stick with 9 until 11 comes out. You do not even have to upgrade at the spot. my as i do - i for now run FreeBSD 8, and will run 9 when it will be needed with new hardware (drivers) or it will have clearly noticable adventages of speed and/or functionality. I think you see here Linux as a distribution. Things like this are avoided with FreeBSD itself but not wit the ports. The ports have nothing much to do with FreeBSD except that they work on FreeBSD. repeating once again. FreeBSD base system is one complete and consistent thing. ports are another. If one run program X under linux, it will be the same program X under FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
The second laptop has an SSD, would UFS with/without J and > with/without SU or ZFS make more sense for it? > > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on packages? > It should work when you start off from the release versions. > q) Does ntfs-3g from ports work reliably with external HDDs or USB > flash drives with read and write support? I would like to hear > personal experiences with that. I used it for some time and never faced problems. I stopped using it when I moved my last disk to UFS. > > q) Does the NVIDIA binary driver work reliably? I would like to hear > personal experiences with that. I have one machine with the nVidia driver from ports running. I never installed the driver from nVidia. It runs for me since 2010 without any problems. > > I am also planning to setup a micro-server for home use (either a > ready-built one or by simply building a PC and using it as a server), > questions about that will come later. The main use of it would be > hosting my multimedia, streaming music and making backups of the > laptops on it (cron + rsync). Also, maybe some web/ftp and git > servers. FreeBSD will do this job. > >Initial impressions > > I installed the base system into Virtualbox and everything works quite > well. Everything is so... clean, and tidy, and consistent, and > simple. Very well thought out. I am also very impressed with the > amount of properly written man pages and with the handbook. I would > like to thank and congratulate all of the people who work on the > FreeBSD base system, a true masterpiece. Yes, felt that the man pages of the Fedora installation I have had have been so often useless. > >Setting up and installation > > q) Does the bsdinstall align partitions to device blocks by default > for optimal speed? If not, I have found that I can use gpart with -a > and -b which will require me to calculate the start and end offsets of > each partition manually. Is there a tool that can automatically do > that for me? > I do not know. > q) Is it possible to get native resolution on the console? I played > with vesa and vidcontrol but could never get what I wanted. Native > resolution would require KMS? It depends on the graphic card? Do you notebooks use the Intel GPU? If it is so, be ready for some smaller issues. Be also ready for 10. > > q) How can I set proxy settings system-wide? Same for PACKAGESITE (for > the pkg_* tools), how can I set a mirror system-wide? /etc/profile? > I use environment variables. Check man ports for all options. > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there > a way to change that system-wide to be in human-readable format? Yes, again man ls etc are your friends. > > System > > To assess my understanding, the system is split into kernel, base, > documentation, games, lib32 (on 64-bit systems) and ports. There is > another split between base and ports where base includes everything > previously mentioned minus ports. Now, there are 3 "branches" of the > base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays > that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, > etc. CURRENT means "trunk" in SVN terms. Is all that correct? Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? > Make world compiles on the world of the base system. Never forget, that the ports have nothing to do with FreeBSD in that sense. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? To let the chaos rule? No, it is some much more flexible to control the behaviour in a single file. > > q) What is analogous to /etc/rc.local from Linux-based systems? > > q) Is there something analogous to the Linux magic sysrq key? > > Ports and packages > > I must say, the ports collection being built on makefiles was a > welcome enlightenment, it just, naturally, made sense. The *-recursive > make targets are a blessing, especially for configs. > > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? > > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? > > q) I noticed in the ports collection that there were some outdated > pa
Re: New to FreeBSD - Some questions
+---+ |Stripe | +---+---+ |Mirror1|Mirror2| +---+---+---+---+ | Disk1 | Disk2 | Disk3 | Disk4 | +---+---+---+---+ true. but there are mirror/stripe layout that is quite better in performance than yours where writes are not dominant ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On 21/06/2012 12:24, Fred Morcos wrote: > q) I am currently considering 3 disks for a home micro-server, with > ZFS striping with the third disk being a parity disk. In case I decide > to buy a fourth disk in the future and add it to the pool, is ZFS > capable of re-structuring the data on-the-fly to have 2 sets of > striping (without parity, so 2 disks each) and on top of that a > mirror? Analogous to the following: > > +---+ > |Stripe2 mirrors Stripe1| > +---+---+ > |Stripe1|Stripe2| > +---+---+---+---+ > | Disk1 | Disk2 | Disk3 | Disk4 | > +---+---+---+---+ Just picking one of your questions arbitrarily -- not that there's anything wrong with the others, but this I had to comment on. And the comment is: Don't do it like that. viz. Don't mirror the stripes: stripe the mirrors instead. +---+ |Stripe | +---+---+ |Mirror1|Mirror2| +---+---+---+---+ | Disk1 | Disk2 | Disk3 | Disk4 | +---+---+---+---+ Why this way? Well, consider what happens if one of your disks fails. With your original plan (RAID0+1): A failed disk in a stripe immediately takes the whole stripe out of action, so you're left operating on only two drives and you have no resilience to further failures. With my plan (RAID10): A failed drive means you lose resilience in one of the mirrors -- the other mirror can carry on as usual, and you will still be making full use of all the remaining drives. It's also faster to recover when you replace the failed drive -- you only have to resilver one disk's worth. Now, your actual question: can you convert a RAIDz (which is what I assume you mean by "with the third disk being a parity disk") to a RAID10 transparently? No. You can add another vdev (ie. a disk, mirrored pair or RAIDz group) to expand the size, but you can't radically rearrange the devices in your zpool without manual intervention. What you can do is: add your new disk to the system, and remove one drive from your RAIDz (so the RAIDz is running in degraded mode). You can create a new zpool from those two disks -- temporarily as a RAID0 stripe across the pair. You can then do 'zfs send' | 'zfs receive' to copy your filesystem contents over to the new zpool. Reboot so the system is running live on the new zpool, destroy the old zpool and then insert those drives into the new zpool so they mirror drives already there. That's a lot of copying stuff around, and all the while you won't have any resilience against disk failure. Plenty of scope for disastrous errors. Make sure you have very good backups. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: New to FreeBSD - Some questions
Fred Morcos writes: > q) Is it possible to run a FreeBSD system without much building? > In other words, can I survive by depending on packages and only > resorting to ports when really needed? Mostly, yes. There are down-sides, but if you're building a client where specific functionality is not needed and performance is not crucial - yes. > 1. Too often, core system components break (especially with every > Linux kernel release). > 1. Yesterday I spent 30 minutes until my webcam worked, dealing with >v4l, gstreamer and cheese. > 2. The USB3 port in my laptop used to work as USB2 (never as USB3), >not anymore, it's now completely useless and doesn't react to >anything. To work in FreeBSD-land, you're going to need to understand the difference between the system and the ports. Also, the difference between CURRENT and STABLE releases. See the Handbook for more information. > 2. Sudden drastic changes that are deviating from simplicity. > 1. The sudden flood of daemons that are designed to do everything >for me, without giving me much say in the matter. My computer is >supposed to help me, not decide for me or replace me. Not much of this. > 2. Those daemons are hard to get rid of and are tightly integrated >into higher-level components in the stack (ie, into the desktop >environment). > > Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, > consolekit and policykit. Hal and dbus are used by a fair number of programs; many can be compiled not to used them, with varying consequences. As for the others: on a system with 882 ports installed, 44 use pulseaudio, 61 use consolekit and 62 use policykit. (Porbably a high degree of overlap there.) > 5. I think many of the developers of those components are trying to > reach a Mac-like experience? I am not against that in any way, but > it needs to be working well. Everything is a work in progress. :-) > q) Does ZFS make sense on a laptop? Any advantages of using it over > USF with J+SU? I am not interested in any striping or mirroring on > the laptops, but the compression features is very attractive for the > HDDs in the first laptop. I am given to understand ZFS can do some wonderful things ... but uses a _lot_ of memory, which may be unacceptable. > q) Can I live with a desktop environment (Gnome or KDE) and desktop > applications (Firefox, Libreoffice, etc) by relying only on > packages? Yes, assuming you're willing to live with the default options for each. Note: there may be ports whose packages are - for various reasons - not of the most recent version. > q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is > there a way to change that system-wide to be in human-readable > format? Check out the BLOCKSIZE environment variable, and the -H/-h setting to individual programs. > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? sysutils/fastest_cvsup > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) Generally - the right people know. What they don't know is when they will have the time (and in some cases, motivation) to import (and test) the latest version. Anyone can submit patches. The default person in charge of dealing with patches is the "maintainer", who can be identified by going to the port directory and doing "make MAINTAINER". Talking to the maintainer about new versions and trouble with old versions is both polite and (usually) more efficient. (For some large projects - Gnome, KDE, Mozilla, Java, etc. - the maintainer is a team.) 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"
Re: New to FreeBSD - Some questions
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I will go with a single thread. I will also try to keep it as short as possible. Please note that it is not my intention to start a flame-war against anyone or any project. I am stating my experiences, the goals i - in reply - just told you my experiences with linux which was actually my first unix-like OS. I learned over the years that (re-)compilation of packages is not something I want to do regularly, but something I would like to do only when I need and want to (ie, to strip out or add a certain compile-time feature from/to a package). I also learned that the performance gains of tuning compiler flags for a certain CPU are not that drastic for a desktop/laptop/workstation machine workflow and that this category of computing is mostly bound by IO speed (especially with HDDs). true. anyway if you want anything else that default compile options you have to rebuild. q) Is it possible to run a FreeBSD system without much building? In you may use all binary packages. You may even do pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/.../packagename.tbz and it works, and will fetch dependencies too if needed. you may use source builds, or mix of both. you just do portsnap fetch portsnap update to get ports tree up to date. other words, can I survive by depending on packages and only resorting to ports when really needed? it depends on ports. Some are easy to deal with some are not. 1. Too often, core system components break (especially with every Linux kernel release). 1. Yesterday I spent 30 minutes until my webcam worked, dealing with v4l, gstreamer and cheese. 2. The USB3 port in my laptop used to work as USB2 (never as USB3), not anymore, it's now completely useless and doesn't react to anything. This programs are not part of FreeBSD, just as they are not part of linux (linux is kernel). webcamd, gstreamer etc.. are still the same programs no matter if you compile then under linux and freebsd. as for point 2 it would probably be better with FreeBSD :) 2. Sudden drastic changes that are deviating from simplicity. In that respect FreeBSD is 100 times better. But still - PORTS are not FreeBSD. There are tens of thousands of them. Most are the same programs that run on linux, just packaging differ. And nobody can be sure something will not get f...d up. 1. The sudden flood of daemons that are designed to do everything for me, without giving me much say in the matter. My computer is supposed to help me, not decide for me or replace me. FreeBSD starts only inetd and cron by default. As for me it is already too much in /etc/crontab :) 2. Those daemons are hard to get rid of and are tightly integrated into higher-level components in the stack (ie, into the desktop environment). No such a problem under FreeBSD. But when compiling xorg-server from ports i recommend turning off SUID and HAL options. 3. Those daemons are increasingly hard and obscure to configure (ie, huge XML files, complex hierarchies, etc). FreeBSD base system is not like that. But still - if you use the same thing that in linux it would be the same. Anyway human have brain and can use it. So prepare your environment that would fit your needs and nothing else. 3. Due to having to run and interact with each other all the time, those daemons are sucking the life out of my laptop battery (according to powertop). No such problem on my laptop. It runs 1.5 hours longer than official specs. enable powerd in /etc/rc.conf - powerd is a part of base system, not addon. Works great. 4. Probably other frustrations that I have forgotten about. You should not forgot them so you will not ever want to go back to linux. 5. I think many of the developers of those components are trying to reach a Mac-like experience? I am not against that in any way, but it needs to be working well. I don't really know what linux community want to achieve. For my observation they wanted to compete with microsoft windows. And they exceeded the target - it's even more messy and uncontrollable. Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, consolekit and policykit. You do not need any of them under FreeBSD. It is useful to have dbus daemon running for whole machine in many use cases but not really needed. I am aware that those solutions are there to solve complex problems which was first created. I have two laptops (Asus N73JQ, Asus U36S) which I use as work machines. Power efficiency is very important, efficient disk access too. Suspend to ram and hiberation would be nice to have but are not utterly important. q) I would assume UFS with J+SU is "fast
Re: New to FreeBSD - Some questions
On Wed, Jun 20, 2012 at 9:58 PM, Wojciech Puchar wrote: >> I'm quite new to FreeBSD too (RHEL/Fedora background), and am most >> impressed with it so far. > > > rather huge difference. > > >> Secondly (and probably stating the obvious), the handbook >> >> <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/> >> >> is the place I always look first. > > and third - manuals. They are in sync with system and actually VERY useful. > > while i was still (long time ago) using linux most common manual was like > > "this manual is outdated. Use texinfo documentation". and texinfo docs was > often outdated too. > > Today it is most probably "look at wikipedia" ;) > > Of course i means FreeBSD base system, ports are not part of FreeBSD and > quality varies. > > _______ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" I will go with a single thread. I will also try to keep it as short as possible. Please note that it is not my intention to start a flame-war against anyone or any project. I am stating my experiences, the goals I would like to achieve and some questions I have. Suggestions and directions (to put me on track) are greatly welcome and appreciated. Questions will be marked with a q) at the beginning of the line. Introduction and background I have been using GNU/Linux for quite a while and I am most comfortable with Archlinux. The reason I like it is it's simplicity from the ground up without wasting too much time on unimportant details (unless you want to). Another strong point is that it provides binary packages by default, user-building of packages if you want to, and the same level of customization you can achieve with - say - Gentoo Linux. FreeBSD seems to provide that. I learned over the years that (re-)compilation of packages is not something I want to do regularly, but something I would like to do only when I need and want to (ie, to strip out or add a certain compile-time feature from/to a package). I also learned that the performance gains of tuning compiler flags for a certain CPU are not that drastic for a desktop/laptop/workstation machine workflow and that this category of computing is mostly bound by IO speed (especially with HDDs). q) Is it possible to run a FreeBSD system without much building? In other words, can I survive by depending on packages and only resorting to ports when really needed? What set me off, and got me tired of dealing with Linux-based systems is a set of patterns that have been repeating over for some years now. Generally: 1. Too often, core system components break (especially with every Linux kernel release). 1. Yesterday I spent 30 minutes until my webcam worked, dealing with v4l, gstreamer and cheese. 2. The USB3 port in my laptop used to work as USB2 (never as USB3), not anymore, it's now completely useless and doesn't react to anything. 2. Sudden drastic changes that are deviating from simplicity. 1. The sudden flood of daemons that are designed to do everything for me, without giving me much say in the matter. My computer is supposed to help me, not decide for me or replace me. 2. Those daemons are hard to get rid of and are tightly integrated into higher-level components in the stack (ie, into the desktop environment). 3. Those daemons are increasingly hard and obscure to configure (ie, huge XML files, complex hierarchies, etc). 3. Due to having to run and interact with each other all the time, those daemons are sucking the life out of my laptop battery (according to powertop). 4. Probably other frustrations that I have forgotten about. 5. I think many of the developers of those components are trying to reach a Mac-like experience? I am not against that in any way, but it needs to be working well. Those are dbus, hal, udev, udisks, upower, pulseaudio, systemd, consolekit and policykit. I am aware that those solutions are there to solve complex problems (thus their inherent complexity) and that many bright people with a lot of experience have thought about them and worked on those projects. My frustration is that those solutions are: 1. At the cost of making simple tasks more complex. 2. Replacing or conflicting with the previously existing solution. 3. Sometimes very unstable and unusable. q) Where does the FreeBSD project stand on this matter? From what I noticed is that the base system seems to adhere to the tranditional flat text files for configuration and simple tools that do a good job, leaving it up to the user to combine those small tools to create larger, more complex ones (a
Re: New to FreeBSD - Some questions
I'm quite new to FreeBSD too (RHEL/Fedora background), and am most impressed with it so far. rather huge difference. Secondly (and probably stating the obvious), the handbook <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/> is the place I always look first. and third - manuals. They are in sync with system and actually VERY useful. while i was still (long time ago) using linux most common manual was like "this manual is outdated. Use texinfo documentation". and texinfo docs was often outdated too. Today it is most probably "look at wikipedia" ;) Of course i means FreeBSD base system, ports are not part of FreeBSD and quality varies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
These are good guidelines to follow: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html Try to avoid X Y problems. Initiating it with the root question will give the best results. On Wed, Jun 20, 2012 at 7:32 AM, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). > > Cheers, > Fred > ___ > 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" > -- 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: New to FreeBSD - Some questions
On Wed, 20 Jun 2012 14:32:24 +0200, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all in > a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer one > question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). I'm quite new to FreeBSD too (RHEL/Fedora background), and am most impressed with it so far. The first thing to mention is that this is an extremely helpful list (I won't call it a newsgroup because it isn't one, though I read it via gmane), and as such is most useful. Ask away! Secondly (and probably stating the obvious), the handbook <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/> is the place I always look first. 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: New to FreeBSD - Some questions
I am new to FreeBSD, coming from a GNU/Linux background (most comfortable with Archlinux). I compiled a series of questions I would like to ask in different areas and categories. Should I send them all in a single email message or should I split them by subject/topic into different emails? split. or you will end with enormous messy thread. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
Hi, On Wednesday 20 June 2012 19:32:24 Fred Morcos wrote: > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? whatever you will be doing, some will say that it is wrong. > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). I think that it is the best to ask. If people get disturbed by your questions, they should ignore it. The majority will be keen to help. You have choosen the general list. In case you cannot get an answer to a specific question, you can still post the same question later on the specific mailing list. Just be practical. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: New to FreeBSD - Some questions
On 6/20/12 2:32 PM, Fred Morcos wrote: > Hello all, > > I am new to FreeBSD, coming from a GNU/Linux background (most > comfortable with Archlinux). I compiled a series of questions I would > like to ask in different areas and categories. Should I send them all > in a single email message or should I split them by subject/topic into > different emails? > > The advantage of the former is that I will be able to easily show > relations between the different topics and questions (put them into > context) as well as articulate the setup I would like to reach. The > advantage of the latter is that it is cleaner and simpler to answer > one question by one. > > Also, I have done a bit of poking around to answer each of my own > questions, obviously with no luck, so I do not mind RTFM-ing - I would > actually prefer it, please feel free to link me to an article, > tutorial, man page or handbook that already answers one or more > question(s). > > Cheers, > Fred Just toss them in a single mail to be honest, that'll help get the bigger picture. ___ 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"
New to FreeBSD - Some questions
Hello all, I am new to FreeBSD, coming from a GNU/Linux background (most comfortable with Archlinux). I compiled a series of questions I would like to ask in different areas and categories. Should I send them all in a single email message or should I split them by subject/topic into different emails? The advantage of the former is that I will be able to easily show relations between the different topics and questions (put them into context) as well as articulate the setup I would like to reach. The advantage of the latter is that it is cleaner and simpler to answer one question by one. Also, I have done a bit of poking around to answer each of my own questions, obviously with no luck, so I do not mind RTFM-ing - I would actually prefer it, please feel free to link me to an article, tutorial, man page or handbook that already answers one or more question(s). Cheers, Fred ___ 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: freebsd-questions Digest, Vol 418, Issue 7
2012-06-06 13:36, kwel kwel skrev: Please remove my email from your database i don't want to receive any other mail from you plzz 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" ___ 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: automating menu options in ports (and other ports build questions)
On Thu, 24 May 2012 23:56:02 -0600, Gary Aitken wrote: > Is there a way to find out what options a package is built with? I don't think so. A package is just an archive containing "truncated subtrees" such as bin/, lib/ or man/ of the compiled programs, ready for install into the /usr/local directory. It also contains data files such as +COMMENT, +CONTENTS, +DESC and +MTREE_DIRS. However, if you have installed from a port, the options you have set will be stored in /var/db/ports//options. I haven't tested yet if a package that _has_ adjustable options (which obviously have already been adjusted) would create such a directory and file, but I assume it does not, as it seems obvious that those are handled by the port building mechanisms (which aren't in use when you pkg_add something). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: automating menu options in ports (and other ports build questions)
On Thu, 24 May 2012 23:55:17 -0600, Gary Aitken wrote: > >> 5. It looks like the options which show up using sysinstall are from the > >> OPTIONS variable in the Makefile. > > > > Excuse me, where exactly do you see compile-time options in the > > sysinstall program? I know it can select and install packages, > > but PORTS? > > What I mean is the OPTIONS variable is what shows up when >make config > is done (now that I understand it a little better) The menu functionality is provided by the ncurses-based "dialog" program and defined in /usr/ports/Mk/bsd.port.mk line 5953 +/- (version 1.692 here). > Unfortunately, lots-o-computers but only one screen :-( I know this situation very well. One just _cannot_ be familiar with all the many option names (that sometimes just sound like logorrhea) and that make _no_ sense unless you know what they mean. There are names where the meaning can be concluded, and so the question "Do I need it?" can be answered; sadly that's not always the case, especially when dealing with "modern" software and their partially ridiculous naming habits. > >> Or is this a documentation project in the offing? > > > > I would welcome a kind of text file that lists all the strange > > names with a short description of what they are and what you > > need them for, being more informative than the short "one liners" > > in the options dialog. > > Can someone point me at the code that puts up the menu? See /usr/ports/Mk/bsd.port.mk as mentioned above. The "dialog" program also offers some examples which belong to the base system, see /usr/share/examples/dialog, and of course see "man dialog". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"