summaryrefslogtreecommitdiff
path: root/lib/libukfs
AgeCommit message (Collapse)Author
2022-04-19lib: remove CONSTCOND commentrillig
Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'.
2022-01-26remove double t from targeted, add missing r to arbitraryandvar
And fix few more typos along the way in comments and man pages.
2021-09-16fix typos in word "successful".andvar
2018-03-12Remove exgtraneous commapgoyette
2018-02-08Typos.dholland
2016-01-25Don't include <rump/rumpvnode_if.h> from rump.h. It's not neededpooka
unless you're doing something special, but requires register_t. Adjust the few places which actually need rumpvnode_if.h.
2016-01-23Define _KERNTYPES for things that need it.christos
2015-06-17fix error messageschristos
2014-02-14New sentence, new line.wiz
2014-02-14some minor updates and reality-checkspooka
2013-09-11If a library needs a symbol from another library, pull that library injoerg
explicitly, even if the DT_NEEDED closure would normally already ensure the presence.
2013-07-20Use Mt for email addresses.wiz
2012-07-19Always initialize part to avoid triggering uninitialized variablejoerg
warnings.
2012-03-21These directories default to WARNS=2matt
2012-02-10Add missing Fa macro argument.njoly
2011-02-22Add support for a byteswapped disklabel so that I can mountpooka
NetBSD/sparc anita images on my i386.
2011-01-02rump_lwproc_newproc -> rump_lwproc_rforkpooka
2010-11-26rumpuser should not be included outside of the rump kernel (andpooka
rumpuser itself)
2010-09-07Migrate from rump private interfaces to syscalls.pooka
2010-09-01update to new rump proc/lwp interfacespooka
2010-07-19convert to newstyle automagic rump compat syscallspooka
2010-06-24Clean up vnode lock operations pass 2:hannken
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument. Welcome to 5.99.32. Discussed on tech-kern.
2010-04-14Some _t purification. no functional change.pooka
2010-03-08mfs is a bit off in the sense that mount(2) doesn't return sincepooka
mfs uses the mounting process for the backing store memory. I guess mfs could be fixed to just reference the process vmspace and let it return, but that would probably cause wait() to return for other worms. So it's easier to dance according to mfs's tune: if mounting mfs, create a thread for extra execution context.
2010-03-05Update to use newstyle rump_module interfaces.pooka
2009-12-13Refcount ukfs_part. Otherwise it's not possible to call ukfs_mount()pooka
several times with only one ukfs_part_probe().
2009-12-12fix error branchpooka
2009-12-11uncommit accidental changespooka
2009-12-11Use range locking (fnctl(F_SETLK)) instead of file locking (flock()).pooka
This allows to mount multiple (non-overlapping) partitions from the same disk image.
2009-12-11Init ukfs__part_{na,none} statically instead of at runtime to avoidpooka
init-order lossage from p2k/rump_smbfs, as noted by Tron.
2009-12-03Improve the ukfs magicpath interface a bit:pooka
* 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
2009-11-22Update. Especially, describe ukfs_mount_disk(), ukfs_release() flagspooka
and return value, and remove obsolete info in BUGS.
2009-11-16Add RTLD_LAZY to dlopen call, to make it work on Linux hosts.njoly
ok by pooka.
2009-11-05default to UKFS_PARTITION_NONE in argvprobepooka
2009-10-15use newstyle rump lwp interfacespooka
2009-10-14Adjust names of external rump control interfaces to match thepooka
new rump_pub namespace.
2009-10-07fix warning whinepooka
2009-10-07Add what is essentially disklabel support. All disk-based filepooka
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'.
2009-10-02* allow callers to store a private data pointer behind the ukfs handlepooka
* release reference on root vnode before unmounting (and reaquire the root vnode if unmount fails) * return correct error value if unmount fails
2009-09-29Give rump_sys_unmount() in ukfs_release() a curlwp context. Thispooka
prevents use-after-free and should fix crashy cases reported by Arnaud Ysmal.
2009-09-14fix markuppooka
2009-08-04If opening the device fails, skip etfs registration only if it ispooka
because of ENOENT. Otherwise, let the file system handle it.
2009-08-03fix errno reportingpooka
2009-08-03* use new etfs interfacepooka
+ attempt to register only if we can stat() the devpath. this works around e.g. nfs devpath, which is useless to register to etfs XXX: the caller should decide
2009-07-23return proper errno from mountpooka
2009-07-22delintpooka
2009-07-22Since rump rootfs now supports creating directories, mount ukfspooka
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.
2009-07-21Can't see any reason to stat() the .so before dlopen(), so get ridpooka
of that call. uses normal ldlib paths now
2009-05-22use compat syscalls if necessarypooka
2009-05-15Fix calls to rump syscalls now that the padding argument is nopooka
longer advertised.