summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
Commit message (Collapse)AuthorAgeFilesLines
* Update after function renames.pjd2006-10-312-4/+3
| | | | Sponsored by: home.pl
* Markup fixes.ru2006-09-181-1/+1
|
* Add a note that the btime command only works on UFS2.ceri2006-08-241-1/+4
| | | | Suggested by: maxim (who had also done the btime patch independently).
* Allow fsdb to manipulate the birthtime entries on UFS2.ceri2006-08-233-3/+29
| | | | | Approved by: jhb MFC after: 1 month
* o Implement findblk command: find the inode(s) owning the specifiedmaxim2006-06-022-1/+272
| | | | | | | disk block(s) number(s). Obtained from: NetBSD MFC after: 2 months
* o Do recrack(arguments) for commands which actually take NAME asmaxim2006-04-213-10/+12
| | | | | | | | | | | arguments so we do not coredump at "help foo", "back bar" and such. o Be consistent and print argc - 1 as a command arguments number in all cases. PR: bin/37096 Submitted by: Joshua Goodall MFC after: 1 month
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | size. PR: 86355
* The libedit update made a const cast necessary.stefanf2005-08-071-1/+1
|
* Reword a sentence to conform with our mdoc(7) style.trhodes2005-02-121-3/+4
| | | | | | | Modify wording in a sentence to avoid a run on within (). Remove a contraction. Submitted by: Joel Dahl <joel@automatvapen.se> (original version)
* Sort sections.ru2005-01-181-9/+9
|
* Make fsck WARNS=2 clean.le2004-10-092-17/+17
|
* Downgrade WARNS level until GCC 3.4.2 warning are fixed.kan2004-07-281-0/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-9/+18
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Make this WARNS=2 clean byjohan2003-11-133-8/+10
| | | | | | | | | | - #include <timeconv.h> for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866) PR: 39866 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
* Backout Rev. 1.24brueffer2003-08-301-1/+1
| | | | English lessons provided by: jhb
* Grammar fixbrueffer2003-08-291-1/+1
|
* I forgot fsdb was still sharing files with fsck.phk2002-09-161-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-11/+11
|
* Warning cleanup.phk2002-07-302-3/+3
| | | | Format changes by peter
* The .Nm utilitycharnier2002-07-061-4/+6
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-213-68/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* more file system > filesystemtrhodes2002-05-162-9/+9
|
* Match prototypes to functions over in fsck_ffs.phk2002-05-141-3/+3
|
* o __P removal.imp2002-03-213-71/+41
| | | | | | o ansi function definitions. o main prototype removal o unifdef __STDC__
* Remove 'register' keyword.obrien2002-03-201-4/+4
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* This sounds better.ru2002-03-151-1/+1
|
* Something i always wanted to see: add a function to print the list ofjoerg2002-01-264-19/+164
| | | | | | | | blocks allocated by some inode. Indirect blocks are printed recursively, so beware :), the list could become lengthy... (We should probably add some output pager to fsdb.) MFC after: 1 month
* Avoid pointless initialization of global variables to 0. This onlyjoerg2002-01-261-2/+2
| | | | | | | | bloats the resulting binary file by forcing them out of .bss into .data, while the C standard already guarantees them to become initialized to 0 at program startup. MFC after: 1 week
* Don't exit with -1 if the user typed "quit".joerg2002-01-261-1/+2
| | | | MFC after: 1 week
* Remove a not-very-useful printf(3).green2002-01-251-1/+0
|
* Allow fsdb the ability to work with entries named with whitespace embedded.green2002-01-253-3/+33
| | | | | | | | | | | This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line. Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry.
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Check that the mode argument to fsdb's `chmod' command contains noiedowse2001-11-111-1/+1
| | | | | | | inode type bits set. Previously it would let you set IFMT bits (but not clear them). The `chtype' command should be be used instead for changing the inode type; having chmod half-work only causes confusion.
* *** empty log message ***obrien2001-10-011-3/+4
|
* Remove whitespace at EOL.dd2001-07-151-8/+8
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* In fsdb, call sblock_init() which is now necessary to initialiseiedowse2001-04-231-0/+1
| | | | | the global variable dev_bsize. Add a prototype for sblock_init() to fsck.h, and set the return type correctly.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Respect style(9), one must not include both <sys/types.h> androberto2001-03-221-1/+0
| | | | | | <sys/param.h> (the latter includes the former). Submitted by: bde
* Include headers to unbreak world.alfred2001-03-211-0/+2
| | | | Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-4/+3
|
* Reviewed by: rwatson, bpadrian2000-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
* Remove unused includes.asmodai2000-05-012-2/+0
|
* Fix various man pages to stop abusing the .Bx macro to generatempp2000-01-231-2/+2
| | | | | the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro instead.
* 'clri' takes an argument.billf1999-12-201-2/+3
| | | | Reviewed by: phk
OpenPOWER on IntegriCloud