| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.
Sponsored by: Netflix
|
|
|
|
| |
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
|
|
|
|
|
|
|
| |
Delete note that UFS/FFS filesystems running with journaled soft updates
cannot run background fsck as 344b5bf made it possible to do so.
MFC-with: 344b5bf
Sponsored-by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
| |
All the needed infrastructure updates have been made to allow
snapshots to be taken on UFS/FFS filesystems that are using journaled
soft updates. The most immediate benefit is the ability to use a
snapshot to take a consistent filesystem dump on a live filesystem
using the -L option to dump(8).
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36491
|
|
|
|
|
|
|
|
|
|
| |
Add a descrition to the newfs(8) -j (journal enablement) flag
that explains what soft updates journaling does, the tradeoffs
to using it, and the limitations that it imposes. Copied from
the description in tunefs(8).
PR: 261944
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It might be unclear why newfs and newfs_msdos should cross-reference
each other. Add a note explaining it.
This is a follow-up to 74bd20769706041108a573601cf0b61c755bdc56.
Reported by: kib
Reviewed by: imp, kib, rpokala
MFC after: 3 days
|
|
|
|
|
|
| |
PR: 252484
Reported by: Graham Perrin <grahamperrin@gmail.com>
MFC after: 3 days
|
|
|
|
|
|
| |
- unusual Xr order: gjournal after gpart
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
Make a note in the newfs.8 manual page to update the first backup
superblock location when changing the default fragment size for
the filesystem.
Reported by: O. Hartmann
Notes:
svn path=/head/; revision=350682
|
|
|
|
|
|
|
|
|
| |
Reviewed by: mckusick, imp, 0mp
MFC after: 2 weeks
Differential Revision: D18991
Notes:
svn path=/head/; revision=343548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make it consistent with newfs. Document the legality of '_'
in label names in both tunefs(8) and newfs(8).
PR: 235182
Submitted by: darius@dons.net.au
Reviewed by: Conrad Meyer
MFC after: 3 days
Sponsored by: Netflix
Notes:
svn path=/head/; revision=343449
|
|
|
|
| |
Notes:
svn path=/head/; revision=320788
|
|
|
|
|
|
|
|
|
|
| |
so don't imply that. Note that if BIO_DELETE isn't supported, the
operation will fail (as opposed to writing the entire disk with
zeros). Thin storage also benefits from trim. List more accurate
reason why trim helps flash-memory.
Notes:
svn path=/head/; revision=320787
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.
Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.
Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315
Notes:
svn path=/head/; revision=287396
|
|
|
|
|
|
|
|
|
|
|
| |
to 2 from 4, but the man page didn't get updated...
other minor changes to make igor happy...
MFC after: 3 days
Notes:
svn path=/head/; revision=285615
|
|
|
|
| |
Notes:
svn path=/head/; revision=276293
|
|
|
|
|
|
|
|
|
| |
Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only
Notes:
svn path=/head/; revision=255977
|
|
|
|
| |
Notes:
svn path=/head/; revision=249373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
running time for a full fsck. It also reduces the random access time
for large files and speeds the traversal time for directory tree walks.
The key idea is to reserve a small area in each cylinder group
immediately following the inode blocks for the use of metadata,
specifically indirect blocks and directory contents. The new policy
is to preferentially place metadata in the metadata area and
everything else in the blocks that follow the metadata area.
The size of this area can be set when creating a filesystem using
newfs(8) or changed in an existing filesystem using tunefs(8).
Both utilities use the `-k held-for-metadata-blocks' option to
specify the amount of space to be held for metadata blocks in each
cylinder group. By default, newfs(8) sets this area to half of
minfree (typically 4% of the data area).
This work was inspired by a paper presented at Usenix's FAST '13:
www.usenix.org/conference/fast13/ffsck-fast-file-system-checker
Details of this implementation appears in the April 2013 of ;login:
www.usenix.org/publications/login/april-2013-volume-38-number-2.
A copy of the April 2013 ;login: paper can also be downloaded
from: www.mckusick.com/publications/faster_fsck.pdf.
Reviewed by: kib
Tested by: Peter Holm
MFC after: 4 weeks
Notes:
svn path=/head/; revision=248623
|
|
|
|
| |
Notes:
svn path=/head/; revision=223430
|
|
|
|
|
|
|
| |
Reminded by: Ivan Voras
Notes:
svn path=/head/; revision=222423
|
|
|
|
|
|
|
|
| |
PR: 154708
Submitted by: jhs
Notes:
svn path=/head/; revision=218951
|
|
|
|
|
|
|
|
|
| |
a new file system.
Reviewed by: Kostik Belousov <kostikbel@gmail.com>
Notes:
svn path=/head/; revision=218726
|
|
|
|
|
|
|
|
|
| |
Reviewed by: mckusick, pjd, pho
Tested by: pho
MFC after: 1 month
Notes:
svn path=/head/; revision=216798
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 61716
Submitted by: Radim Kolar <hsn at netmag cz>
Patch by: arundel
Approved by: keramida (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=212610
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 150490
Submitted by: Eitan Adler <foreignuser at eitanadler com>
Additional fixes by: Warren Block <wblock at wonkity com>, keramida
Approved by: keramida (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=212498
|
|
|
|
|
|
|
| |
Submitted by: Alexander Best
Notes:
svn path=/head/; revision=204936
|
|
|
|
|
|
|
| |
Reviewed by: pjd
Notes:
svn path=/head/; revision=191656
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
want to prepare disk images for emulators (though 'makefs' in port
can do something similar).
This relies on:
+ minor changes to pass the consistency checks even when working on a file;
+ an additional option, '-p partition' , to specify the disk partition to
initialize;
+ some changes on the I/O routines to deal with partition offsets.
The latter was a bit tricky to implement, see the details in newfs.h:
in newfs, I/O is done through libufs which assumes that the file
descriptor refers to the whole partition. Introducing support for
the offset in libufs would require a non-backward compatible change
in the library, to be dealt with a version bump or with symbol
versioning.
I felt both approaches to be overkill for this specific application,
especially because there might be other changes to libufs that might
become necessary in the near future.
So I used the following trick:
- read access is always done by calling bread() directly, so we just add
the offset in the (few) places that call bread();
- write access is done through bwrite() and sbwrite(), which in turn
calls bwrite(). To avoid rewriting sbwrite(), we supply our own version
of bwrite() here, which takes precedence over the version in libufs.
MFC after: 4 weeks
Notes:
svn path=/head/; revision=185588
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
replace this with vinum.4, but that's the kernel interface manual, which
is not appropriate in my understanding. I think that gvinum is a suitable
replacement for this.
PR: docs/121938
Submitted by: "Federico" <federicogalvezdurand at yahoo dot com>
MFC after: 3 days
Notes:
svn path=/head/; revision=177482
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement -E option which will erase the filesystem sectors before
making the new filesystem. Reserved space in front of the superblock
(bootcode) is not erased.
NB: Erasing can take as long time as writing every sector sequentially.
This is relevant for all flash based disks which use wearlevelling.
Notes:
svn path=/head/; revision=174675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new option to newfs(8), -r, to specify reserved space at the
end of the device. It can be useful, e.g., when the device is to
become a member of a gmirror array later w/o losing the file system
on it.
Document the new option in the manpage.
While I'm here, improve error handling for -s option, which is
syntactically similar to -r; and document the fact that -s0 selects
the default fs size explicitly, which can be useful, e.g., in a
menu-based wrapper around newfs(8) requiring some value be entered
for the fs size.
Also fix a small typo in the help line for -s (missing space).
Idea and initial implementation by: marck
Discussed on: -fs
Critical review by: bde
Tested with: cmp(1)
Notes:
svn path=/head/; revision=174011
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- Bump document date.
- Spell "file system" properly.
- Add missing markup bits.
Notes:
svn path=/head/; revision=140610
|
|
|
|
|
|
|
|
|
|
|
| |
the new filesystem. This is intended for memory and vnode filesystems
that will never be fsck'ed or dumped.
Obtained from: St. Bernard Software RAPID
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140603
|
|
|
|
| |
Notes:
svn path=/head/; revision=129327
|
|
|
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
Notes:
svn path=/head/; revision=128073
|
|
|
|
|
|
|
|
|
|
|
| |
permits users of newfs to set the multilabel flag on UFS1 and UFS2
file systems from inception without using tunefs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
Notes:
svn path=/head/; revision=126254
|
|
|
|
| |
Notes:
svn path=/head/; revision=120998
|
|
|
|
| |
Notes:
svn path=/head/; revision=120065
|
|
|
|
| |
Notes:
svn path=/head/; revision=119893
|
|
|
|
|
|
|
|
| |
PR: 51193
Submitted by: Yonatan@xpert.com
Notes:
svn path=/head/; revision=113760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD 5.1-RELEASE and later:
- newfs(8) will now create UFS2 file systems unless UFS1 is specifically
requested (-O1). To do this, I just twiddled the Oflag default.
- sysinstall(8) will now select UFS2 as the default layout for new
file systems unless specifically requested (use '1' and '2' to change
the file system layout in the disk labeler). To do this, I inverted
the ufs2 flag into a ufs1 flag, since ufs2 is now the default and
ufs1 is the edge case. There's a slight semantic change in the
key behavior: '2' no longer toggles, it changes the selection to UFS2.
This is very similar to a patch David O'Brien sent me at one point, and
that I couldn't find.
Approved by: re (telecon)
Reviewed by: mckusick, phk, bmah
Notes:
svn path=/head/; revision=113751
|
|
|
|
| |
Notes:
svn path=/head/; revision=111285
|
|
|
|
| |
Notes:
svn path=/head/; revision=111113
|
|
|
|
|
|
|
| |
Reviewed by: mckusick
Notes:
svn path=/head/; revision=110174
|
|
|
|
| |
Notes:
svn path=/head/; revision=102464
|
|
|
|
| |
Notes:
svn path=/head/; revision=102231
|