Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | libmount: fix mount helpers call | Karel Zak | 2011-01-03 | 1 | -24/+115 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: update mtab after mount(2) | Karel Zak | 2011-01-03 | 1 | -7/+52 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: always store rw/ro flags to mtab | Karel Zak | 2011-01-03 | 1 | -15/+52 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: update mount.sym | Karel Zak | 2011-01-03 | 2 | -4/+4 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: extend mnt_update_* API | Karel Zak | 2011-01-03 | 3 | -1/+61 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mount(2) and /sbin/mount.<type> support | Karel Zak | 2011-01-03 | 4 | -41/+281 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mtab managment to context API | Karel Zak | 2011-01-03 | 3 | -7/+77 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: use attribute __format__ for debug routines | Karel Zak | 2011-01-03 | 4 | -6/+9 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add FS detection | Karel Zak | 2011-01-03 | 5 | -29/+151 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: better permissions and optstr evaliation | Karel Zak | 2011-01-03 | 1 | -67/+155 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add DBG() to optstr.c | Karel Zak | 2011-01-03 | 1 | -3/+25 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: minor cleanup in optstr.c | Karel Zak | 2011-01-03 | 1 | -7/+7 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_optstr_fix_user | Karel Zak | 2011-01-03 | 3 | -1/+43 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: clean up mountflags usage | Karel Zak | 2011-01-03 | 4 | -56/+178 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: improve parsers return codes | Karel Zak | 2011-01-03 | 4 | -142/+191 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: rewrite optstr translation | Karel Zak | 2011-01-03 | 5 | -139/+268 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: implement mnt_context_subst_optstr() | Karel Zak | 2011-01-03 | 2 | -25/+66 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add routines for uid=, git= and context= translation | Karel Zak | 2011-01-03 | 3 | -0/+205 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add utils for work with uid/gid | Karel Zak | 2011-01-03 | 2 | -0/+46 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add first part of high-level API | Karel Zak | 2011-01-03 | 2 | -0/+1128 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup mount.sym | Karel Zak | 2011-01-03 | 1 | -38/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_context | Karel Zak | 2011-01-03 | 1 | -0/+7 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_optstr_get_userspace_mountflags() | Karel Zak | 2011-01-03 | 4 | -26/+86 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add MNT_FS_SWAP flag | Karel Zak | 2011-01-03 | 4 | -11/+24 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup debug flags | Karel Zak | 2011-01-03 | 2 | -18/+22 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: improve debugging, fix optstr prepend | Karel Zak | 2011-01-03 | 2 | -3/+5 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add new pseudo filesystems | Karel Zak | 2011-01-03 | 1 | -0/+4 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_fs_prepend_optstr() | Karel Zak | 2011-01-03 | 5 | -8/+38 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add mnt_optstr_prepend_option() | Karel Zak | 2011-01-03 | 3 | -2/+56 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: fix optstr test | Karel Zak | 2011-01-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: rewrite DBG() macro | Karel Zak | 2011-01-03 | 9 | -105/+113 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: add new psetudo filesystems | Karel Zak | 2011-01-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (tab_parse.c) | Karel Zak | 2011-01-03 | 1 | -60/+78 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (tab.c) | Karel Zak | 2011-01-03 | 1 | -21/+21 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (optstr.c) | Karel Zak | 2011-01-03 | 1 | -45/+42 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (optmap.c) | Karel Zak | 2011-01-03 | 1 | -4/+4 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (lock.c) | Karel Zak | 2011-01-03 | 1 | -16/+24 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (iter.c) | Karel Zak | 2011-01-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (fs.c) | Karel Zak | 2011-01-03 | 1 | -60/+50 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: cleanup return codes (cache.c) | Karel Zak | 2011-01-03 | 5 | -16/+18 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: clean up mnt_fs_set_optstr() | Karel Zak | 2011-01-03 | 6 | -22/+65 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: improve an rename API for mtab management | Karel Zak | 2011-01-03 | 4 | -268/+312 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: update tests | Karel Zak | 2011-01-03 | 2 | -2/+2 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libmount: update mount.{h,sym} | Karel Zak | 2011-01-03 | 2 | -1/+31 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> |