Compatibility options for mount(8)

Robert Millan rmh at freebsd.org
Mon Jul 1 23:11:53 UTC 2013


Hi,

On Debian GNU/kFreeBSD, we've been using these bits of glue to make
FreeBSD mount a bit more compatible with the Linux version of mount.

We found that this occasionally helps when porting software that needs
to use those features and relies on Linux semantics:

  - Ignore "-n" flag, since it requests not to update /etc/mtab, which
we never do anyway.

  - Map "-o remount" to its FreeBSD equivalent, "-o update".

I'd like to check in the attached patch. Please have a look!

Thanks

--
Robert Millan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount_cli_compat.diff
Type: application/octet-stream
Size: 1018 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130702/23fc4f55/attachment.obj>


More information about the freebsd-fs mailing list