Make newlfs work by adding the MAXSYMLINKLEN and a byte padding to
struct lfs. sovs@diku.dk: The pad2 field in struct lfs is a kludge. You need it because the raw devices has to be written in DEV_BSIZE. The lfs_maxsymlinklen is needed because the tells the UFS code that we want to use 4.4BSD directory layout insted of FreeBSD 1.1.5. Reviewed by: Justin Gibbs Submitted by: sovs@diku.dk
This commit is contained in:
parent
471e5fa096
commit
7a695db9fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4536
@ -106,6 +106,7 @@ static struct lfs lfs_default = {
|
||||
/* lfs_offset */ 0,
|
||||
/* lfs_lastpseg */ 0,
|
||||
/* lfs_tstamp */ 0,
|
||||
/* lfs_maxsymlinklen */ MAXSYMLINKLEN,
|
||||
/* lfs_minfree */ MINFREE,
|
||||
/* lfs_maxfilesize */ 0,
|
||||
/* lfs_dbpseg */ DFL_LFSSEG/DEV_BSIZE,
|
||||
@ -143,6 +144,7 @@ static struct lfs lfs_default = {
|
||||
/* lfs_flags */ 0,
|
||||
/* lfs_fsmnt */ { 0 },
|
||||
/* lfs_pad */ { 0 },
|
||||
/* lfs_pad2 */ { 0 },
|
||||
/* lfs_cksum */ 0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user