Commit Graph

33 Commits

Author SHA1 Message Date
christos
50728e7823 merge christos-time_t 2009-01-11 02:57:17 +00:00
hannken
7586bc881e Make restore work for Linux dump volumes by ignoring extended attribute
records on these volumes.  Tested with Centos 5.2.

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2008-12-26 19:26:04 +00:00
matt
80d082b8df Change/fix tsptype to const char * const []; 2008-02-16 07:30:15 +00:00
perry
5f65228b74 u_intN_t -> uintN_t 2005-12-26 19:01:47 +00:00
christos
c4445bc71c rename osockaddr to talkd_sockaddr and use that instead. 2005-09-24 16:40:01 +00:00
christos
99c8f5662d Change ino_t to u_int32_t for compatibility with the current dump/restore
format. Unfortunately this means that all dumps taken from the time of
the 64 bit inode changes (August 16th) will become unreadable with this
commit. To make them readable again, you can back-out this commit temporarily.
Please note, that I am not adding 64 bit inode support to the format on
purpose right now, because supporting 64 bit inodes on-disk will require
additional changes, and it is more appropriate to add such support then.
2005-09-06 17:03:59 +00:00
he
8d673b50bf Add const to the tsptype array, compiled under TSPTYPES.
Found while building for vax.
2005-07-05 21:57:08 +00:00
agc
039cc95684 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
2003-08-07 09:44:09 +00:00
fvdl
42614ed3f3 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.
2003-04-02 10:39:19 +00:00
fvdl
a3ff3a3038 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.
2003-01-24 21:55:02 +00:00
christos
d8c7cd31c5 New auth length defines. We don't play with sockaddr for now. Also make
the list of commands const.
2002-11-30 04:02:19 +00:00
lukem
d7eda14fff Use "int32_t" instead of "time_t" for ``on tape'' times. (From FreeBSD.) 2001-12-23 14:38:03 +00:00
perry
3b3774fc83 add/cleanup multiple inclusion protection. 1998-02-10 00:38:16 +00:00
perry
a141abe41d merge lite-2 1998-02-02 16:32:57 +00:00
christos
fb80ce77e8 Apply the necessary fixes from: routed-970113 1997-02-03 22:20:38 +00:00
cgd
a0c5caa042 patches from Tom I Helbekkmo <tih@nhh.no> to deal with type-size issues,
so this works (better, at least) on 64-bit machines (e.g. alpha).
1996-11-30 18:01:52 +00:00
christos
bd7bec20e3 Fix RIP-V1 netinfo structure to be sizeof(sockaddr) + sizeof(u_int32_t) by
adding the missing RIP-V2 fields. This structure *must* always be the correct
size, otherwise programs that parse rip packets will break! (e.g.
tcpdump -s 1024 -vv broadcast would not parse rip packets correctly and
would fail after the first entry).
1996-11-04 21:29:46 +00:00
thorpej
e993622070 Add missing a_family member to struct netauth.
From David Carrel <carrel@ipsec.com>, PR #2872.
1996-10-20 21:53:20 +00:00
christos
5057242ce3 put back the explicit ripv1 field enumeration; lots of userland has changed
to use this.
1996-09-24 16:46:51 +00:00
christos
41751ebe3c - Revert to the traditional struct sockaddr description of the rip v1 packets.
- Fix a bad bug where:
	u_int16_t       n_dst;
  should be:
	u_int32_t	n_dst;

  If this bug is in the 1.2 release it should be part of the first patch.
1996-09-24 16:36:19 +00:00
mycroft
9ea1ff447d {long,int} -> int32_t 1996-09-23 05:01:08 +00:00
thorpej
92c712a03c Update from the new routed(8) source. 1996-08-10 01:37:09 +00:00
cgd
8b65ecffc3 time seconds/usec sent over the net are signed. 1996-04-09 20:40:32 +00:00
cgd
e9e09ebaca use fixed-size types where appropriate, to make timed work on 64-bit
machines (Alpha).  fixed sized types, not 'timeval's should go over
the net, and the stuff that goes over the net can't necessarily be
passed directly to functions that expect timevals.
1996-04-06 01:53:29 +00:00
christos
fce59c47ff Update for rip version 2. 1995-06-20 22:22:04 +00:00
cgd
0dcf70c8c5 oops; 'pid' is supposed to be signed (?) 1995-03-04 07:59:30 +00:00
cgd
c8518f4150 ship fixed-size quantities over the wire 1995-03-04 07:16:29 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd
cd1c282ab4 kill some now-unnecessary defines 1994-06-15 04:31:49 +00:00
cgd
e6b5ddd91e update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those.  Kill varargs.h, because it can simply
be a link to the machine-dependent version.
1994-05-16 10:58:53 +00:00
cgd
108d89475f new version from CSRG, via BSDI, with fixes 1993-12-22 10:19:31 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00