On Sun, Oct 11, 2015 at 10:58:48PM +0200, Andreas Henriksson wrote:
> Using LIBMOUNT_DEBUG=all mount -t udf -o uid=ignore,gid=forget ...
> shows the following message (among others):
> 
> 24171: libmount:    UTILS: cannot convert 'ignore' username to UID
> 
> ... and according to the following code you seem to be very right
> that except an actual uid you can also pass 'uid=ignore' or
> 'uid=forget' explicitly:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/udf/super.c#n352
> 
> I see several possible options for implementing this in the future:
>  - special-case 'ignore' and 'forget' and pass those as is.
>  - if uid-lookup fails, try the above.
>  - (assuming different filesystems have different special options)
>    let any fs-option through as-is if 'smart lookup' fails.

This is the way how the original mount(8) has worked. Fixed:

 
https://github.com/karelzak/util-linux/commit/440a355a3d3934d99f7ef82adf02342e6f2f7983

will be in v2.27.1.

Thanks!
    Karel

-- 
 Karel Zak  <k...@redhat.com>
 http://karelzak.blogspot.com

Reply via email to