Displaying 20 results from an estimated 38 matches for "is_symlink".
2017 Jul 14
0
[PATCH 07/27] daemon: Reimplement ‘is_dir’, ‘is_file’ and ‘is_symlink’ APIs in OCaml.
...(r <= 0) return r;
- return S_ISDIR (mode);
-}
-
-/* Takes optional arguments, consult optargs_bitmask. */
-int
do_is_chardev (const char *path, int followsymlinks)
{
mode_t mode;
@@ -112,17 +82,6 @@ do_is_fifo (const char *path, int followsymlinks)
return S_ISFIFO (mode);
}
-int
-do_is_symlink (const char *path)
-{
- mode_t mode;
- int r;
-
- r = get_mode (path, &mode, 0);
- if (r <= 0) return r;
- return S_ISLNK (mode);
-}
-
/* Takes optional arguments, consult optargs_bitmask. */
int
do_is_socket (const char *path, int followsymlinks)
diff --git a/daemon/is.ml b/daemon/i...
2017 Jun 03
12
[PATCH v2 00/12] Allow APIs to be implemented in OCaml.
Version 1 was here:
https://www.redhat.com/archives/libguestfs/2017-June/msg00003.html
This patch series reimplements a few more APIs in OCaml, including
some very important core APIs like ?list_filesystems? and ?mount?.
All the tests pass after this.
The selection of APIs that I have moved may look a little random, but
in fact they are all APIs consumed by the inspection code (and some
more
2019 Aug 14
9
[9.0.0 Release] Release Candidate 2 is here
Hello everyone,
9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc2
Binaries will be added as they become available.
The tag went in roughly one week behind schedule (see "Upcoming
Releases" at https://llvm.org), but
2019 Jul 29
10
[9.0.0 Release] Release Candidate 1 is here
Hi everyone,
9.0.0-rc1 was just tagged from the release_90 branch at r367217
(tagged as llvmorg-9.0.0-rc1 in the Git monorepo).
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc1
Binaries will be added as they become available.
Please file bug reports for any issues you find as blockers of
https://llvm.org/PR42474
Release testers: please start your engines, run the
2019 Sep 13
4
[9.0.0 Release] Release Candidate 5 is here
Hello everyone,
9.0.0-rc5 was just tagged from the release_90 branch at r371837. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc5.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc5 Binaries will be added as they
become available.
There is only a single change from rc4 to rc5. Once more, the hope is
that this will be the last release candidate and that we can
2019 Dec 14
5
LLVM 9.0.1-rc3 has been tagged
Hi,
I've just tagged LLVM 9.0.1-rc3. Testers can begin testing and uploading
binaries. This will be the last release candidate unless there is a
major problem. I'm planning to tag the final release on Dec 19.
-Tom
2017 Jul 14
45
[PATCH 00/27] Reimplement many daemon APIs in OCaml.
Previously posted as part of the mega utilities/inspection
series here:
https://www.redhat.com/archives/libguestfs/2017-June/msg00232.html
What I've done is to extract just the parts related to rewriting
daemon APIs in OCaml, rebase them on top of the current master, fix a
few things, and recompile and test everything.
Rich.
2019 Sep 10
15
[9.0.0 Release] Release Candidate 4 is here
Hello again,
9.0.0-rc4 was just tagged from the release_90 branch at r371490. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc4.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc4 Binaries will be added as they
become available.
There are not a lot of changes from rc3 to rc4, and there are again no
open release blockers, so I'm hoping this will be the last
2018 Apr 09
0
[PATCH 3/3] daemon: autogenerate most of OCaml interfaces
...General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *)
-
-val is_file : ?followsymlinks:bool -> string -> bool
-val is_dir : ?followsymlinks:bool -> string -> bool
-val is_symlink : string -> bool
diff --git a/daemon/ldm.mli b/daemon/ldm.mli
deleted file mode 100644
index 74afdf5d8..000000000
--- a/daemon/ldm.mli
+++ /dev/null
@@ -1,20 +0,0 @@
-(* guestfs-inspection
- * Copyright (C) 2009-2018 Red Hat Inc.
- *
- * This program is free software; you can redistribute it and...
2019 Nov 23
5
LLVM 9.0.1-rc1 Release has been tagged
Hi,
I've tagged the LLVM 9.0.1-rc1 release. Testers can begin testing and upload
binaries. I've also updated the test-release.sh script to pull from GitHub
instead of SVN, if you run into any issues with the new script, let me know.
-Tom
2019 Dec 20
7
LLVM 9.0.1-final has been tagged
Hi,
I've just tagged the 9.0.1-final release. Testers can begin uploading binaries.
-Tom
2018 Apr 10
0
[PATCH v2 5/5] daemon: autogenerate OCaml interfaces
...General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *)
-
-val is_file : ?followsymlinks:bool -> string -> bool
-val is_dir : ?followsymlinks:bool -> string -> bool
-val is_symlink : string -> bool
diff --git a/daemon/ldm.mli b/daemon/ldm.mli
deleted file mode 100644
index 74afdf5d8..000000000
--- a/daemon/ldm.mli
+++ /dev/null
@@ -1,20 +0,0 @@
-(* guestfs-inspection
- * Copyright (C) 2009-2018 Red Hat Inc.
- *
- * This program is free software; you can redistribute it and...
2019 Aug 30
9
[9.0.0 Release] Release Candidate 3 is here
Hello everyone,
9.0.0-rc3 was tagged today from the release_90 branch at r370450. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc3.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc3
Binaries will be added as they become available.
There are currently no open release blockers, which means if nothing
new comes up, the final release could ship soon and this is
2019 Dec 07
6
LLVM 9.0.1-rc2 has been tagged
Hi,
I've tagged LLVM 9.0.1-rc2. Testers can begin testing and uploading binaries.
If all goes well, this will be the last -rc.
-Tom
2017 Jun 05
19
[PATCH v3 00/19] Allow APIs to be implemented in OCaml.
v2 was here:
https://www.redhat.com/archives/libguestfs/2017-June/msg00008.html
This series gets as far as a working (and faster) reimplementation of
‘guestfs_list_filesystems’.
I also have another patch series on top of this one which reimplements
the inspection APIs inside the daemon, but that needs a bit more work
still, since inspection turns out to be a very large piece of code.
Rich.
2019 Sep 17
18
[9.0.0 Release] Release Candidate 6 is here
Hello everyone,
9.0.0-rc6 was just tagged from the release_90 branch at r372100. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc6.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc6
This is the same as rc5 plus one very minor change (r371969) that
still seemed good to pick up.
I'm not allocating extra time for testing this one, expecting to tag
2017 Jul 27
23
[PATCH v3 00/23] Reimplement many daemon APIs in OCaml.
I think this fixes everything mentioned:
- Added the Optgroups module as suggested.
- Remove command temporary files.
- Replace command ~flags with ?fold_stdout_on_stderr.
- Nest _with_mounted function.
- Rebase & retest.
Rich.
2014 Jan 21
1
[PATCH 1/2] sysprep: Update comments.
---
sysprep/sysprep_operation.mli | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation.mli b/sysprep/sysprep_operation.mli
index 61dde72..eb89db4 100644
--- a/sysprep/sysprep_operation.mli
+++ b/sysprep/sysprep_operation.mli
@@ -16,14 +16,16 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*)
-(** Structure used to describe sysprep
2017 Jul 21
27
[PATCH v2 00/23] Reimplement many daemon APIs in OCaml.
v1 was posted here:
https://www.redhat.com/archives/libguestfs/2017-July/msg00098.html
This series now depends on two small patches which I posted separately:
https://www.redhat.com/archives/libguestfs/2017-July/msg00207.html
https://www.redhat.com/archives/libguestfs/2017-July/msg00209.html
v1 -> v2:
- Previously changes to generator/daemon.ml were made incrementally
through the patch
2018 Apr 09
5
[PATCH 0/3] daemon: generate almost all the API OCaml interfaces
Hi,
as a followup for the signature fix for mount_vfs [1], here it is a
patch series to generate automatically most of the OCaml interfaces of
daemon actions. Only the Lvm and Mount modules are left with
hand-written interfaces.
[1] https://www.redhat.com/archives/libguestfs/2018-April/msg00059.html
Thanks,
Pino Toscano (3):
daemon: directly use Optgroups
daemon: use the structs from the