diff options
author | gibbs <gibbs@FreeBSD.org> | 1994-11-17 01:38:30 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1994-11-17 01:38:30 +0000 |
commit | a28860212fea45a16ea27f2fe26af479df7d1bcc (patch) | |
tree | 3f02de48c9df20d6b40163f9a9bbd08fb5cbacf6 /sbin/newlfs | |
parent | 02b39f95c4927ea494cd1146c3e4bbda7435ee77 (diff) | |
download | FreeBSD-src-a28860212fea45a16ea27f2fe26af479df7d1bcc.zip FreeBSD-src-a28860212fea45a16ea27f2fe26af479df7d1bcc.tar.gz |
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
Diffstat (limited to 'sbin/newlfs')
-rw-r--r-- | sbin/newlfs/lfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/newlfs/lfs.c b/sbin/newlfs/lfs.c index c79a0dc..99387ff 100644 --- a/sbin/newlfs/lfs.c +++ b/sbin/newlfs/lfs.c @@ -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 }; |