History log of /netbsd-src/sbin/clri/clri.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 45db36d8 26-Feb-2023 andvar <andvar@NetBSD.org>

s/superblok/superblock/ in comment.


# 87ba0e2a 17-Nov-2022 chs <chs@NetBSD.org>

Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support

Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).

show more ...


# 77d8bce2 30-Aug-2015 mlelstv <mlelstv@NetBSD.org>

Calculate sector size from superblock and use that instead of DEV_BSIZE.


# 2737439d 23-Jun-2013 dholland <dholland@NetBSD.org>

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)


# e05b6497 26-Jul-2009 dholland <dholland@NetBSD.org>

Remove gross hack and attendant need for -fno-strict-aliasing.


# 07f76885 16-Mar-2009 lukem <lukem@NetBSD.org>

fix sign-compare issues


# 6543a91f 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)


# 10928b72 20-Jan-2005 xtraeme <xtraeme@NetBSD.org>

Kill __P(), ANSIfy, remove main() prototype; WARNS=3


# 2f7a90ef 27-Mar-2004 dsl <dsl@NetBSD.org>

Don'r check FS_FLAGS_UPDATED for ffsv2


# d332d2a9 21-Mar-2004 dsl <dsl@NetBSD.org>

When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809


# bf07c871 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.


# 42614ed3 02-Apr-2003 fvdl <fvdl@NetBSD.org>

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate t

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

show more ...


# 1b81d635 17-Aug-2001 lukem <lukem@NetBSD.org>

remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusti

remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right. invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B" to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.

show more ...


# 029a64cc 25-Aug-1998 ross <ross@NetBSD.org>

from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }


# 08371645 18-Mar-1998 bouyer <bouyer@NetBSD.org>

Add support for non-native endian FFS.
Clear the clean flag in the SB when an inode has been cleared.


# c697e3e2 16-Sep-1997 lukem <lukem@NetBSD.org>

resolve sccsid conflict


# e40e4b2a 14-Sep-1997 lukem <lukem@NetBSD.org>

- fix use of .Nm
- deprecate use of register
- cleanup for WARNS=1


# 0114e805 18-Mar-1995 cgd <cgd@NetBSD.org>

convert to new RCS Id conventions; reduce my headache


# 6e6fa279 30-Jan-1995 mycroft <mycroft@NetBSD.org>

Make this more type safe.


# 8ffd59e2 23-Sep-1994 mycroft <mycroft@NetBSD.org>

err(3)/warn(3) cleanup


# 175ecf65 08-Jun-1994 mycroft <mycroft@NetBSD.org>

Update from 4.4-Lite.


# 4417e586 25-Apr-1994 cgd <cgd@NetBSD.org>

need <sys/time.h>


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 06be6008 23-Mar-1993 cgd <cgd@NetBSD.org>

changed "Id" to "Header" for rcsids


# 346aa5dd 22-Mar-1993 cgd <cgd@NetBSD.org>

added rcs ids to all files


12