summaryrefslogtreecommitdiffstats
path: root/share/examples
Commit message (Collapse)AuthorAgeFilesLines
* Revert r253748,253749avg2013-07-281-0/+1
| | | | | | This WIP should not have been committed yet. Pointyhat to: avg
* remove needless inclusion of machine/cpu.h in userlandavg2013-07-281-1/+0
| | | | MFC after: 21 days
* Fix typo.glebius2013-07-171-1/+1
| | | | Submitted by: ae
* Improve example, so that it doesn't dump core when example moduleglebius2013-07-171-2/+6
| | | | isn't loaded.
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-282-0/+2
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* Add "amdfam10" to the supported CPU types for amd64. This complementsjkim2013-06-271-2/+2
| | | | r251691 and 251692.
* Add a missing comma.jkim2013-06-131-1/+1
|
* - Document GCC support for AMD Family 10h processors (amdfam10).jkim2013-06-131-5/+5
| | | | - Document Clang support for AMD Jaguar processors (btver2).
* Fxi a bunch of typos.eadler2013-05-101-1/+1
| | | | | PR: misc/174625 Submitted by: Jeremy Chadwick <jdc@koitsu.org>
* Add an alternate version of beastie to the examples directory.eadler2013-04-282-0/+2474
| | | | | | | PR: docs/38556 Submitted by: Rahul Siddharthan <rsidd@online.fr> Submitted on: 25 May 2002 22:49:56 -0000 MFC After: 2 weeks
* Fix examples for overriding INSTALL to not suggest hardcodingbdrewery2013-04-261-1/+1
| | | | | | | | | | 'install' since it breaks buildworld after the introduction and use of 'install -l' in r245752. Overriding INSTALL causes /usr/bin/install to be used instead of the proper /usr/src/tools/install.sh which handles the new flag. Approved by: bapt MFC after: 2 weeks
* Add the "-g <gdport>" option to the vmrun.sh script that enables remoteneel2013-03-281-3/+8
| | | | | | | | debugging of the guest via kgdb. See also: https://wiki.freebsd.org/BHyVe/gdb Obtained from: NetApp
* Retire the mislabeled ENABLE_SUID_SSH knob.des2013-03-221-3/+0
|
* Add bhyve to examples.neel2013-03-182-0/+181
| | | | | Requested by: alfred, julian Obtained from: NetApp
* Disconnect files removed in r248151bapt2013-03-111-3/+0
|
* Ports are no more exported via cvsup, remove cvsup examples and ↵bapt2013-03-116-159/+3
| | | | | | documentation refering to ports MFC after: 2 days
* Garbage collect NWFS and NCP bits which are now completely disconnectedattilio2013-03-092-112/+0
| | | | | | from the tree since few months. This patch is not targeted for MFC.
* Garbage collect PORTALFS bits which are now completely disconnected fromattilio2013-03-022-68/+0
| | | | | | the tree since few months. This patch is not targeted for MFC.
* Tone down the encouragement to use cvsup. Add directions to the handbookpeter2013-01-037-315/+46
| | | | pages that cover the more current methods and bring closer to reality.
* Remove 'dangerous' instructions from the example make.conf.eadler2012-12-111-8/+7
| | | | | | | | | | Clarify when and why these might be used and that this isn't a supported configuration. PR: docs/144488 Submitted by: amdmi3 Approved by: cperciva (implicit) MFC after: 2 weeks
* A number of places in the source tree still reference cuad.* aftereadler2012-12-082-7/+7
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* Tidy up bsd.cpu.mk for X86 CPUs:jkim2012-12-041-5/+6
| | | | | | | | | | | | | | | | | | | | - Do not limit recent processors to "prescott" class for i386 target. There is no reason for this hack because clang is default now. On top of that, it will only grow indefinitely over time. - Add more CPUTYPEs, i.e., "athlon-fx", "core-avx2", "atom", "penryn", and "yonah". Note "penryn" and "yonah" are intentionally undocumented because they are not supported by gcc and marked deprecated by clang. - Add more CPUTYPE aliases, i.e., "barcelona" (-> amdfam10), "westmere" and "nehalem" (-> corei7). Note these are intentionally undocumented because they are not supported by (base) gcc and/or clang. However, LLVM (backend) seems to "know" the differences. Most likely, they were deprecated with other vendor code names and clang did not bother implementing them at all. - Add i686 to MACHINE_CPU for "c3-2" (VIA Nehemiah). Both gcc & clang treat it like an i686-class processor. - Add IDT "winchip2" and "winchip-c6" for completeness (undocumented). - Order processors per make.conf example, i.e., CPU vendors and models. - Tidy up make.conf example, i.e., remove "by gcc" (because we have aliases) and remove "prescott" from AMD64 architecture (because it is not correct).
* Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).jkim2012-12-031-1/+1
| | | | | | It was removed from head more than 8 years ago (see r137784 and r137785). Reviewed by: imp, delphij, dim
* Clean up and update comments for CPUTYPE.jkim2012-11-191-11/+16
| | | | Requested by: rdivacky
* Decode common state bits in getencstat output.mav2012-11-061-2/+6
|
* Add -c option to sesd to make it clear enclosure status after reading itmav2012-11-062-22/+38
| | | | in case if it is not permanent and was fixed.
* Rise priority of the informational messages from LOG_INFO to LOG_NOTICE,mav2012-11-051-3/+2
| | | | | same as used for OK status. Otherwise it looks strange when OK status is reported, while informational is not.
* Fix a minor typo.mav2012-11-051-1/+1
|
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-222-0/+42
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-182-2/+0
| | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
* Disconnect non-MPSAFE NWFS from the build in preparation for droppingattilio2012-10-171-3/+0
| | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
* Disconnect non-MPSAFE PORTALFS from the build in preparation for droppingattilio2012-10-161-3/+0
| | | | | | GIANT from VFS. This is not targeted for MFC.
* Add a bunch more example completions.eadler2012-10-161-14/+84
| | | | | | Submitted by: wblock Approved by: cperciva (implicit) MFC after: 3 days
* Revert previous commit...kevlo2012-10-102-2/+2
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-092-2/+2
|
* Indicate (loudly) that ports csup is going away.eadler2012-10-011-6/+13
| | | | | | | While here clarify some other portions. Approved by: cperciva (implicit) MFC after: 3 days
* Correct double "the the"eadler2012-09-141-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Minor English grammar fixes.eadler2012-09-091-5/+4
| | | | | | | | | | Specifically document that an incomplete ports tree is not supported. Remove useless comment about sendmail. Reviewed by: yuri.pankov@gmail.com Approved by: cperciva (implicit) MFC after: 1 week X-MFC-With: r240252
* Remove documentation and www cvsup files as they are no longer usefuleadler2012-09-098-184/+3
| | | | | | | | with the switch to subversion. Approved by: gjb (man pages) Approved by: cperciva (example files, implicit) MFC after: 1 week
* Minor style(9) improvementemaste2012-08-071-3/+3
|
* Add some examples about how to use FreeBSD's libusb20 in your ownjoerg2012-07-187-0/+854
| | | | code.
* Add the 'inet' keyword after the nat rule to avoid interfering withrpaulo2012-06-282-2/+2
| | | | IPv6.
* Fix an issue that caused the kernel to panic inside CTL when tryingken2012-06-261-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to attach to target capable HBAs that implement the old immediate notify (XPT_IMMED_NOTIFY) and notify acknowledge (XPT_NOTIFY_ACK) CCBs. The new API has been in place since SVN change 196008 in 2009. The solution is two-fold: fix CTL to handle the responses from the HBAs, and convert the HBA drivers in question to use the new API. These drivers have not been tested with CTL, so how well they will interoperate with CTL is unknown. scsi_target.c: Update the userland target example code to use the new immediate notify API. scsi_ctl.c: Detect when an immediate notify CCB is returned with CAM_REQ_INVALID or CAM_PROVIDE_FAIL status, and just free it. Fix a duplicate assignment. aic79xx.c, aic79xx_osm.c: Update the aic79xx driver to use the new API. Target mode is not enabled on for this driver, so the changes will have no practical effect. aic7xxx.c, aic7xxx_osm.c: Update the aic7xxx driver to use the new API. sbp_targ.c: Update the firewire target code to work with the new API. mpt_cam.c: Update the mpt(4) driver to work with the new API. Target mode is only enabled for Fibre Channel mpt(4) devices. MFC after: 3 days
* Sync example file with mdoc changes made in rev 235450.joel2012-06-131-2/+0
|
* Include a warning when using the example code as it may noteadler2012-06-131-1/+5
| | | | | | | | | work in unusual situations. Also slightly optimize the command. Submitted by: Jeremy Chadwick jdc@koitsu.org Approved by: cperciva (implicit) MFC after: 1 week
* Finally nuke auth.conf, nine years after it was deprecated. The onlydes2012-06-121-1/+0
| | | | | | | | | | | | | | | | | | thing it was still used for was to set the "global default" password hash. Since the stock auth.conf contained nothing but comments, the global default was actually the first algorithm in crypt(3)'s list, which happens to be DES; I take the fact that nobody noticed as proof that it was not used outside of crypt(3). The only other use in our tree was in the Kerberos support code in in tinyware's passwd(1). I removed that code in an earlier commit; it would not have compiled anyway, as it only supported Kerberos IV. The auth_getval() function is now a stub that always returns NULL, which has the same effect as a functional auth_getval() with an empty auth.conf. MFC after: 3 weeks
* MFprojects/zfsd:mav2012-05-2410-97/+157
| | | | | | | | | | | Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location information\for disk elements into the CAM device database. Sponsored by: Spectra Logic Corporation Sponsored by: iXsystems, Inc. Submitted by: gibbs, will, mav
* Rework sample code which sets SSH_AUTH_SOCK to the user's ssh-agenteadler2012-05-151-1/+1
| | | | | | | | | | | socket path if running PR: 167932 Submitted by: madpilot (pr) Submitted by: wblock (final patch) Reviewed by: If someone else reviewed your modification. Approved by: cperciva (implicit) MFC after: 3 days
* Sort completionseadler2012-04-121-8/+10
| | | | | | | | Add a new one for sysctl Submitted by: rm (the new completion) Approved by: cperciva (implicit) MFC after: 3 days
* Fix typo (add a missing '%/' in sed)eadler2012-04-111-1/+1
| | | | | | Submitted by: jmallett Approved by: cperciva (implicit) MFC after: 3 days
OpenPOWER on IntegriCloud