]> git.decadent.org.uk Git - nfs-utils.git/commit
Add support for quoted mount options
authorKarel Zak <kzak@redhat.com>
Mon, 19 Mar 2007 20:02:40 +0000 (21:02 +0100)
committerNeil Brown <neilb@suse.de>
Tue, 20 Mar 2007 03:30:42 +0000 (14:30 +1100)
commit6facb22402a0bd8cd49be2ed1a0856b24fef42f4
treecf7cb7f96b8e36726f9506270436b25e7395b080
parentb3b111b1bd5fbc678419bf1964b6093045081139
Add support for quoted mount options

The patch avoid the collision between commas in security contexts and the
delimiter between mount options.

Try:
mount.nfs foo://mnt/bar /mnt/bar -o context=\"aaa,bbb,ccc\",ro

Signed-off-by: Cory Olmo <colmo@TrustedCS.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c
utils/mount/nfsmount.c