The NetBSD Project

CVS log for src/lib/libukfs/ukfs.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libukfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:17 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:18 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 19 06:33:03 2012 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

Always initialize part to avoid triggering uninitialized variable
warnings.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 3 14:23:49 2009 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.12: +22 -13 lines
Diff to previous 1.12 (colored)

Improve the ukfs magicpath interface a bit:
* rename PART to DISKLABEL
* allow to take an OFFSET range to make it possible to access an image
  where there is no disklabel present
* make future extensions easier and less intrusive for the callers

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 5 14:22:54 2009 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

default to UKFS_PARTITION_NONE in argvprobe

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 7 20:51:00 2009 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.10: +21 -3 lines
Diff to previous 1.10 (colored)

Add what is essentially disklabel support.  All disk-based file
systems should be mounted with ukfs_mount_disk() from now on.  The
partition argument specifies which label is being mounted (or the
entire image).  E.g. partition 4 should be label 'e'.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 2 09:32:01 2009 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

* allow callers to store a private data pointer behind the ukfs handle
* release reference on root vnode before unmounting
  (and reaquire the root vnode if unmount fails)
* return correct error value if unmount fails

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 22 20:46:34 2009 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

Since rump rootfs now supports creating directories, mount ukfs
mounts at the requested mountpoint instead of as the rump kernel
rootfs.  While doing so, generally convert everything to use system
calls instead of handcrafter rump interfaces (e.g. rump_sys_mount()
instead of rump_mnt_mount()).  This avoids a lot of unnecessary
fuss.

Change UKFS_DEFAULTMP from / to /ukfs and bump ukfs version.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:36 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.7: +13 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 26 22:23:01 2009 UTC (13 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.7: +13 -1 lines
Diff to previous 1.7 (colored)

Provide a stateful mode for readdir/read/write.  Using them gives
a measurable boost to some fs-utils commands.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Tue Oct 7 23:17:00 2008 UTC (14 years, 4 months ago) by pooka
Branch: christos-time_t
Changes since 1.7.4.1: +109 -0 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Embed library build version into the init call and refuse to init
if they don't match.  In other words, this is a lightweight library
major number.

Revision 1.7.4.1, Tue Oct 7 23:16:59 2008 UTC (14 years, 4 months ago) by pooka
Branch: christos-time_t
Changes since 1.7: +0 -109 lines
FILE REMOVED

file ukfs.h was added on branch christos-time_t on 2008-10-07 23:17:00 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 7 23:16:59 2008 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: jym-xensuspend, christos-time_t
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

Embed library build version into the init call and refuse to init
if they don't match.  In other words, this is a lightweight library
major number.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:25 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6.2.1: +105 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.6.2.1, Fri Aug 1 19:52:11 2008 UTC (14 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6: +0 -105 lines
FILE REMOVED

file ukfs.h was added on branch wrstuden-revivesa on 2008-09-18 04:39:25 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 1 19:52:11 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Branch point for: wrstuden-revivesa
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Introduce ukfs_vfstypes() which returns the available file system
types loaded into rump.  Now it is possible to iterate over all
file system types supported by a rump program in an attempt to
access an unknown file system image instead of having to know
beforehand which type of file system is on the image.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 1 14:50:28 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

__{BEGIN,END}_DECLS

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 1 14:47:28 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.3: +6 -2 lines
Diff to previous 1.3 (colored)

Support ukfs_modload(), which dlopens and vfs_attaches rump file
system modules for use.  Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot".  But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.

tested by Arnaud Ysmal

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 30 14:59:47 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

No reason to forward def componentname anymore

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 30 14:57:40 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Include <sys/types.h> for completeness, uid_t etc. in prototypes

noticed by Arnaud Ysmal

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:41 2008 UTC (14 years, 6 months ago) by pooka
Branch: MAIN

Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>