| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>
|
|
|
|
|
|
|
| |
Sanity-check fd_lastfile.
PR: 62699
Patch by: "Mark W. Krentel" <krentel@dreamscape.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Nowadays, f_data points to the vnode only if the underlying filesystem
doesn't use it for other purposes (devfs uses it to store the cdev,
for example).
Found by: csjp
Reviewed by: csjp
Approved by: phk, wes, grehan (mentor)
MFC after: 1 week
|
| |
|
|
|
|
| |
we want to know the vnode structures internals.
|
| |
|
|
|
|
| |
non-_KERNEL inclusions of pipe.h
|
| |
|
| |
|
|
|
|
|
|
|
| |
2) Use %p to print a pointer.
3) Use longs for fileids and ino to avoid comparing signed and unsigned.
4) Make the KVM_READ macro a little more cranky.
5) Set WARNS while I'm here.
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
|
|
|
|
|
|
|
| |
socket buffer state.
Submitted by: rik
Reminded by: le
|
| |
|
|
|
|
| |
PR: 53980 (partially)
|
|
|
|
|
|
|
| |
comment how to read device nodes from ufs (if an adventurous soul wants
to fix it!).
Reviewed by: bde
|
|
|
|
|
| |
PR: bin/53585
Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
|
|
|
|
| |
isn't very useful for passing pointers on LP64 systems.
device names on sparc64 and alpha should now work.
|
|
|
|
|
| |
removal of unnecessary casts and throw in some minor cleanups to see if
anyone complains, just for the hell of it.
|
|
|
|
|
|
|
|
|
|
| |
pointer types, and remove a huge number of casts from code using it.
Change struct xfile xf_data to xun_data (ABI is still compatible).
If we need to add a #define for f_data and xf_data we can, but I don't
think it will be necessary. There are no operational changes in this
commit.
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Agreed on: jake, rwatson, jhb
|
| |
|
|
|
|
| |
src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
| |
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
| |
|
| |
|
|
|
|
|
|
| |
Remove register keyword.
Don't initialise "badtype" in declaration - it was initialised below anyway.
Remove prototype for strcpy.
|
| |
|
| |
|
| |
|
|
|
|
| |
again for normal device nodes.
|
|
|
|
|
|
|
| |
PR: 17405, 16320
Submitted by: Mark W. Krentel <krentel@dreamscape.com>
Submitted by: Peter Edwards <peter.edwards@ireland.com>
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 29231
Submitted by: pherman@frenchfries.net
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
While I'm here, fix two second-level indents to be four spaces.
Reviewed by: dd, -audit
|
| |
|
|
|
|
|
| |
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
|
| |
|
| |
|