freebsd-tips: Use a fetchable URL as exampleMFC after: 3 days(cherry picked from commit ffe6afc4f0121f1909f2fa88694228f771dd3fcb)freebsd-tips: Fix the description of fetch(1) to match the comma
freebsd-tips: Use a fetchable URL as exampleMFC after: 3 days(cherry picked from commit ffe6afc4f0121f1909f2fa88694228f771dd3fcb)freebsd-tips: Fix the description of fetch(1) to match the commandReported by: jrtc27MFC with: ffe6afc4f0121f1909f2fa88694228f771dd3fcb(cherry picked from commit 167897510919a76740eca0d79713abbd088660fe)
show more ...
fortune: add a tip about gstat(cherry picked from commit 60a632f047cdb6e5314711f593a4d3b1f1d8dde9)
fortune(6): Add EXIT STATUS and HISTORY sectionsObtained from: OpenBSDMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D27941
Drop superfluous "of" from the systat example.
Replace literal uses of /usr/local in C sources with _PATH_LOCALBASELiteral references to /usr/local exist in a large number of files inthe FreeBSD base system. Many are in contributed software, i
Replace literal uses of /usr/local in C sources with _PATH_LOCALBASELiteral references to /usr/local exist in a large number of files inthe FreeBSD base system. Many are in contributed software, in configurationfiles, or in the documentation, but 19 uses have been identified in Csource files or headers outside the contrib and sys/contrib directories.This commit makes it possible to set _PATH_LOCALBASE in paths.h to usea different prefix for locally installed software.In order to avoid changes to openssh source files, LOCALBASE is passed tothe build via Makefiles under src/secure. While _PATH_LOCALBASE could havebeen used here, there is precedent in the construction of the path used toa xauth program which depends on the LOCALBASE value passed on the compilercommand line to select a non-default directory.This could be changed in a later commit to make the openssh buildconsistently use _PATH_LOCALBASE. It is considered out-of-scope for thiscommit.Reviewed by: impMFC after: 1 monthDifferential Revision: https://reviews.freebsd.org/D26942
fortune(6): Grammar fix for a hint on searching portsPR: 249078Submitted by: PauAmma <pauamma at gundo dot com>Reported by: PauAmma <pauamma at gundo dot com>MFC after: 3 days
fortune, strfile: Improve validation of command-line arguments.- Avoid potential overflow when parsing a percentage.- Avoid truncation when copying file paths.PR: 246050Submitted by: Akos Somf
fortune, strfile: Improve validation of command-line arguments.- Avoid potential overflow when parsing a percentage.- Avoid truncation when copying file paths.PR: 246050Submitted by: Akos Somfai <[email protected]> (original)MFC after: 1 week
Revert r362466Such change should not have happen without prior discussion and review.With hat: transitioning core
Improve wording to be more precise and clear.No functional change intended.s/Master Boot/Main Boot/ (also called MBR)MFC after: 1 weekSponsored by: Mellanox Technologies
fortune: remove warning about potentially offensive fortunesThey were removed long ago.PR: 246736Submitted by: Ruby Lazuli LordMFC after: 3 days
A few corrections and clarifications to r343406.- Use "in" instead of "on" when referring to directory and UFS partition.- Switch from hw.physmem to hw.realmem and add a description todistinguish
A few corrections and clarifications to r343406.- Use "in" instead of "on" when referring to directory and UFS partition.- Switch from hw.physmem to hw.realmem and add a description todistinguish the two.- Explain why the "df" command is having trouble displaying ZFS sizescorrectly. Add a bit more descriptive text to help why the output of"zfs list -o space" should be used.- Switch to vmstat instead of iostat display for systat(1) as it showsmore information on one screen. Describe what is displayed based on thetext of the man page. Change the list of the other values accordingly.- Sort the flags to "zfs destroy" alphabetically.Reviewed by: rgrimesApproved by: rgrimesMFC after: 8 daysDifferential Revision: https://reviews.freebsd.org/D18993
Add ZFS usage tips to freebsd-tips.Add a bunch of examples on how to use ZFS features like:- listing available space,- setting and displaying a userquota,- displaying pool I/O statistics and poo
Add ZFS usage tips to freebsd-tips.Add a bunch of examples on how to use ZFS features like:- listing available space,- setting and displaying a userquota,- displaying pool I/O statistics and pool history,- displaying the compression ratio for a dataset,- various list options (sorting, removing headers),- performing a dry-run of a snapshot delete,- removing a range of snapshots,- setting a custom property,- preventing removal of a snapshot with ZFS holds,- permission sets for zfs send/receive.Additionally, clarify the existing examples a bit whenit comes to displaying space by mentioning UFS explicitly.Other examples include displaying I/O in top(1), queryingsysctl(8) for active CPUs and available RAM. Mention systat(1)and its options, too.While here, reformat the example to upload a dmesg(8) a bitto wrap properly.Thanks to Allan Jude for his help with some of the ZFS examples.Reviewed by: dru,allanjudeApproved by: allanjude (earlier version)MFC after: 3 daysRelnotes: yes (ZFS examples in freebsd-tips)Differential Revision: https://reviews.freebsd.org/D18541
Add a fortune describing how to upload a machine's dmesg information to theNYCBUG database.We want to encourage our users to upload their dmesgs so that the project canget a better insight into w
Add a fortune describing how to upload a machine's dmesg information to theNYCBUG database.We want to encourage our users to upload their dmesgs so that the project canget a better insight into what kind of hardware is run on. This helps in makingdata-driven decisions about i.e., platform and driver support.Note that dmesgs may contain sensitive information like hardware serial numbers,hence uploading them without review is discouraged.Reviewed by: brooks, imp, allanjudeApproved by: allanjudeMFC after: 5 daysDifferential Revision: https://reviews.freebsd.org/D17705
fortune(6): Fix gcc80 -Wbool-operation warnings.Hinted by: Dragonfly (git 4d1086765752f0569497d06460d95117c74f33ac)
Remove all fortune datfiles except freebsd-tips.Humour is a funny thing. What is funny to one person is not funny to allpeople. What is insightful to one person is similarly not universal. Thefor
Remove all fortune datfiles except freebsd-tips.Humour is a funny thing. What is funny to one person is not funny to allpeople. What is insightful to one person is similarly not universal. Thefortune datfiles have been around a long time and have undoubtedly amusedpeople but it's time to acknowledge their subjective, and in some casesat least potentially offensive, nature and stop distributing them with theimprimatur of the FreeBSD project.If anyone wishes to distribute these via other mechanisms they are welcome tocheck them out of history and do so.MFC after: 2 days
Remove fortune quotes attributed to or providing admiration of Adolf HitlerMFC after: 1 week
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
The !! trick does not apply to all shellsRequested by: emaste
Update URLs in usr.bin- http -> https- contents have moved locations- removal of URL if I could not find new location
Modernize freebsd-tips a bit- Prefer UTF-8 over ISO-8859-1- Remove some references to printing man pages- Combine duplicate '!!' tips- 'rehash' is no longer needed
Prefer using https over http
strcpy => strlcpy, strcat => strlcatReported by: CoverityCID: 1006703 978863 1006745 1347163Reviewed by: cemMFC after: 3 weeksSponsored by: Spectra Logic CorpDifferential Revision: https://re
strcpy => strlcpy, strcat => strlcatReported by: CoverityCID: 1006703 978863 1006745 1347163Reviewed by: cemMFC after: 3 weeksSponsored by: Spectra Logic CorpDifferential Revision: https://reviews.freebsd.org/D10192
usr.bin/fortune: convert to OBJTOP/SRCTOP idioms- Use OBJTOP/SRCTOP-relative paths when looking for include files and strfile.- Add FORTUNES_OBJ and FORTUNES_SRC to abbreviate usr.bin/fortune
usr.bin/fortune: convert to OBJTOP/SRCTOP idioms- Use OBJTOP/SRCTOP-relative paths when looking for include files and strfile.- Add FORTUNES_OBJ and FORTUNES_SRC to abbreviate usr.bin/fortune pathing.This is being done to simplify make output/idioms.MFC after: 1 weekReviewed by: bdrewerySponsored by: Dell EMC IsilonDifferential Revision: D9916
Don't rely on dependency in Makefile.inc1 for strfile; make datfiles depend on strfileIn most cases strfile is built as part of build-tools, but in the event that someonecd'ed to the directory, tr
Don't rely on dependency in Makefile.inc1 for strfile; make datfiles depend on strfileIn most cases strfile is built as part of build-tools, but in the event that someonecd'ed to the directory, tried to build from scratch, and had MK_GAMES=no previously,the build would fail in .../datfiles , trying to find strfile .Mark this directory tree "SUBDIR_PARALLEL" safe to help facilitate this, instead ofshuffling around the SUBDIR entries (all of the other Makefiles will build standalone).MFC after: 1 weekSponsored by: Dell EMC Isilon
spelling fixSubmitted by: adamw
12