History log of /src/share/examples/rump/umserv |
Revision | Date | Author | Comments |
1.4 | 25-Jan-2016 |
pooka | add -D_KERNTYPES
|
1.3 | 23-Aug-2010 |
pooka | update component lists: scsipi is independent of umass now
|
1.2 | 10-Feb-2010 |
pooka | rumpusbhc is now ugenhc
|
1.1 | 22-Dec-2009 |
pooka | 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.
|
1.3 | 25-Jan-2016 |
pooka | Don't include <rump/rumpvnode_if.h> from rump.h. It's not needed unless you're doing something special, but requires register_t. Adjust the few places which actually need rumpvnode_if.h.
|
1.2 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
1.1 | 22-Dec-2009 |
pooka | 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.
|