Re: CVS commit: src/sbin/mount_puffs

2016-11-23 Thread Kamil Rytarowski
On 23.11.2016 15:33, Masatake Daimon wrote:
> Module Name:  src
> Committed By: pho
> Date: Wed Nov 23 14:33:29 UTC 2016
> 
> Modified Files:
>   src/sbin/mount_puffs: mount_puffs.8 mount_puffs.c
> 
> Log Message:
> Major rework on mount_puffs(8) so that it can actually start file servers
> 
> Now you can do
>   # mount_puffs -o rdonly rot13fs#/home/foo /mnt/rot13
> 
> or in fstab
>   rot13fs#/home/foo  /mnt/rot13  puffs  rdonly
> 
> to start rot13fs with arguments identical to
>   # rot13fs -o rdonly /home/foo /mnt/rot13
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_puffs/mount_puffs.8
> cvs rdiff -u -r1.4 -r1.5 src/sbin/mount_puffs/mount_puffs.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

Thanks for improving the man-page, it used to be the most cryptic one I
could find in NetBSD!

What do you think about adding an entry in a section EXAMPLES linking to
src/share/examples/puffs/rot13fs/rot13fs.c as we use rot13fs in example
command snippets.

It's worth to cross-reference all puffs filesystems out there, there is
at least mount_sysctlfs(8).

Thank you for your work!



signature.asc
Description: OpenPGP digital signature


CVS commit: src/sbin/mount_puffs

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 21:25:49 UTC 2010

Added Files:
src/sbin/mount_puffs: Makefile mount_puffs.8 mount_puffs.c

Log Message:
Add a generic puffs kernel utility for querying mount arguments.
E.g.:
golem dtfs -r 'chr 15 25' dtfs /puffs
golem mount_puffs -o getargs dtfs /puffs
version=26, flags=0x10, root cookie=0xbb90c0c0, root type=VCHR, root 
size=0, root rdev=0xf19


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sbin/mount_puffs/Makefile \
src/sbin/mount_puffs/mount_puffs.8 src/sbin/mount_puffs/mount_puffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/mount_puffs

2010-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 14 22:06:54 UTC 2010

Modified Files:
src/sbin/mount_puffs: mount_puffs.c

Log Message:
from main with return 0;
(Why did I manage to succesfully build n times, including a full
distribution build, without tripping this before ?!?)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_puffs/mount_puffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.