HAL methods at storage device level, to mount/unmount/eject volumes

Danny Kukawka danny.kukawka at web.de
Thu Dec 8 11:20:35 PST 2005


On Thursday 08 December 2005 19:36, David Zeuthen wrote:
[...]
> Do we want to allow passing the filesystem to use? Thinking ppl want to
> mount use fs msdos instead of vfat to get true 8.3 filenames. Deny
> everything but this. Can this be done through mount options?
>

I discussed this already with Kay and we agree to extend the mount with fstype 
to: Mount(string:directory, string:fstype, string:options). 

We need this at least to be able to mount with subfs, captive or fuse (e.g. 
ntfsmount) so we work on a new version.

>
> List of options we should white-list probably depend on file-system but
> I think a first conservative cut is fine. Btw, we probably don't need
> 'user' since the method-script runs as root, yes?
>
> General mount options we probably want to include in the white-list in
> addition to ro, sync, quiet (we do we allow quiet btw?)
>
>  - noatime
>  - nodiratime
>  - noexec
>  - dirsync

make sense.

[...]

>  - Probably allow option shortname for vfat as many ppl on the list
>    have been wanting to change this in the current policy stuff we have

see above.


More information about the hal mailing list