[Patch] Add mount method that behaves more like the system 'mount' command

Jan Synacek jsynacek at redhat.com
Thu Jul 11 12:11:09 UTC 2013


Hello,

currently, the existing mount() in blivet is pretty rigid -- returns only an rc,
has to be called with a specified filesystem type, can't be called with --bind,
etc. Also, it creates the mountpoint directory if it doesn't exist.

In OpenLMI, we use blivet in the mounting provider and need a system-like mount
method. The current one is therefore not sufficient. I'm attaching a patch that
adds such method. I assume that the default behavior of the current mount() is
relied upon, so I created a new method instead of modifying it.

Cheers,
-- 
Jan Synacek
Software Engineer, Red Hat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-mount_syslike.patch
Type: text/x-patch
Size: 1250 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130711/4810de0f/attachment.bin>


More information about the anaconda-patches mailing list