MFC r343532: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 t
MFC r343532: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: rgrimesDifferential Revision: https://reviews.freebsd.org/D18993
show more ...
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)Relnotes: yes (ZFS examples in freebsd-tips)Differential Revision: https://reviews.freebsd.org/D18541
MFC r340649: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 i
MFC r340649: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: allanjudeDifferential 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
More FreeBSD tips for fortune(6)Submitted by: lmePR: 192373
Remove obsolete path from fortune(6). This was inadvertantly left overwhen fortune and other games moved from /usr/games to /usr/bin; I amremoving rather than correcting it since we normally do no
Remove obsolete path from fortune(6). This was inadvertantly left overwhen fortune and other games moved from /usr/games to /usr/bin; I amremoving rather than correcting it since we normally do not mention inthe FILES section the paths to programs in /usr/bin/.PR: 215962Reported by: Andras Farkas
Fix sorting after r308293, using the ../tools/do_sort script.Is this a pointy-hat offense?Reported by: jhb
Fix grammar in a fortune.
Avoid buffer overflow when copying the input file name and appending .dat.Check the return value from fread() to be sure that it was successful.Reported by: CoverityCID: 1006709, 1009452MFC af
Avoid buffer overflow when copying the input file name and appending .dat.Check the return value from fread() to be sure that it was successful.Reported by: CoverityCID: 1006709, 1009452MFC after: 1 week
Use print as a function for Python 3 [PEP 3105]Import print_function from the __future__ moduleto activate this for Python 2. This works as far back as Python 2.6.0a2: https://docs.python.org/
Use print as a function for Python 3 [PEP 3105]Import print_function from the __future__ moduleto activate this for Python 2. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html[PEP 3105] https://www.python.org/dev/peps/pep-3105/
Remove support of ancient (pre-8.0R, 800041) FreeBSD releases.MFC after: 2 weeks
Final step of eliminating the "games" distribution: Merge src/games(or what's left of it, at least) into src/usr.bin.This change will not be MFCed.Discussed at: EuroBSDCon 2014Committed from:
Final step of eliminating the "games" distribution: Merge src/games(or what's left of it, at least) into src/usr.bin.This change will not be MFCed.Discussed at: EuroBSDCon 2014Committed from: EuroBSDCon 2015