NetBSD/share/examples
pooka 8b5875c7e6 Add a simple example of how to run the kernel umass/USB in userspace
and attach it back to the host kernel using pud(4).  The result is
pretty much indistinguisable from if kernel drivers were used.

It's possible to e.g. mount a file system backed by the userspace
block device driver:

golem> disklabel ./rumpsd0d
[...]
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:   1994752         0     unused      0     0        # (Cyl.      0 -   3895)
 e:   1994512       240      MSDOS                     # (Cyl.      0*-   3895)

golem> s mount_msdos ./rumpsd0a /mnt
mount_msdos: "./rumpsd0a" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0a" instead.
mount_msdos: /usr/home/pooka/src/umserv/rumpsd0a on /mnt: Device not configured

golem> s mount_msdos ./rumpsd0e /mnt
mount_msdos: "./rumpsd0e" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0e" instead.
golem> df -h /mnt
Filesystem                               Size       Used      Avail %Cap Mounted on
/usr/home/pooka/src/umserv/rumpsd0e      974M       5.2M       968M   0% /mnt

etcetc.
2009-12-22 18:36:02 +00:00
..
amd Added map_type = file to the global configuration. Else, we would get warnings 2005-08-23 13:54:41 +00:00
apm
disktab Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
emul Change the entry for ptmx to use the netbsd ptm driver. 2007-07-05 19:34:36 +00:00
fstab Merge fstab.tmpfs into fstab.ramdisk so that the file names represent 2005-12-24 12:59:21 +00:00
ftpd
getdate Add the getdate(3) function and getdate_err value, conforming to IEEE 2009-05-14 02:37:35 +00:00
hostapd Add a hostapd.conf example based on the one distributed with hostapd. 2006-04-30 13:52:35 +00:00
isdn Correct spelling of "immediate(ly)". From Zafer. 2006-11-24 21:23:07 +00:00
pppd Add example pppd configuration for bluetooth DUN with Telus Mobility. 2008-10-29 12:47:08 +00:00
pud/intro * version the registration interface 2007-11-28 16:59:02 +00:00
puffs Use puffs_kernerr_abort as the error handler. 2009-12-05 20:54:40 +00:00
racoon New README.plainrsa sample file 2006-12-10 05:52:10 +00:00
refuse Clean up after moving the iSCSI initiator to src/usr.sbin/iscsi/initiator 2009-06-19 07:27:38 +00:00
rump Add a simple example of how to run the kernel umass/USB in userspace 2009-12-22 18:36:02 +00:00
secmodel Introduce a new kauth action, KAUTH_NETWORK_NFS, and two requests, 2008-02-28 17:07:49 +00:00
supfiles Remove a mirror that was decommissioned almost five years ago 2006-07-27 23:01:27 +00:00
syslogd
wsmoused
Makefile Add the getdate(3) function and getdate_err value, conforming to IEEE 2009-05-14 02:37:35 +00:00