#
1.27 |
|
22-Feb-2024 |
tsutsui |
Pull a change of newfs/mkfs.c rev 1.136:
> if the window size works but is 0, assume it didn't work and use 80.
|
#
1.26 |
|
17-May-2023 |
tsutsui |
Use https for Ext2 documentation URLs.
|
Revision tags: netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
|
#
1.25 |
|
05-Sep-2016 |
martin |
Add a bit of swapping for values in CG descriptors (used to be done wholesale in e2fs_cgsave, but now common code keeps them in FS byte order). Seems to fix newfs_ext2fs on big endian hosts.
|
Revision tags: pgoyette-localcount-20160806
|
#
1.24 |
|
04-Aug-2016 |
jdolecek |
rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
#
1.23 |
|
04-Aug-2016 |
nonaka |
pass EXT2_DINODE_SIZE(&sblock) as isize to e2fs_isave().
|
Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.22 |
|
16-Jun-2015 |
christos |
branches: 1.22.2; fix error messages containing \n
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.21 |
|
19-Oct-2013 |
tsutsui |
Wrap long lines overflowed after EXT2_ prefix addtion to fs macro.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.20 |
|
23-Jun-2013 |
dholland |
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.19 |
|
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.
|
Revision tags: agc-symver-base
|
#
1.18 |
|
07-Feb-2013 |
apb |
free(bbp) in error paths. Coverity CID 274748.
|
Revision tags: yamt-pagecache-base8
|
#
1.17 |
|
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.
|
Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.16 |
|
24-Mar-2012 |
joerg |
branches: 1.16.2; Avoid non-literal format string. Raise WARNS to 4 and disable sign warnings instead.
|
#
1.15 |
|
06-Mar-2012 |
tsutsui |
Stop zero'ing all possible superblock backup leftovers conservatively. Instead, explicitly zap only possible first backups and FFS superblocks.
Fixes "Extreamly slow newfs_ext2fs on 60Gb USB stick" problem reported by Aleksey Cheusov on tech-kern@.
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.14 |
|
10-Sep-2010 |
tsutsui |
branches: 1.14.6; 1.14.8; Add a URL of Linux Documentation "The Second Extended Filesystem."
|
Revision tags: matt-premerge-20091211
|
#
1.13 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.12 |
|
02-Mar-2009 |
tsutsui |
Use inodesize to get offset of inode in one more place.
|
#
1.11 |
|
02-Mar-2009 |
tsutsui |
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array
|
#
1.10 |
|
01-Mar-2009 |
christos |
Support variable inode sizes.
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.9 |
|
28-Aug-2008 |
tsutsui |
branches: 1.9.2; 1.9.4; Fix some spelling.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
|
#
1.8 |
|
14-May-2008 |
tsutsui |
Normalize my licenses.
|
Revision tags: yamt-pf42-baseX yamt-pf42-base hpcarm-cleanup-base keiichi-mipv6-base matt-armv6-base matt-armv6-nbase mjf-devfs-base
|
#
1.7 |
|
14-Dec-2007 |
tsutsui |
branches: 1.7.2; 1.7.6; 1.7.8; 1.7.10; Don't allow blocksize larger than 4096 bytes as our kernel, fsck_ext2fs(8), and Linux e2fsprogs.
|
Revision tags: cube-autoconf-base
|
#
1.6 |
|
09-Dec-2007 |
tsutsui |
Fix typo.
|
#
1.5 |
|
21-Nov-2007 |
tsutsui |
branches: 1.5.2; Roundup e2fs_ipg to make it use whole inode table blocks since it's still reasonable and some kernel code seems to assume it (otherwise some inode numbers of directories could be corrupted).
XXX: not sure if odd e2fs_ipg is valid or not in ext2fs spec.
|
#
1.4 |
|
20-Nov-2007 |
tsutsui |
Fix e2fs_itpg calculation.
|
#
1.3 |
|
19-Nov-2007 |
tsutsui |
- fix a possible integer overflow - initialize inode generation numbers with random numbers for NFS like newfs(8) as man page said XXX: sys/ufs/ext2fs/ext2fs_alloc.c:ext2fs_valloc() seems to override these generated numbers.
|
#
1.2 |
|
18-Nov-2007 |
tsutsui |
Several minor fixes: - replace a magic number with a macro - fix several printf format - fix possble block sizes for zap_old_sblock() - use err(3) rather than errx(3) + strerror(errno) - fix a typo - misc cosmetics
|
#
1.1 |
|
17-Nov-2007 |
tsutsui |
Add a dumb but BSD-licensed newfs_ext2fs(8) command. This is based on the newfs(8) command for ffs, but most ext2fs specific part is written from scratch.
Tested on alpha, cobalt, i386 and sgimips with some disks and vnd(4), and at least cobalt's firmware can load boot files from an ext2fs E2FS_REV0 partition created by this native newfs_ext2fs(8) command.
Closes PR bin/16175.
|
#
1.26 |
|
17-May-2023 |
tsutsui |
Use https for Ext2 documentation URLs.
|
Revision tags: netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
|
#
1.25 |
|
05-Sep-2016 |
martin |
Add a bit of swapping for values in CG descriptors (used to be done wholesale in e2fs_cgsave, but now common code keeps them in FS byte order). Seems to fix newfs_ext2fs on big endian hosts.
|
Revision tags: pgoyette-localcount-20160806
|
#
1.24 |
|
04-Aug-2016 |
jdolecek |
rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
#
1.23 |
|
04-Aug-2016 |
nonaka |
pass EXT2_DINODE_SIZE(&sblock) as isize to e2fs_isave().
|
Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.22 |
|
16-Jun-2015 |
christos |
branches: 1.22.2; fix error messages containing \n
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.21 |
|
19-Oct-2013 |
tsutsui |
Wrap long lines overflowed after EXT2_ prefix addtion to fs macro.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.20 |
|
23-Jun-2013 |
dholland |
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.19 |
|
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.
|
Revision tags: agc-symver-base
|
#
1.18 |
|
07-Feb-2013 |
apb |
free(bbp) in error paths. Coverity CID 274748.
|
Revision tags: yamt-pagecache-base8
|
#
1.17 |
|
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.
|
Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.16 |
|
24-Mar-2012 |
joerg |
branches: 1.16.2; Avoid non-literal format string. Raise WARNS to 4 and disable sign warnings instead.
|
#
1.15 |
|
06-Mar-2012 |
tsutsui |
Stop zero'ing all possible superblock backup leftovers conservatively. Instead, explicitly zap only possible first backups and FFS superblocks.
Fixes "Extreamly slow newfs_ext2fs on 60Gb USB stick" problem reported by Aleksey Cheusov on tech-kern@.
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.14 |
|
10-Sep-2010 |
tsutsui |
branches: 1.14.6; 1.14.8; Add a URL of Linux Documentation "The Second Extended Filesystem."
|
Revision tags: matt-premerge-20091211
|
#
1.13 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.12 |
|
02-Mar-2009 |
tsutsui |
Use inodesize to get offset of inode in one more place.
|
#
1.11 |
|
02-Mar-2009 |
tsutsui |
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array
|
#
1.10 |
|
01-Mar-2009 |
christos |
Support variable inode sizes.
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.9 |
|
28-Aug-2008 |
tsutsui |
branches: 1.9.2; 1.9.4; Fix some spelling.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
|
#
1.8 |
|
14-May-2008 |
tsutsui |
Normalize my licenses.
|
Revision tags: yamt-pf42-baseX yamt-pf42-base hpcarm-cleanup-base keiichi-mipv6-base matt-armv6-base matt-armv6-nbase mjf-devfs-base
|
#
1.7 |
|
14-Dec-2007 |
tsutsui |
branches: 1.7.2; 1.7.6; 1.7.8; 1.7.10; Don't allow blocksize larger than 4096 bytes as our kernel, fsck_ext2fs(8), and Linux e2fsprogs.
|
Revision tags: cube-autoconf-base
|
#
1.6 |
|
09-Dec-2007 |
tsutsui |
Fix typo.
|
#
1.5 |
|
21-Nov-2007 |
tsutsui |
branches: 1.5.2; Roundup e2fs_ipg to make it use whole inode table blocks since it's still reasonable and some kernel code seems to assume it (otherwise some inode numbers of directories could be corrupted).
XXX: not sure if odd e2fs_ipg is valid or not in ext2fs spec.
|
#
1.4 |
|
20-Nov-2007 |
tsutsui |
Fix e2fs_itpg calculation.
|
#
1.3 |
|
19-Nov-2007 |
tsutsui |
- fix a possible integer overflow - initialize inode generation numbers with random numbers for NFS like newfs(8) as man page said XXX: sys/ufs/ext2fs/ext2fs_alloc.c:ext2fs_valloc() seems to override these generated numbers.
|
#
1.2 |
|
18-Nov-2007 |
tsutsui |
Several minor fixes: - replace a magic number with a macro - fix several printf format - fix possble block sizes for zap_old_sblock() - use err(3) rather than errx(3) + strerror(errno) - fix a typo - misc cosmetics
|
#
1.1 |
|
17-Nov-2007 |
tsutsui |
Add a dumb but BSD-licensed newfs_ext2fs(8) command. This is based on the newfs(8) command for ffs, but most ext2fs specific part is written from scratch.
Tested on alpha, cobalt, i386 and sgimips with some disks and vnd(4), and at least cobalt's firmware can load boot files from an ext2fs E2FS_REV0 partition created by this native newfs_ext2fs(8) command.
Closes PR bin/16175.
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914
|
#
1.25 |
|
05-Sep-2016 |
martin |
Add a bit of swapping for values in CG descriptors (used to be done wholesale in e2fs_cgsave, but now common code keeps them in FS byte order). Seems to fix newfs_ext2fs on big endian hosts.
|
Revision tags: pgoyette-localcount-20160806
|
#
1.24 |
|
04-Aug-2016 |
jdolecek |
rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
#
1.23 |
|
04-Aug-2016 |
nonaka |
pass EXT2_DINODE_SIZE(&sblock) as isize to e2fs_isave().
|
Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.22 |
|
16-Jun-2015 |
christos |
branches: 1.22.2; fix error messages containing \n
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.21 |
|
19-Oct-2013 |
tsutsui |
Wrap long lines overflowed after EXT2_ prefix addtion to fs macro.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.20 |
|
23-Jun-2013 |
dholland |
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.19 |
|
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.
|
Revision tags: agc-symver-base
|
#
1.18 |
|
07-Feb-2013 |
apb |
free(bbp) in error paths. Coverity CID 274748.
|
Revision tags: yamt-pagecache-base8
|
#
1.17 |
|
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.
|
Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.16 |
|
24-Mar-2012 |
joerg |
branches: 1.16.2; Avoid non-literal format string. Raise WARNS to 4 and disable sign warnings instead.
|
#
1.15 |
|
06-Mar-2012 |
tsutsui |
Stop zero'ing all possible superblock backup leftovers conservatively. Instead, explicitly zap only possible first backups and FFS superblocks.
Fixes "Extreamly slow newfs_ext2fs on 60Gb USB stick" problem reported by Aleksey Cheusov on tech-kern@.
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.14 |
|
10-Sep-2010 |
tsutsui |
branches: 1.14.6; 1.14.8; Add a URL of Linux Documentation "The Second Extended Filesystem."
|
Revision tags: matt-premerge-20091211
|
#
1.13 |
|
19-Oct-2009 |
bouyer |
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.12 |
|
02-Mar-2009 |
tsutsui |
Use inodesize to get offset of inode in one more place.
|
#
1.11 |
|
02-Mar-2009 |
tsutsui |
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array
|
#
1.10 |
|
01-Mar-2009 |
christos |
Support variable inode sizes.
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 mjf-devfs2-base
|
#
1.9 |
|
28-Aug-2008 |
tsutsui |
branches: 1.9.2; 1.9.4; Fix some spelling.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
|
#
1.8 |
|
14-May-2008 |
tsutsui |
Normalize my licenses.
|
Revision tags: yamt-pf42-baseX yamt-pf42-base hpcarm-cleanup-base keiichi-mipv6-base matt-armv6-base matt-armv6-nbase mjf-devfs-base
|
#
1.7 |
|
14-Dec-2007 |
tsutsui |
branches: 1.7.2; 1.7.6; 1.7.8; 1.7.10; Don't allow blocksize larger than 4096 bytes as our kernel, fsck_ext2fs(8), and Linux e2fsprogs.
|
Revision tags: cube-autoconf-base
|
#
1.6 |
|
09-Dec-2007 |
tsutsui |
Fix typo.
|
#
1.5 |
|
21-Nov-2007 |
tsutsui |
branches: 1.5.2; Roundup e2fs_ipg to make it use whole inode table blocks since it's still reasonable and some kernel code seems to assume it (otherwise some inode numbers of directories could be corrupted).
XXX: not sure if odd e2fs_ipg is valid or not in ext2fs spec.
|
#
1.4 |
|
20-Nov-2007 |
tsutsui |
Fix e2fs_itpg calculation.
|
#
1.3 |
|
19-Nov-2007 |
tsutsui |
- fix a possible integer overflow - initialize inode generation numbers with random numbers for NFS like newfs(8) as man page said XXX: sys/ufs/ext2fs/ext2fs_alloc.c:ext2fs_valloc() seems to override these generated numbers.
|
#
1.2 |
|
18-Nov-2007 |
tsutsui |
Several minor fixes: - replace a magic number with a macro - fix several printf format - fix possble block sizes for zap_old_sblock() - use err(3) rather than errx(3) + strerror(errno) - fix a typo - misc cosmetics
|
#
1.1 |
|
17-Nov-2007 |
tsutsui |
Add a dumb but BSD-licensed newfs_ext2fs(8) command. This is based on the newfs(8) command for ffs, but most ext2fs specific part is written from scratch.
Tested on alpha, cobalt, i386 and sgimips with some disks and vnd(4), and at least cobalt's firmware can load boot files from an ext2fs E2FS_REV0 partition created by this native newfs_ext2fs(8) command.
Closes PR bin/16175.
|