Commit Graph

15 Commits

Author SHA1 Message Date
hannken
05e91bfee8 fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).
2011-02-24 09:38:57 +00:00
hannken
08a60b309b File system snapshots are no longer experimental. 2010-11-05 10:02:53 +00:00
joerg
5e015e5e29 Use .In instead of .Aq Pa for header files. 2010-03-22 18:58:31 +00:00
hannken
cb5bd77c51 Obsolete fssbs(4). The kernel thread is named fssN now. 2008-09-21 10:25:07 +00:00
hannken
032a270689 Kernel thread changed name from fssbsN to fssN. 2008-09-15 07:58:48 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
wiz
6b4d05a703 Drop trailing whitespace. 2005-04-17 23:23:21 +00:00
hannken
6cb4c22637 Support user controllable flags for the snapshot driver:
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
  on the last close.

Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
wiz
42e21bbee1 Make page look better. Requested by uwe. 2005-02-03 16:31:32 +00:00
bouyer
d718c60ca7 The fss command appeared -> The fss device appeared 2004-05-30 12:30:35 +00:00
wiz
9b80edabea Add fssbs as Nm (for makewhatis/apropos). 2004-01-13 20:42:43 +00:00
hannken
067a3b897d Update the file system snapshot driver:
- Document the kernel thread.
- Rename some functions and variables.
- Return EROFS where appropriate.
- Use shifts instead of 64-bit divide.
- Use a simple_lock to make it MP-safe.
- Add M_CANFAIL to malloc to avoid panic on large cluster size.
- Allow sparse file for backing store and use VOP_BALLOC() to allocate
  space. Default size of backing store is the size of the file system.
2004-01-11 19:05:26 +00:00
wiz
f90dc638c2 Fix Xref; from Jeff Rizzo in PR 23807. 2003-12-20 21:38:54 +00:00
wiz
dd77fe68dc Some nitfixes. 2003-12-11 17:00:16 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00