aboutsummaryrefslogtreecommitdiff
path: root/include/protocols
Commit message (Collapse)AuthorAgeFilesLines
* Update the dump program to save extended attributes. UpdateKirk McKusick2007-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the restore program to restore all dumped extended attributes. If the restore is running as root, it will always be able to restore all extended attributes. If it is not running as root, it makes a best effort to set them. Using the -v command line flag or the `verbose' command in interactive mode will display all the extended attributes being set on files (and at the end on directories) that are being restored. It will note any extended attributes that could not be set. The extended attributes are placed on the dump image immediately following each file's data. Older versions of restore can work with the newer dump images. Old versions of restore will correctly restore the file data and then (silently) skip over the extended attribute data and proceed to the next file. This resolves PR 93085 which will be closed once the code has been MFC'ed. Note that this code will not compile until these header files have been updated: <protocols/dumprestore.h> and <sys/extattr.h>. PR: bin/93085 Comments from: Poul-Henning Kamp and Robert Watson MFC after: 3 weeks Notes: svn path=/head/; revision=167011
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.Bruce M Simpson2004-02-251-1/+4
| | | | | | | | | | | Update <protocols/routed.h> for the MD5 changes requested in bin/35843. Preserve local changes. Education by: obrien, markm, pointy-stick PR: bin/35843 (and doubtless others) Notes: svn path=/head/; revision=126250
* Change utimes to set the file creation time (for filesystems thatKirk McKusick2002-07-171-2/+2
| | | | | | | | | | | support creation times such as UFS2) to the value of the modification time if the value of the modification time is older than the current creation time. See utimes(2) for further details. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=100207
* This commit adds basic support for the UFS2 filesystem. The UFS2Kirk McKusick2002-06-211-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org> Notes: svn path=/head/; revision=98542
* Use explicitly sized fields for the tape format definition.Poul-Henning Kamp2002-05-141-1/+1
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96562
* Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov2002-05-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release". Notes: svn path=/head/; revision=96462
* WARNS-n and lint(1) silencer. Declare (const) strings properly asMark Murray2002-02-031-1/+1
| | | | | | | 'const char *'. Notes: svn path=/head/; revision=90138
* Use fixed-size fields in the structure for the timed protocol. ThisJohn Baldwin2001-11-201-4/+9
| | | | | | | | | | | | includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha. Obtained from: NetBSD Notes: svn path=/head/; revision=86644
* Make the protocol/dumprestore.h header match restore's idea of the dumpMatthew Dillon2001-10-281-2/+4
| | | | | | | | | | | header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t. Notes: svn path=/head/; revision=85635
* Zap $Revision$Peter Wemm1999-09-051-1/+0
| | | | Notes: svn path=/head/; revision=50968
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-2/+2
| | | | Notes: svn path=/head/; revision=50473
* Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').Bruce Evans1999-05-111-2/+2
| | | | Notes: svn path=/head/; revision=46990
* 16 characters for the device name in /etc/dumpdates is not longJacques Vidrine1999-05-081-2/+2
| | | | | | | | | | enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433 Notes: svn path=/head/; revision=46663
* Part of routed upgrade.Mark Murray1999-05-021-4/+4
| | | | | | | Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com> Notes: svn path=/head/; revision=46305
* 64bit clean nowDima Ruban1998-11-081-1/+1
| | | | Notes: svn path=/head/; revision=40999
* 64bit fixes.Dima Ruban1998-10-271-9/+9
| | | | | | | | | | (Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon. Notes: svn path=/head/; revision=40668
* make talk/talkd work on alpha.Dima Ruban1998-10-201-3/+3
| | | | Notes: svn path=/head/; revision=40536
* Translated to `C' - commented out #ident.Bruce Evans1998-01-161-1/+1
| | | | Notes: svn path=/head/; revision=32545
* Back out all of yesterdays include file changes.Eivind Eklund1997-05-074-13/+1
| | | | Notes: svn path=/head/; revision=25551
* Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund1997-05-074-1/+13
| | | | | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
* Matching routed.h to go along with latest routed.Garrett Wollman1996-11-191-2/+14
| | | | Notes: svn path=/head/; revision=19886
* New version of routed.h to match new version of routed.Garrett Wollman1996-08-271-17/+20
| | | | Notes: svn path=/head/; revision=17844
* New routed.h that goes with the new routed.Garrett Wollman1996-07-221-13/+1
| | | | Notes: svn path=/head/; revision=17253
* Protocol definitions for RIPv2.Garrett Wollman1996-05-301-21/+88
| | | | | | | Obtained from: Vernon Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/head/; revision=16009
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-5/+5
| | | | Notes: svn path=/head/; revision=8858
* Changed idempotent strings to reflect directory area.Paul Richards1994-08-215-10/+10
| | | | | | | | Reviewed by: Submitted by: Notes: svn path=/head/; revision=2163
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-245-0/+497
Notes: svn path=/head/; revision=1539