summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/context.c
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: use top-level directory for libmount rather than shlibs/mountKarel Zak2011-06-091-1741/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix uninitialized variable in sampleKarel Zak2011-06-081-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use libmnt_lock for utab flockKarel Zak2011-04-131-9/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: support /run/mount rather than /dev/.mountKarel Zak2011-03-311-2/+2
| | | | | | | | | The /run directory should be preferred on distributions where this directory exists. http://thread.gmane.org/gmane.linux.redhat.fedora.devel/146976 Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: block signals when writing to mtabKarel Zak2011-03-301-8/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup *_do_[u]mount() return codes and docsKarel Zak2011-03-141-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: better "user" evaluationKarel Zak2011-02-231-1/+40
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: don't export functions for vfs/fs/userspace mount optionsKarel Zak2011-02-221-28/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix libmount testKarel Zak2011-02-091-5/+4Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: don't prepare update if syscall failedKarel Zak2011-02-071-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup helper initialization APIKarel Zak2011-02-021-3/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup high-level mount APIKarel Zak2011-02-021-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix user= usageKarel Zak2011-01-251-1/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve status check, minor cleanupsKarel Zak2011-01-251-2/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_context_get_{source,target,fstype}Karel Zak2011-01-241-1/+45
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup API, remove typedefKarel Zak2011-01-221-116/+121
| | | | | | | | - replace mnt_ with libmnt_ prefix for types (the old prefix was too generic) - remove typedef, use struct everywhere - use shorter functions names (s/userspace/user/; s/mountflags/mflags/) Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add functions for mount.<type> helpersKarel Zak2011-01-221-1/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: split mnt_context_do_mount()Karel Zak2011-01-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_context_is_* functionsKarel Zak2011-01-191-0/+93
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve fstab/mtab options usageKarel Zak2011-01-131-49/+51
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: properly canonicalize source and targetKarel Zak2011-01-101-17/+51
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup API and docsKarel Zak2011-01-041-7/+30
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup context APIKarel Zak2011-01-031-14/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: clean mnt_update_* target usageKarel Zak2011-01-031-8/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup MS_RDONLY usageand mnt_update_* symbolsKarel Zak2011-01-031-0/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: minor fixesKarel Zak2011-01-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use separate buffer for userspace options, add mount attributesKarel Zak2011-01-031-21/+46
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove utab from API, update testsKarel Zak2011-01-031-12/+6Star
| | | | | | | The utab file is private libmount stuff. Anything about utab should not be exported by library API. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix to work with btrfs subvolume user mountsKarel Zak2011-01-031-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix utab file and dir modes, add new debug messagesKarel Zak2011-01-031-4/+14
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: improve libmount context mount and umount testKarel Zak2011-01-031-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add new debug messages, fix umount return codeKarel Zak2011-01-031-4/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix context mount testKarel Zak2011-01-031-38/+16Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: support /{proc,etc}/filesystemsKarel Zak2011-01-031-3/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rewrite updateKarel Zak2011-01-031-41/+70
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: allow to overwrite mtab/fstab pathsKarel Zak2011-01-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve assert() and DBG() usageKarel Zak2011-01-031-3/+50
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add umount(2) supportKarel Zak2011-01-031-1/+164
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_context_get_{fstab,mtab}()Karel Zak2011-01-031-38/+89
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: allows to swap source and targetKarel Zak2011-01-031-24/+144
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: split context.cKarel Zak2011-01-031-833/+73Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup helpers supportKarel Zak2011-01-031-114/+117
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix mount helpers callKarel Zak2011-01-031-24/+115
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: update mtab after mount(2)Karel Zak2011-01-031-7/+52
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mount(2) and /sbin/mount.<type> supportKarel Zak2011-01-031-37/+268
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mtab managment to context APIKarel Zak2011-01-031-5/+74
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add FS detectionKarel Zak2011-01-031-1/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: better permissions and optstr evaliationKarel Zak2011-01-031-67/+155
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: implement mnt_context_subst_optstr()Karel Zak2011-01-031-24/+59
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add first part of high-level APIKarel Zak2011-01-031-0/+1126
Signed-off-by: Karel Zak <kzak@redhat.com>