Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-03 | libmount: add new debug messages, fix umount return code | Karel Zak | 2 | -4/+18 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix context mount test | Karel Zak | 3 | -39/+20 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix mnt_optstr_remove_option_at() | Karel Zak | 1 | -1/+3 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: support /{proc,etc}/filesystems | Karel Zak | 7 | -39/+241 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add debug messages and fix typos in tab_update | Karel Zak | 3 | -13/+32 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: rewrite update | Karel Zak | 8 | -1010/+693 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix Makefile and tests | Karel Zak | 1 | -1/+1 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: improve function for work with mtab paths | Karel Zak | 2 | -112/+122 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix comment for mnt_unlock_file() | Karel Zak | 1 | -1/+1 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add functions get mtab/utab paths | Karel Zak | 1 | -37/+46 | |
2011-01-03 | libmount: allow to overwrite mtab/fstab paths | Karel Zak | 7 | -62/+140 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add LIBMOUNT_{MTAB,FSTAB} | Karel Zak | 2 | -11/+17 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | tests: add libmount lock test | Karel Zak | 1 | -9/+44 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | tests: add libmount tab_parse.c tests | Karel Zak | 1 | -10/+1 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: cleanup fstab parser, improve mnt_tab errcb usage | Karel Zak | 4 | -20/+51 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix mnt_optstr_apply_flags() to work with optional variables | Karel Zak | 1 | -5/+6 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | tests: use {src,build}dir variables for tests | Karel Zak | 1 | -1/+1 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: improve assert() and DBG() usage | Karel Zak | 5 | -31/+99 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add umount(2) support | Karel Zak | 6 | -91/+709 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mnt_context_get_{fstab,mtab}() | Karel Zak | 3 | -40/+91 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mnt_tab_find_pair() | Karel Zak | 3 | -16/+85 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: allows to swap source and target | Karel Zak | 3 | -164/+149 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: cleanup mount.h | Karel Zak | 1 | -38/+33 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: split context.c | Karel Zak | 5 | -834/+909 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: cleanup helpers support | Karel Zak | 1 | -114/+117 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: rewrite mountinfo/fstab parsers to use sscanf() | Karel Zak | 1 | -209/+76 | |
The old solution (without scanf()) was based on old code from mount(8). It seems that the modern libc is able to provide all necessary functionality by sscanf() and %ms directive. Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: fix mount helpers call | Karel Zak | 1 | -24/+115 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: update mtab after mount(2) | Karel Zak | 1 | -7/+52 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: always store rw/ro flags to mtab | Karel Zak | 1 | -15/+52 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: update mount.sym | Karel Zak | 2 | -4/+4 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: extend mnt_update_* API | Karel Zak | 3 | -1/+61 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mount(2) and /sbin/mount.<type> support | Karel Zak | 4 | -41/+281 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mtab managment to context API | Karel Zak | 3 | -7/+77 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: use attribute __format__ for debug routines | Karel Zak | 4 | -6/+9 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add FS detection | Karel Zak | 5 | -29/+151 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: better permissions and optstr evaliation | Karel Zak | 1 | -67/+155 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add DBG() to optstr.c | Karel Zak | 1 | -3/+25 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: minor cleanup in optstr.c | Karel Zak | 1 | -7/+7 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mnt_optstr_fix_user | Karel Zak | 3 | -1/+43 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: clean up mountflags usage | Karel Zak | 4 | -56/+178 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: improve parsers return codes | Karel Zak | 4 | -142/+191 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: rewrite optstr translation | Karel Zak | 5 | -139/+268 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: implement mnt_context_subst_optstr() | Karel Zak | 2 | -25/+66 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add routines for uid=, git= and context= translation | Karel Zak | 3 | -0/+205 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add utils for work with uid/gid | Karel Zak | 2 | -0/+46 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add first part of high-level API | Karel Zak | 2 | -0/+1128 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: cleanup mount.sym | Karel Zak | 1 | -38/+3 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mnt_context | Karel Zak | 1 | -0/+7 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add mnt_optstr_get_userspace_mountflags() | Karel Zak | 4 | -26/+86 | |
Signed-off-by: Karel Zak <kzak@redhat.com> | |||||
2011-01-03 | libmount: add MNT_FS_SWAP flag | Karel Zak | 4 | -11/+24 | |
Signed-off-by: Karel Zak <kzak@redhat.com> |