]>
err.no Git - util-linux/log
Karel Zak [Wed, 15 Dec 2010 14:06:25 +0000 (15:06 +0100)]
findmnt: use new libmount functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Dec 2010 22:50:55 +0000 (23:50 +0100)]
libmount: use separate buffer for userspace options, add mount attributes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:16:47 +0000 (00:16 +0100)]
mount: read mtab by libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:16:07 +0000 (00:16 +0100)]
build-sys: add --enable-libmount-mount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:09:40 +0000 (00:09 +0100)]
libmount: add mntent.h compatible stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 23:08:11 +0000 (00:08 +0100)]
libmount: cleanup mangle() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Dec 2010 10:47:20 +0000 (11:47 +0100)]
libmount: minor fixes in cache.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 3 Dec 2010 20:13:52 +0000 (21:13 +0100)]
libmount: remove utab from API, update tests
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>
Karel Zak [Fri, 26 Nov 2010 13:33:29 +0000 (14:33 +0100)]
libmount: fix to work with btrfs subvolume user mounts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Nov 2010 22:22:53 +0000 (23:22 +0100)]
libmount: use better format for utab, improve bind mounts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 19:39:55 +0000 (20:39 +0100)]
libmount: fix utab file and dir modes, add new debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 12:06:46 +0000 (13:06 +0100)]
tests: improve libmount context mount and umount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 23 Nov 2010 11:21:12 +0000 (12:21 +0100)]
libmount: add new debug messages, fix umount return code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 23:26:49 +0000 (00:26 +0100)]
findmnt: fix exit code
... returns 1 if nothing printed.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:21:53 +0000 (23:21 +0100)]
findmnt: use new tab parsing API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:15:54 +0000 (23:15 +0100)]
libmount: fix context mount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 22 Nov 2010 22:15:00 +0000 (23:15 +0100)]
tests: add basic libmount tests for mounting
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 19 Nov 2010 12:15:19 +0000 (13:15 +0100)]
libmount: fix mnt_optstr_remove_option_at()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 10 Nov 2010 00:25:07 +0000 (01:25 +0100)]
libmount: support /{proc,etc}/filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 11:22:01 +0000 (12:22 +0100)]
tests: add utab update tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 11:21:41 +0000 (12:21 +0100)]
libmount: add debug messages and fix typos in tab_update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 10:14:44 +0000 (11:14 +0100)]
libmount: rewrite update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 8 Nov 2010 10:12:35 +0000 (11:12 +0100)]
libmount: fix Makefile and tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 2 Nov 2010 12:54:47 +0000 (13:54 +0100)]
libmount: improve function for work with mtab paths
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 2 Nov 2010 12:52:47 +0000 (13:52 +0100)]
libmount: fix comment for mnt_unlock_file()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 31 Oct 2010 00:05:51 +0000 (02:05 +0200)]
libmount: add functions get mtab/utab paths
Karel Zak [Thu, 21 Oct 2010 07:00:50 +0000 (09:00 +0200)]
tests: add libmount mtab update test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 21 Oct 2010 06:57:02 +0000 (08:57 +0200)]
libmount: allow to overwrite mtab/fstab paths
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 20 Oct 2010 10:40:55 +0000 (12:40 +0200)]
tests: add quoted optstr
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 20 Oct 2010 10:40:02 +0000 (12:40 +0200)]
tests: improve subtests initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 19 Oct 2010 13:21:03 +0000 (15:21 +0200)]
libmount: add LIBMOUNT_{MTAB,FSTAB}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 19 Oct 2010 12:30:07 +0000 (14:30 +0200)]
tests: add libmount lock test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 19 Oct 2010 09:44:30 +0000 (11:44 +0200)]
tests: add libmount utils.c tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 18 Oct 2010 14:22:20 +0000 (16:22 +0200)]
tests: add libmount tags tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 18 Oct 2010 13:46:12 +0000 (15:46 +0200)]
tests: add libmount mtab tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 18 Oct 2010 12:42:42 +0000 (14:42 +0200)]
tests: add libmount tab_parse.c tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 18 Oct 2010 12:19:21 +0000 (14:19 +0200)]
libmount: cleanup fstab parser, improve mnt_tab errcb usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 15 Oct 2010 13:53:33 +0000 (15:53 +0200)]
tests: add libmount optstr.c tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 15 Oct 2010 13:51:25 +0000 (15:51 +0200)]
libmount: fix mnt_optstr_apply_flags() to work with optional variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 14 Oct 2010 14:09:14 +0000 (16:09 +0200)]
tests: use {src,build}dir variables for tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 12 Oct 2010 14:17:16 +0000 (16:17 +0200)]
libmount: improve assert() and DBG() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 12 Oct 2010 13:04:28 +0000 (15:04 +0200)]
libmount: add umount(2) support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 6 Oct 2010 21:26:01 +0000 (23:26 +0200)]
libmount: add mnt_context_get_{fstab,mtab}()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 6 Oct 2010 21:25:15 +0000 (23:25 +0200)]
libmount: add mnt_tab_find_pair()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 4 Oct 2010 12:09:55 +0000 (14:09 +0200)]
libmount: allows to swap source and target
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 4 Oct 2010 12:09:28 +0000 (14:09 +0200)]
libmount: cleanup mount.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 4 Oct 2010 11:37:33 +0000 (13:37 +0200)]
libmount: split context.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 4 Oct 2010 10:18:41 +0000 (12:18 +0200)]
libmount: cleanup helpers support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 1 Oct 2010 11:05:58 +0000 (13:05 +0200)]
libmount: rewrite mountinfo/fstab parsers to use sscanf()
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>
Karel Zak [Thu, 30 Sep 2010 20:22:24 +0000 (22:22 +0200)]
libmount: fix mount helpers call
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Sep 2010 10:08:36 +0000 (12:08 +0200)]
libmount: update mtab after mount(2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Sep 2010 10:07:50 +0000 (12:07 +0200)]
libmount: always store rw/ro flags to mtab
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Sep 2010 09:02:50 +0000 (11:02 +0200)]
libmount: update mount.sym
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Sep 2010 08:42:20 +0000 (10:42 +0200)]
libmount: extend mnt_update_* API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Sep 2010 21:42:43 +0000 (23:42 +0200)]
libmount: add mount(2) and /sbin/mount.<type> support
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Sep 2010 10:23:59 +0000 (12:23 +0200)]
libmount: add mtab managment to context API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Sep 2010 09:19:18 +0000 (11:19 +0200)]
libmount: use attribute __format__ for debug routines
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Sep 2010 23:26:31 +0000 (01:26 +0200)]
libmount: add FS detection
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Sep 2010 14:52:54 +0000 (16:52 +0200)]
libmount: better permissions and optstr evaliation
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Sep 2010 14:25:01 +0000 (16:25 +0200)]
libmount: add DBG() to optstr.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Sep 2010 10:16:59 +0000 (12:16 +0200)]
libmount: minor cleanup in optstr.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Sep 2010 10:14:41 +0000 (12:14 +0200)]
libmount: add mnt_optstr_fix_user
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 24 Sep 2010 23:48:38 +0000 (01:48 +0200)]
libmount: clean up mountflags usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 24 Sep 2010 21:23:06 +0000 (23:23 +0200)]
libmount: improve parsers return codes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 24 Sep 2010 11:04:35 +0000 (13:04 +0200)]
libmount: rewrite optstr translation
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Sep 2010 19:47:54 +0000 (21:47 +0200)]
libmount: implement mnt_context_subst_optstr()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Sep 2010 19:46:49 +0000 (21:46 +0200)]
libmount: add routines for uid=, git= and context= translation
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Sep 2010 19:44:19 +0000 (21:44 +0200)]
libmount: add utils for work with uid/gid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 21 Sep 2010 11:11:55 +0000 (13:11 +0200)]
libmount: add first part of high-level API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:57:19 +0000 (16:57 +0200)]
libmount: cleanup mount.sym
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:56:15 +0000 (16:56 +0200)]
libmount: add mnt_context
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:55:47 +0000 (16:55 +0200)]
libmount: add mnt_optstr_get_userspace_mountflags()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:31:38 +0000 (16:31 +0200)]
libmount: add MNT_FS_SWAP flag
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:29:06 +0000 (16:29 +0200)]
libmount: cleanup debug flags
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:27:06 +0000 (16:27 +0200)]
libmount: improve debugging, fix optstr prepend
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 15 Sep 2010 14:23:54 +0000 (16:23 +0200)]
libmount: add new pseudo filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Sep 2010 08:50:49 +0000 (10:50 +0200)]
libmount: add mnt_fs_prepend_optstr()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 14 Sep 2010 08:42:44 +0000 (10:42 +0200)]
libmount: add mnt_optstr_prepend_option()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Sep 2010 15:17:14 +0000 (17:17 +0200)]
libmount: fix optstr test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Sep 2010 15:06:18 +0000 (17:06 +0200)]
libmount: rewrite DBG() macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 27 Aug 2010 08:14:32 +0000 (10:14 +0200)]
libmount: add new psetudo filesystems
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 27 Aug 2010 08:11:09 +0000 (10:11 +0200)]
libmount: cleanup return codes (tab_parse.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 26 Aug 2010 12:35:36 +0000 (14:35 +0200)]
libmount: cleanup return codes (tab.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 25 Aug 2010 10:14:40 +0000 (12:14 +0200)]
libmount: cleanup return codes (optstr.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 25 Aug 2010 09:26:57 +0000 (11:26 +0200)]
libmount: cleanup return codes (optmap.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 25 Aug 2010 09:20:32 +0000 (11:20 +0200)]
libmount: cleanup return codes (lock.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 25 Aug 2010 08:55:10 +0000 (10:55 +0200)]
libmount: cleanup return codes (iter.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 24 Aug 2010 14:30:39 +0000 (16:30 +0200)]
libmount: cleanup return codes (fs.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 24 Aug 2010 14:17:16 +0000 (16:17 +0200)]
libmount: cleanup return codes (cache.c)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 24 Aug 2010 14:03:50 +0000 (16:03 +0200)]
libmount: clean up mnt_fs_set_optstr()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 10 Aug 2010 13:27:23 +0000 (15:27 +0200)]
libmount: improve an rename API for mtab management
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 10 Aug 2010 13:26:59 +0000 (15:26 +0200)]
libmount: update tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Aug 2010 11:11:52 +0000 (13:11 +0200)]
libmount: update mount.{h,sym}
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Aug 2010 11:03:34 +0000 (13:03 +0200)]
libmount: use mnt_fs for mtab API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Aug 2010 09:50:39 +0000 (11:50 +0200)]
libmount: fix datatype for mountflags
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Aug 2010 12:28:19 +0000 (14:28 +0200)]
libmount: remove unnecessary options container
It seems that we are able to be happy with option strings only. The
mnt_optls stuff was over-engineering.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Aug 2010 11:47:37 +0000 (13:47 +0200)]
libmount: add support for mtab managment
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Aug 2010 11:14:58 +0000 (13:14 +0200)]
lib: fix mange() and unmangle() to handle NULL
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Aug 2010 10:35:54 +0000 (12:35 +0200)]
libmount: correctly use "none" values
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Aug 2010 10:26:00 +0000 (12:26 +0200)]
findmnt: add support for fs-root (subvolumes and bind mounts)
This patch modifies the default output for SOURCE column. All btrfs
subvolume mountpoints and all bind-mount (where source is not root of
FS) will be printed as:
SOURCE TARGET
/dev/sda1[/aaa] /mnt/test
where /aaa is subvolume name or fs root for bind mounts, it means:
# mount -t btrfs /dev/sda1 /mnt/test -o subvol=aaa
or:
# mount --bind /aaa /mnt/test
The info about fs-root is 4th column in /proc/self/mountinfo.
Signed-off-by: Karel Zak <kzak@redhat.com>