Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libmount: cleanup API and docs | Karel Zak | 2011-01-04 | 16 | -291/+247 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix tab_update test program | Karel Zak | 2011-01-03 | 1 | -1/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libblkid: support LIBBLKID_DEBUG= env. | Karel Zak | 2011-01-03 | 1 | -1/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | lib: [env] consolidate safe_getenv() usage | Karel Zak | 2011-01-03 | 6 | -69/+13 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup mount.sym | Karel Zak | 2011-01-03 | 1 | -13/+55 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup lock API | Karel Zak | 2011-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup context API | Karel Zak | 2011-01-03 | 3 | -17/+8 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: don't export some cache.c files | Karel Zak | 2011-01-03 | 3 | -21/+7 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: better work with mtab options | Karel Zak | 2011-01-03 | 9 | -18/+159 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: don't use NULL pointer in mntenv | Karel Zak | 2011-01-03 | 1 | -0/+5 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | mount: use libmount for mtab/utab updates | Karel Zak | 2011-01-03 | 1 | -1/+0 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix mount.h includes | Karel Zak | 2011-01-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: clean mnt_update_* target usage | Karel Zak | 2011-01-03 | 2 | -17/+26 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup MS_RDONLY usageand mnt_update_* symbols | Karel Zak | 2011-01-03 | 6 | -27/+115 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: minor fixes | Karel Zak | 2011-01-03 | 5 | -5/+10 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: use separate buffer for userspace options, add mount attributes | Karel Zak | 2011-01-03 | 11 | -375/+702 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mntent.h compatible stuff | Karel Zak | 2011-01-03 | 3 | -15/+100 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup mangle() usage | Karel Zak | 2011-01-03 | 1 | -5/+9 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: minor fixes in cache.c | Karel Zak | 2011-01-03 | 1 | -2/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: remove utab from API, update tests | Karel Zak | 2011-01-03 | 8 | -118/+125 |
| | | | | | | | 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 mounts | Karel Zak | 2011-01-03 | 5 | -21/+31 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: use better format for utab, improve bind mounts | Karel Zak | 2011-01-03 | 8 | -106/+270 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix utab file and dir modes, add new debug messages | Karel Zak | 2011-01-03 | 5 | -9/+32 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | tests: improve libmount context mount and umount test | Karel Zak | 2011-01-03 | 1 | -0/+4 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add new debug messages, fix umount return code | Karel Zak | 2011-01-03 | 2 | -4/+18 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix context mount test | Karel Zak | 2011-01-03 | 3 | -39/+20 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix mnt_optstr_remove_option_at() | Karel Zak | 2011-01-03 | 1 | -1/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: support /{proc,etc}/filesystems | Karel Zak | 2011-01-03 | 7 | -39/+241 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add debug messages and fix typos in tab_update | Karel Zak | 2011-01-03 | 3 | -13/+32 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: rewrite update | Karel Zak | 2011-01-03 | 8 | -1010/+693 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix Makefile and tests | Karel Zak | 2011-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: improve function for work with mtab paths | Karel Zak | 2011-01-03 | 2 | -112/+122 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix comment for mnt_unlock_file() | Karel Zak | 2011-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add functions get mtab/utab paths | Karel Zak | 2011-01-03 | 1 | -37/+46 |
| | |||||
* | libmount: allow to overwrite mtab/fstab paths | Karel Zak | 2011-01-03 | 7 | -62/+140 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add LIBMOUNT_{MTAB,FSTAB} | Karel Zak | 2011-01-03 | 2 | -11/+17 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | tests: add libmount lock test | Karel Zak | 2011-01-03 | 1 | -9/+44 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | tests: add libmount tab_parse.c tests | Karel Zak | 2011-01-03 | 1 | -10/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup fstab parser, improve mnt_tab errcb usage | Karel Zak | 2011-01-03 | 4 | -20/+51 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix mnt_optstr_apply_flags() to work with optional variables | Karel Zak | 2011-01-03 | 1 | -5/+6 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | tests: use {src,build}dir variables for tests | Karel Zak | 2011-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: improve assert() and DBG() usage | Karel Zak | 2011-01-03 | 5 | -31/+99 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add umount(2) support | Karel Zak | 2011-01-03 | 6 | -91/+709 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_context_get_{fstab,mtab}() | Karel Zak | 2011-01-03 | 3 | -40/+91 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_tab_find_pair() | Karel Zak | 2011-01-03 | 3 | -16/+85 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: allows to swap source and target | Karel Zak | 2011-01-03 | 3 | -164/+149 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup mount.h | Karel Zak | 2011-01-03 | 1 | -38/+33 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: split context.c | Karel Zak | 2011-01-03 | 5 | -834/+909 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup helpers support | Karel Zak | 2011-01-03 | 1 | -114/+117 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: rewrite mountinfo/fstab parsers to use sscanf() | Karel Zak | 2011-01-03 | 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> |