aboutsummaryrefslogtreecommitdiff
path: root/sbin/tunefs
Commit message (Collapse)AuthorAgeFilesLines
...
* Raise WARNS for various tools where possible.Ed Schouten2010-01-171-1/+0
| | | | | | | Submitted by: Marius Nünnerich <marius@nuenneri.ch> Notes: svn path=/head/; revision=202532
* Implement NFSv4 ACL support for UFS.Edward Tomasz Napierala2009-12-212-11/+54
| | | | | | | Reviewed by: rwatson Notes: svn path=/head/; revision=200796
* The tunefs utility does not work on active filesystems.Remko Lodder2009-10-211-2/+2
| | | | | | | | | PR: docs/139705 Submitted by: Warren Block <wblock at wonkity dot com> Approved by: imp (mentor, implicit) Notes: svn path=/head/; revision=198316
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-0/+1
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Slightly improve gjournal documentation.Edward Tomasz Napierala2009-04-291-1/+2
| | | | | | | Reviewed by: pjd Notes: svn path=/head/; revision=191656
* o s/filesystem/file system/g.Maxim Konovalov2007-09-231-2/+2
| | | | | | | | | Pointed out by: ru Approved by: re (bmah) MFC after: 3 days Notes: svn path=/head/; revision=172305
* o You have to reboot the system after tuning softupdates on the rootMaxim Konovalov2007-08-121-1/+3
| | | | | | | | | | filesystem on to make SU work. Approved by: re (hrs) MFC after: 1 week Notes: svn path=/head/; revision=171813
* Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournalPawel Jakub Dawidek2006-10-312-7/+45
| | | | | | | | | | | support. I left -j flag for UFS journal implementation which we may gain at some point. Sponsored by: home.pl Notes: svn path=/head/; revision=163842
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140415
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-092-8/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* Fixed some style bugs in the residue of rev.1.14 (mainly initialization inBruce Evans2004-03-261-26/+23
| | | | | | | declarations, uncuddled elses and excessive braces). Notes: svn path=/head/; revision=127455
* Fixed some style bugs in or related to rev.1.13 (mainly misindentation ofBruce Evans2004-03-261-109/+128
| | | | | | | the getopt() case statement). Notes: svn path=/head/; revision=127441
* Remove another reference to ffsinfo.8Christian Brueffer2003-06-171-3/+1
| | | | Notes: svn path=/head/; revision=116507
* Remove references to ffsinfo(8) for now. It was disconnected fromChristian Brueffer2003-06-171-1/+0
| | | | | | | the build almost a year ago. Notes: svn path=/head/; revision=116499
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
| | | | Notes: svn path=/head/; revision=114589
* Sort options.Ruslan Ermilov2003-02-232-22/+22
| | | | Notes: svn path=/head/; revision=111287
* Bring in support for volume labels to the filesystem utilities.Gordon Tetlow2003-02-012-8/+35
| | | | | | | Reviewed by: mckusick Notes: svn path=/head/; revision=110174
* Fix problems with how libufs was used, with regard to mounted/active fs's,Juli Mallett2003-01-281-32/+16
| | | | | | | | in the new world order of libufs, where we also do statfs, and add a missing close. Notes: svn path=/head/; revision=109963
* Added UFS library to the bsd.libnames.mk namespace.Ruslan Ermilov2003-01-231-1/+1
| | | | Notes: svn path=/head/; revision=109725
* Make tunefs use libufs, it seems to do well enough for printing / settingJuli Mallett2003-01-202-108/+15
| | | | | | | things. Notes: svn path=/head/; revision=109597
* Consistentify output whitespace.Juli Mallett2003-01-181-1/+1
| | | | Notes: svn path=/head/; revision=109468
* Create a new 32-bit fs_flags word in the superblock. Add code to moveKirk McKusick2002-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel. Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved. Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=107294
* s/clear/cleared/ for consistency (sigh)Robert Watson2002-10-161-2/+2
| | | | | | | Reported by: dd Notes: svn path=/head/; revision=105206
* Spell 'set' as 'cleared' where appropriate.Robert Watson2002-10-151-2/+2
| | | | Notes: svn path=/head/; revision=105177
* Teach tunefs to print the ACL and multilabel flag information whenRobert Watson2002-10-151-0/+4
| | | | | | | | | | inspecting a superblock. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=105162
* Correct some of the style problems in this file:Robert Watson2002-10-152-10/+10
| | | | | | | | | | | | I introduced a style problem when I sorted 'a' before 'A'; our preferred order sorts 'A' first. Correct. Use .Cm instead of .Ar. Submitted by: bde Notes: svn path=/head/; revision=105156
* Introduce -a [enable|disable] and -l [enable|disable] flags to the tunefsRobert Watson2002-10-142-7/+73
| | | | | | | | | | | command, permitting it to set FS_ACLS and FS_MULTILABEL administrative flags on UFS file systems. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=105120
* Removed vestiges of the -a and -d options.Bruce Evans2002-09-061-5/+3
| | | | | | | Fixed other bugs in the usage message so that it matches the man page. Notes: svn path=/head/; revision=103013
* Remove the -a maxcontig option, the kernel doesn't inspect fs_maxcontigPoul-Henning Kamp2002-09-062-27/+3
| | | | | | | | | anymore. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103005
* Fix some 'SYNOPSIS' and 'usage' messages.Tom Rhodes2002-08-271-1/+1
| | | | Notes: svn path=/head/; revision=102464
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-212-18/+18
| | | | Notes: svn path=/head/; revision=102231
* mdoc(7) police: laundry.Ruslan Ermilov2002-08-131-17/+16
| | | | Notes: svn path=/head/; revision=101802
* The .Nm utility.Philippe Charnier2002-07-061-3/+4
| | | | Notes: svn path=/head/; revision=99503
* Don't say that an umounted filesystem is required for -n. An unmountedBruce Evans2002-06-211-1/+0
| | | | | | | | filesystem is no more or less required for -n than for any other option. The previous commit clarified the actual requirement. Notes: svn path=/head/; revision=98551
* This commit adds basic support for the UFS2 filesystem. The UFS2Kirk McKusick2002-06-212-57/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org> Notes: svn path=/head/; revision=98542
* mdoc(7) police: markup nits.Ruslan Ermilov2002-05-291-1/+1
| | | | Notes: svn path=/head/; revision=97478
* more file system > filesystemTom Rhodes2002-05-161-3/+3
| | | | Notes: svn path=/head/; revision=96707
* Sigh, more BBSIZE related breakage.Poul-Henning Kamp2002-05-121-0/+1
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96478
* 'file system' > filesystemTom Rhodes2002-05-061-12/+18
| | | | | | | | | | add FILES section. PR: 34239 Submitted by: Gary W. Swearingen <swear@blarg.net> Notes: svn path=/head/; revision=96119
* Expand the reserved space section. Explain how the amount of reservedGiorgos Keramidas2002-04-161-4/+12
| | | | | | | | | space can affect performance. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> Notes: svn path=/head/; revision=94818
* o remove __PWarner Losh2002-03-211-6/+6
| | | | | | | o remove main prototype Notes: svn path=/head/; revision=92883
* tunefs no longer outputs a warning if one tries to set soft-updates onDima Dorfman2002-01-071-21/+0
| | | | | | | | | | an unmounted filesystem. PR: 32266 Submitted by: Maxim Konovalov <maxim@macomnet.ru> Notes: svn path=/head/; revision=88990
* Default to WARNS=2.David E. O'Brien2001-12-041-1/+0
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Don't require that the special/filesystem argument translates intoIan Dowse2001-09-301-5/+4
| | | | | | | | | | | | | | a block or character device; the rest of tunefs works just fine on filesystem images in regular files. Instead, if getfsfile() failed and if the specified filesystem is a directory then print a more useful "unknown file system" error. Also, _PATH_DEV already contains a trailing slash, so don't add another one when constructing a device path, and use errx() instead of err() in a case where errno is meangingless. Notes: svn path=/head/; revision=84166
* sprintf -> snprintfKris Kennaway2001-07-241-1/+2
| | | | | | | | Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80277
* Constify, de-register-ify, and set WARNS=2.Dima Dorfman2001-07-152-12/+15
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79750
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Do not allow the soft updates flag to be set if the filesystem is dirty.Kirk McKusick2001-04-131-1/+4
| | | | | | | | | | | | | | Because the kernel will allow the mounting of unclean filesystems when the soft updates flag is set, it is important that only soft updates style inconsistencies (missing blocks and inodes) be present. Otherwise a panic may ensue. It is also important that the filesystem be in a clean state when the soft updates flag is set because the background fsck uses the fact that the flag is set to indicate that it is safe to run. If background fsck encounters non-soft updates style inconsistencies, it will exit with unexpected inconsistencies. Notes: svn path=/head/; revision=75498
* Add information about the new options to newfs and tunefs which set theNik Clayton2001-04-101-0/+6
| | | | | | | | expected average file size and number of files per directory. Could do with some fleshing out. Notes: svn path=/head/; revision=75379