History log of /src/sbin/dump/ffs_inode.c |
Revision | | Date | Author | Comments |
1.24 |
| 17-Nov-2022 |
chs | 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).
|
1.23 |
| 01-Mar-2019 |
christos | Use getfsspecname() to fill the filesystem argument in dumpdates. While here, make sure that the error strings terminate with newline consistently, and add a function that adds the system error string.
|
1.22 |
| 23-Jun-2013 |
dholland | branches: 1.22.20; 1.22.28; fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
1.21 |
| 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
1.20 |
| 22-Jan-2013 |
dholland | Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
1.19 |
| 13-Jan-2013 |
dholland | Use static; remove unused global var this uncovered.
|
1.18 |
| 20-Jul-2008 |
lukem | branches: 1.18.18; 1.18.24; Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
1.17 |
| 18-Dec-2006 |
christos | branches: 1.17.12; 1.17.16; Convert a couple of "(void)&" constructs to volatile. Flag various unused parameters in restore and dump so that these will compile with -Wextra. (Note: restore uses some stuff from dump.)
|
1.16 |
| 27-Mar-2004 |
dsl | Don't require ffsv2 fs have FS_FLAGS_UPDATED set
|
1.15 |
| 24-Mar-2004 |
ws | After determining whether the filesystem is byte swapped, we better return that fact to the caller.
|
1.14 |
| 21-Mar-2004 |
dsl | When searching for the superblock, don't pick an ffsv1 superblock from the location where we expect to find an ffsv2 superblock. It could be the first alternate for a ffsv1 filesystem with 64k blocks. Fixes part of PR kern/24809
|
1.13 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
1.12 |
| 02-Apr-2003 |
fvdl | 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.
|
1.11 |
| 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
1.10 |
| 23-Dec-2001 |
lukem | unifdef sunos
|
1.9 |
| 22-Dec-2001 |
lukem | - use correct type for minTime in findlru() (size_t instead of int) - clean up whitespace
|
1.8 |
| 01-Nov-2001 |
lukem | fix -Wshadow warnings
|
1.7 |
| 17-Aug-2001 |
lukem | 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.
|
1.6 |
| 14-Aug-2001 |
lukem | s/filesystem/file system/dump.h
|
1.5 |
| 28-May-2001 |
lukem | unifdef !__STDC__ (missed in previous)
|
1.4 |
| 27-May-2001 |
lukem | knf to ansi
|
1.3 |
| 01-Oct-1999 |
perseant | branches: 1.3.4; 1.3.8; Working version of aborted dump{,_lfs} join.
|
1.2 |
| 30-Sep-1999 |
perseant | Back out changes made on the 29th, not at all the changes I intended to commit. (I don't know how I did it though ... I'll figure it out tonight.) I'll reapply this, in a working form, this evening.
|
1.1 |
| 29-Sep-1999 |
perseant | Adapt dump(8) to use filestore-independent (but still ufs-specific) replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few LFS-filestore-specific routines. As described in PR#8317.
|
1.3.8.3 |
| 17-Jan-2002 |
he | Pull up revision 1.7 (requested by he): Fix compile problem after last round of pullups. The already-pulled-up 1.7 was inadvertently undone by the previous patch.
|
1.3.8.2 |
| 16-Jan-2002 |
he | Pull up revisions 1.9-1.10 (via patch, requested by bouyer): Various fixes: o Fix error if first tape is write-protected; fixes PR#4754 and PR#6098 o Make error codes conform to manual page o Use \a to make noise o Fix estimated number of tapes for huge dumps to cartridges o Use <sys/queue.h> SLIST_* macros instead of homegrown variants o Do not exit if unable to read/create /etc/dumpdates o Support output (tape) device returning ENOSPC for end-of-media on write o Don't dump core if SIGINFO is received before 1 second has elapsed o Only process SIGINFO in currently active child o Ensure current (sub)block isn't past end of file system -- fixes "spins forever but does nothing" bug. o Some other minor fixes (types, whitespace, KNF, unifdef sunos, ...)
|
1.3.8.1 |
| 25-Nov-2001 |
he | Pull up revision 1.7 (requested by lukem): Call ffs_sb_swap() with the correct arguments. Fixes problems with using other-endian file systems.
|
1.3.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.17.16.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.17.12.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.18.24.3 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.18.24.2 |
| 23-Jun-2013 |
tls | resync from head
|
1.18.24.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.18.18.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.18.18.1 |
| 23-Jan-2013 |
yamt | sync with head
|
1.22.28.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.22.20.1 |
| 29-Mar-2019 |
martin | Pull up following revision(s) (requested by manu in ticket #1221):
sbin/dump/tape.c: revision 1.55 sbin/dump_lfs/dump_lfs.8: revision 1.18 sbin/dump/dump.h: revision 1.56 sbin/dump/dump.8: revision 1.69 sbin/dump/dump.h: revision 1.57 sbin/dump/ffs_inode.c: revision 1.23 sbin/dump/optr.c: revision 1.43 sbin/dump/itime.c: revision 1.21 sbin/dump/main.c: revision 1.74 sbin/dump/itime.c: revision 1.22 sbin/dump/main.c: revision 1.75 sbin/dump/dump.8: revision 1.70 sbin/dump/traverse.c: revision 1.52 sbin/dump/dump.8: revision 1.71
Document what rdump is (was once) for. PR 53442.
Use getfsspecname() to fill the filesystem argument in dumpdates. While here, make sure that the error strings terminate with newline consistently, and add a function that adds the system error string.
Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry This address situations where dump(8) cannot figure out the device being dumped. It also allows tracking of subvolume dumps by using virtual device as dumpdates entry.
Bump date for previous.
|