Displaying 20 results from an estimated 568 matches for "readlinks".
Did you mean:
readlines
2016 Feb 29
3
Sys.readlink (on BSD vs Linux)
Hello,
sorry for not being clear enough.
My problem is represented with the following code, running on OSX:
mkdir ~/test
ln -s ~/test ~/testlink
touch ~/test/foo
Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo")); normalizePath(c("~/test/foo","~/testlink/foo"))'
I expected `Sys.readlink` to show the same output as `normalizePath`.
Also,
2016 Feb 29
2
Sys.readlink (on BSD vs Linux)
Hello together,
the function `Sys.readlink` uses the system's readlink command to resolve symlink paths. On OSX/BSD the command has a different meaning than on Linux [1].
There exists the tool 'realpath', which seems suitable for the task, at least applied at the command line level [2]. It is used in `normalizePath`.
I suggest (at least the latter) to
* use realpath instead readlink
2016 Feb 29
0
Sys.readlink (on BSD vs Linux)
> On Feb 29, 2016, at 5:59 AM, Sven Templer <sven.templer at gmail.com> wrote:
>
> Hello,
>
> sorry for not being clear enough.
>
> My problem is represented with the following code, running on OSX:
>
> mkdir ~/test
> ln -s ~/test ~/testlink
> touch ~/test/foo
> Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo"));
2014 Apr 15
1
[PATCH] Null terminate before printing the link name.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This fixes garbage I'm seeing consistently from readlink
/dev/disk/by-uuid/..... during boot.
Signed-off-by: Rafi Rubin <rafi at seas.upenn.edu>
- ---
usr/utils/readlink.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/usr/utils/readlink.c b/usr/utils/readlink.c
index 5ea4e41..75a0735 100644
- ---
2014 Apr 15
0
[klibc:master] readlink: Handle multiple input arguments
Commit-ID: 1ba3e80738407d13bc4a71812578848b6f657e23
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=1ba3e80738407d13bc4a71812578848b6f657e23
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 09:34:45 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 09:34:45 -0700
readlink: Handle multiple input
2016 Jan 06
0
[klibc:master] readlink: Add -f option
Commit-ID: 4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 6 Jan 2016 01:09:16 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:48:48 -0800
[klibc] readlink: Add -f option
2014 Apr 15
0
[klibc:master] readlink: Better buffer handling
Commit-ID: 4a66f39cb53fde78c4518615382be83a9e2bff0b
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4a66f39cb53fde78c4518615382be83a9e2bff0b
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 09:27:38 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 09:27:38 -0700
readlink: Better buffer handling
2014 Apr 15
0
[klibc:master] readlink: Reduce size by calling _fwrite() instead of puts()
Commit-ID: 06e395cd75dc79289ae789c146795189c32babd8
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=06e395cd75dc79289ae789c146795189c32babd8
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 13:23:49 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 13:23:49 -0700
readlink: Reduce size by calling
2015 Mar 03
2
[PATCH] actions: improve man page links
Switch from C<> to L<> for links to man pages, where wasn't done before.
---
generator/actions.ml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 9f32cb5..fb971d3 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -683,7 +683,7 @@ calls, parameters and return values are
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and
'mount -o defaults' to work.
The first two patches were previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49
2014 Sep 27
1
[PATCH 2/2] readlink: Add -f option
This is needed to support mounting non-root filesystems in
initramfs-tools.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
initramfs-tools 0.117 only works with busybox; this should allow it to
work with klibc again.
Ben.
--- a/usr/utils/readlink.c
+++ b/usr/utils/readlink.c
@@ -7,24 +7,45 @@ const char *progname;
static __noreturn usage(void)
{
- fprintf(stderr,
2003 Mar 16
2
> 2GB files on solaris with largefiles enabled!
Hello,
I'm facing a problem syncing files which is over 2GB size, eventhough i searched the archives and it been mentioned its possible if largefiles option is enabled, but still its giving me problems. i.e:
building file list ... readlink dir1/oracle_data1.tar: Value too large for defined data type
readlink dir1/oracle_data2.tar: Value too large for defined data type
readlink
2018 Apr 16
1
lstat & readlink calls during glusterfsd process startup
Hi all,
I am on gluster 3.10.5 with one EC volume 16+4.
One of the machines go down previous night and I just fixed it and powered on.
When glusterfsd processes started they consume all CPU on the server.
strace shows every process goes over in bricks directory and do a
lstat & readlink calls.
Each brick directory is 8TB, %60 full. I waited for 24 hours for it to
finish but it did not.
I
2009 Apr 28
1
rsync fails with "Permission denied" errors on random files over NFS
Hi
I use rsync for daily backups from a mailserver.
Every day the mailserver pushes backup to the backupserver.
Cron runs the command:
rsync -q -zrlpt --specials --chmod=Du+rwx \
--rsh 'ssh -F /root/ssh/config -i /root/ssh/private.key -o
UserKnownHostsFile=/root/ssh/known_hosts' \
--files-from=/root/include \
--exclude-from=/root/exclude \
--link-dest=../previous \
/
2008 May 20
4
Need help with rsync.
I have two hosts which have their respective keys loaded into each others
.ssh/authorized-keys2 file for root. I want to move a directory tree from one
host to the other via rsync to maintain a shadow structure of the application
provided on the main host.
This is the relevant part of the command:
rsync -avz --rsh=ssh --delete-after /var/data/pas-redmine
root at
2003 Jan 08
3
long directory name problem
Does rsync has directory name length limit? I was trying to rsync a directory that has the name length of 34 characters and getting permission denied error.
$ rsync -avz --delete --force -e ssh /usr/local/apache/htdocs 192.168.0.2:/usr/local/apache
building file list ...
readlink htdocs/CorporateLegalTimesEDITORIAL_files/cBug_blueXs.gif: Permission denied
readlink
2019 Jan 18
0
[klibc:master] remove unused variables
Commit-ID: f00d99cb73813d94730900e46752612a9ce4fadb
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f00d99cb73813d94730900e46752612a9ce4fadb
Author: Greg Thelen <gthelen at google.com>
AuthorDate: Sun, 25 Feb 2018 23:16:33 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] remove unused variables
Fix
2006 Sep 02
0
Dir.readlink
Hi all,
I was thinking we should have a Dir.readlink method that would follow a
junction to its destination. Sound good? Is ''readlink'' a good choice?
Or should we call it read_junction?
Regards,
Dan
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove.
This would break in the case of split Root and HostVG devices.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
scripts/ovirt-config-boot | 11 +--------
scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++---------------
scripts/ovirt-functions | 33 +++++++++++++++++++++++++++
3 files
2014 Sep 27
2
[PATCH 1/2] Implement realpath()
This is needed as the basis for the readlink -f option.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -92,4 +92,6 @@ static __inline__ int grantpt(int __fd)
return 0; /* devpts does this all for us! */
}
+__extern char *realpath(const char *, char *);
+
#endif /* _STDLIB_H */
--- a/usr/klibc/Kbuild
+++