Displaying 20 results from an estimated 42 matches for "ftruncate64".
2004 Jan 28
6
long long on 32-bit machines
Hi all,
Does anyone happen to know if there are *any* 32-bit architectures (on
which Linux runs) for which the ABI for a "long long" is different from
passing two "longs" in the appropriate order, i.e. (hi,lo) for bigendian
or (lo,hi) for littleendian?
I'd like to switch klibc to use the 64-bit file ABI thoughout, but it's
a considerable porting effort, and
2015 Apr 22
3
Samba 4 slow write
Hi Louis,
On Wed, Apr 22, 2015 at 01:15:21PM +0200, L.P.H. van Belle wrote:
> Or..
> get the sources and recompile agains 14.04
>
> use the following commands.
> enable the deb-src in /etc/apt/sources.list
> and run :
>
> apt-get build-dep sernet-samba
> apt-get source sernet-samba -b
>
> you wil end up with .deb files ;-)
yep, thanks - I'll check it
2015 Apr 23
0
Samba 4 slow write
...rt_sigaction
0.18 0.001208 0 200097 fstat64
0.13 0.000878 0 25001 setxattr
0.09 0.000602 0 15000 SYS_320
0.03 0.000227 0 30000 20000 flock
0.03 0.000194 0 5000 ftruncate64
0.01 0.000067 0 6110 fstatat64
0.01 0.000050 0 850 850 connect
0.00 0.000032 0 850 socket
0.00 0.000022 0 5025 clock_gettime
0.00 0.000005 0 16 umask...
2015 Apr 20
4
Samba 4 slow write
Hi Jones,
many thanks for your reply.
Yepp, I'm using ACL's (Posix ACL's) on filesystem to regulate the
access of users for files and directories.
Do you mean that this is the "normal" way? These geteuid and
getegid system calls are so slow?
On the previous system (Debian Wheezy, Samba 3) I've also used
ACL's, but there were much faster than this...
What should
2015 Apr 22
0
Samba 4 slow write
...unmap
0.45 0.002182 0 160038 160038 lstat64
0.40 0.001905 0 320076 alarm
0.38 0.001800 0 400095 getgroups32
0.36 0.001727 0 320076 rt_sigaction
0.34 0.001634 0 10000 ftruncate64
0.33 0.001595 0 160039 mmap2
0.27 0.001287 0 80020 read
0.20 0.000963 0 190058 fstat64
0.17 0.000814 0 160040 _llseek
0.16 0.000786 0 25001 setxattr
0.09...
2001 Nov 03
1
Samba swamps the server's CPU
...2812 stat64
1.55 0.470409 44 10642 _llseek
1.12 0.339316 80 4263 192 open
0.91 0.276100 45 6190 fstat64
0.74 0.226241 55 4084 3 close
0.12 0.036709 243 151 ftruncate64
0.03 0.009962 39 255 geteuid32
0.03 0.009618 38 253 getegid32
[snipped for brevity]
------ ----------- ----------- --------- --------- ----------------
100.00 30.407128 184547 3021 total
I have no idea where to go fr...
2015 Apr 23
2
Samba 4 slow write
...0.001208 0 200097 fstat64
> 0.13 0.000878 0 25001 setxattr
> 0.09 0.000602 0 15000 SYS_320
> 0.03 0.000227 0 30000 20000 flock
> 0.03 0.000194 0 5000 ftruncate64
> 0.01 0.000067 0 6110 fstatat64
> 0.01 0.000050 0 850 850 connect
> 0.00 0.000032 0 850 socket
> 0.00 0.000022 0 5025 clock_gettime
> 0.00 0.000005 0...
2004 Aug 23
0
[Bug 1646] New: --inplace with --backup --backup-dir does not work
...kup-dir previous destfile remotehost:/destdir/
...or more simply:
rsync -avx --stats --inplace --backup --backup-dir previous \
/etc/hosts /tmp/rsynctest/
strace watching the rsync running on the destination:
[...]
write(1, "160134 octets, for a total of 19296646"..., 160134) = 160134
ftruncate64(0x1, 0x1267186, 0, 0, 0x1) = 0
close(1) = 0
lstat64(0xbfffebac, 0xbfffba5c) = 0
lstat64(0xbfffa9bc, 0xbfffb9cc) = 0
rename("destfile", "previous/destfile") = 0
lstat64(0x8080780, 0xbfffb9cc) = 0
lstat64(0xbfffebac, 0xbfffba7c) = -1 ENOENT (No such file or dire...
2007 Jul 30
2
DO NOT REPLY [Bug 4834] New: --inplace with --backup --backup-dir does not work
...kup-dir previous destfile remotehost:/destdir/
...or more simply:
rsync -avx --stats --inplace --backup --backup-dir previous \
/etc/hosts /tmp/rsynctest/
strace watching the rsync running on the destination:
[...]
write(1, "160134 octets, for a total of 19296646"..., 160134) = 160134
ftruncate64(0x1, 0x1267186, 0, 0, 0x1) = 0
close(1) = 0
lstat64(0xbfffebac, 0xbfffba5c) = 0
lstat64(0xbfffa9bc, 0xbfffb9cc) = 0
rename("destfile", "previous/destfile") = 0
lstat64(0x8080780, 0xbfffb9cc) = 0
lstat64(0xbfffebac, 0xbfffba7c) = -1 ENOENT (No such file or dire...
2016 Jan 06
0
[klibc:master] Add pread and pwrite 32bit syscall wrappers for parisc
...iff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index 41cfa17..c56e8f9 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -189,8 +189,10 @@ int fdatasync,fsync::fdatasync(int);
int readv(int, const struct iovec *, int);
int writev(int, const struct iovec *, int);
int ftruncate64,ftruncate::ftruncate(int, off_t);
-ssize_t pread64,pread::pread(int, void *, size_t, off_t);
-ssize_t pwrite64,pwrite::pwrite(int, void *, size_t, off_t);
+<parisc> ssize_t pread64,pread::__pread(int, void *, size_t, off_t);
+<parisc> ssize_t pwrite64,pwrite::__pwrite(int, void *, size_...
2012 Oct 25
0
Compiling Samba4 RC3 on AIX 6.1 with IBM vac
...declaration on line 62 of
"/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long long"
of parameter 3 differs from the previous type "long".
"/usr/include/unistd.h", line 809.33: 1506-343 (S) Redeclaration of
ftruncate64 differs from previous declaration on line 807 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 809.33: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 845.33: 1506-343 (S...
2007 Nov 12
2
Bug#447153: /usr/bin/scp: Fails to notice write errors
...t64 resumed> {st_mode=S_IFREG|0744, st_size=141, ...}) = 0
[pid 25301] read(0, <unfinished ...>
[pid 25301] <... read resumed> "import gtk\nimport locale\nlocale."..., 141) = 141
[pid 25301] write(3, "import gtk\nimport locale\nlocale."..., 141) = 141
[pid 25301] ftruncate64(3, 141) = 0
[pid 25301] close(3) = 0
[pid 25301] read(0, "\0", 1) = 1
[pid 25301] write(1, "\0", 1) = 1
[pid 25301] read(0, <unfinished ...>
[pid 25301] <... read resumed> "", 1) = 0
[pid 25301] exit_group(...
2002 Dec 25
1
Trouble installing samba
...; checking for ftruncate... no
> checking for stat64... no
> checking for fstat64... no
> checking for lstat64... no
> checking for fopen64... no
> checking for atexit... no
> checking for grantpt... no
> checking for dup2... no
> checking for lseek64... no
> checking for ftruncate64... no
> checking for readdir64... no
> checking for fseek64... no
> checking for fseeko64... no
> checking for ftell64... no
> checking for ftello64... no
> checking for setluid... no
> checking for getpwanam... no
> checking for setlinebuf... no
> checking for srandom......
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...ime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for fopen64... yes
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for fseek64... no
checking for ftell64... no
checking for setluid... no
checking for yp_get_default_domain... yes
checking for getpwanam... no
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... no
checking...
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...r mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... no
checking for fstat64... no
checking for lstat64... no
checking for fopen64... no
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... no
checking for ftruncate64... no
checking for readdir64... no
checking for fseek64... no
checking for fseeko64... no
checking for ftell64... no
checking for ftello64... no
checking for setluid... no
checking for getpwanam... no
checking for setlinebuf... yes
checking for srandom... yes
checking for random... yes
checking for...
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various
architectures that we've applied in Debian.
Ben.
Aurelien Jarno (1):
ppc64: fix struct stat
Ben Hutchings (2):
MIPS: Update archfcntl.h
syscalls: Override detection of direct socket syscalls on i386, m68k,
s390
Helge Deller (1):
Add pread and pwrite 32bit syscall wrappers for parisc
Mauricio Faria de Oliveira
2002 Oct 21
1
compilation probs...
...ing for mktime... no
checking for rename... no
checking for ftruncate... no
checking for stat64... no
checking for fstat64... no
checking for lstat64... no
checking for fopen64... no
checking for atexit... no
checking for grantpt... no
checking for dup2... no
checking for lseek64... no
checking for ftruncate64... no
checking for readdir64... no
checking for fseek64... no
checking for fseeko64... no
checking for ftell64... no
checking for ftello64... no
checking for setluid... no
checking for getpwanam... no
checking for setlinebuf... no
checking for srandom... no
checking for random... no
checking for sr...
2002 Oct 29
1
Problem running ./configure
...ing for mktime... no checking for rename... no checking for
ftruncate... no checking for stat64... no checking for fstat64... no
checking for lstat64... no checking for fopen64... no checking for
atexit... no checking for grantpt... no checking for dup2... no checking
for lseek64... no checking for ftruncate64... no checking for
readdir64... no checking for fseek64... no checking for fseeko64... no
checking for ftell64... no checking for ftello64... no checking for
setluid... no checking for getpwanam... no checking for setlinebuf... no
checking for srandom... no checking for random... no checking for
sr...
2001 Jun 22
0
Half-Life: Selected Mode is not supported by your card
..._errno... no
checking for reentrant X libraries... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for __libc_fork... yes
checking for _lwp_create... no
checking for clone... yes
checking for ecvt... yes
checking for finite... yes
checking for fpclass... no
checking for ftruncate64... yes
checking for getnetbyaddr... yes
checking for getnetbyname... yes
checking for getpagesize... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getrlimit... yes
checking for getservbyport... yes
checking for getsockopt... yes
checking for inet_network.....
2003 Jun 02
2
./configure --with-pam fails allways
...king for stat64
configure:5644: checking for fstat64
configure:5699: checking for lstat64
configure:5699: checking for fopen64
configure:5699: checking for atexit
configure:5699: checking for grantpt
configure:5699: checking for dup2
configure:5699: checking for lseek64
configure:5699: checking for ftruncate64
configure:5699: checking for readdir64
configure:5754: checking for fseek64
configure:5754: checking for fseeko64
configure:5754: checking for ftell64
configure:5754: checking for ftello64
configure:5754: checking for setluid
configure:5754: checking for getpwanam
configure:5754: checking for setli...