Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/librefuse



On Mon, 16 Apr 2007 09:55:51 +0000 (UTC)
"Alistair G. Crooks" <agc%netbsd.org@localhost> wrote:

> 
> Module Name:  src
> Committed By: agc
> Date:         Mon Apr 16 09:55:51 UTC 2007
> 
> Modified Files:
>       src/lib/librefuse: refuse.c refuse_opt.c
> 
> Log Message:
> Flesh out the args management a bit more:
> 
> + put some meat into the add_arg and insert_arg functions
> + implement the free_args function
> + use 0 and 1 return values, instead of EXIT_SUCCESS and EXIT_FAILURE, in
>   internal functions (they bear no relation to shell exit values)
> + deep copy argument structures in refuse.c - we need to do this because
>   some FUSE file systems attempt to obliterate^Wcloak the argument vector
>   "for security reasons"
> + a side benefit of this is that we get the specific refuse file system
>   name back again:
> 
> [10:48:43] agc@inspiron1300 ...src/lib/librefuse 38 > df
> Filesystem         1K-blocks      Used     Avail Capacity  Mounted on
> /dev/dk0            28101396  19318530   7377798    72%    /
> kernfs                     1         1         0   100%    /kern
> procfs                     4         4         0   100%    /proc
> ptyfs                      1         1         0   100%    /dev/pts
> puffs:refuse:id3fs         0         0         0   100%    /mnt
> [10:48:51] agc@inspiron1300 ...src/lib/librefuse 39 >

Thanks for your commit... but this doesn't work when you use sudo:

$ sudo ntfs-3g /dev/wd1e /mnt/disk1                
$ mount|grep puffs
puffs: on /mnt/disk1 type puffs (nosuid, nodev)
$

Any better idea? :-)

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish



Home | Main Index | Thread Index | Old Index