search for: fstatvf

Displaying 20 results from an estimated 29 matches for "fstatvf".

Did you mean: fstatvfs
2009 Jul 14
4
error on solaris please help interlocked*functions
...dep.o makedep.c > cc -g -D__i386__ -o makedep makedep.o > ../tools/makedep -C. -S.. -T.. -I/usr/include/freetype2 fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c > `makedep' is up to date. > ../../tools/makedep -C. -S../.. -T../.. ffs.c fstatvfs.c futimes.c getopt.c getopt1.c getpagesize.c gettid.c interlocked.c isinf.c isnan.c lstat.c memcpy_unaligned.c memmove.c mkstemps.c poll.c pread.c pwrite.c readlink.c spawn.c statvfs.c strcasecmp.c strerror.c strncasecmp.c symlink.c usleep.c > cc -c...
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...============================================ --- ssh.orig/sftp-client.c 2009-02-10 14:54:58.000000000 +0100 +++ ssh/sftp-client.c 2009-02-10 15:15:08.000000000 +0100 @@ -63,6 +63,7 @@ struct sftp_conn { #define SFTP_EXT_POSIX_RENAME 0x00000001 #define SFTP_EXT_STATVFS 0x00000002 #define SFTP_EXT_FSTATVFS 0x00000004 +#define SFTP_EXT_LINK 0x00000008 u_int exts; }; @@ -328,10 +329,14 @@ do_init(int fd_in, int fd_out, u_int tra strcmp(value, "2") == 0) { exts |= SFTP_EXT_STATVFS; known = 1; - } if (strcmp(name, "fstatvfs at openssh.com") == 0 && + }...
2009 Jan 26
4
Error while building wine 1.1.13 on Mac Os X
...in subject, when I try building wine 1.1.13 using Mac OS X 10.5.6 using both the latest developer tools and fink packages (for libjpeg, libpng, libxml2, etc) it gives an error on "make && make depend" with the following message: -- rm -f libwine_port.a ar rc libwine_port.a ffs.o fstatvfs.o futimes.o getopt.o getopt1.o getpagesize.o gettid.o interlocked.o isinf.o isnan.o lstat.o memcpy_unaligned.o memmove.o mkstemps.o poll.o pread.o pwrite.o readlink.o spawn.o statvfs.o strcasecmp.o strerror.o strncasecmp.o symlink.o usleep.o ar: temporary file: Permission denied make[2]: *** [...
2017 Sep 06
2
Disallow some sftp commands
Hello, Couple of days ago, I received a request from a customer. He wants to provide sftp users access to a directory tree containing files. The users must have full rights, but he also wants to avoid moving or deleting directories. This is mostly to prevent mistakenly drag and drop from user's graphical client (Filezilla). Said differently, he wants to protect the directories organization.
2018 Mar 23
2
Call for testing: OpenSSH 7.7
...ot;"put ${DATA} copy" on its stdin. The client log says: debug2: Remote version: 3 debug2: Server supports extension "posix-rename at openssh.com" revision 1 debug2: Server supports extension "statvfs at openssh.com" revision 2 debug2: Server supports extension "fstatvfs at openssh.com" revision 2 debug2: Server supports extension "hardlink at openssh.com" revision 1 debug2: Server supports extension "fsync at openssh.com" revision 1 debug3: Sent message fd 6 T:16 I:1 debug3: SSH_FXP_REALPATH . -> /home/builder/openssh/regress size 0 sf...
2005 Aug 29
14
Oracle 9.2.0.6 on Solaris 10
How can I tell if this is normal behaviour? Oracle imports are horribly slow, an order of magnitude slower than on the same hardware with a slower disk array and Solaris 9. What I can look for to see where the problem lies? The server is 99% idle right now, with one database running. Each sample is about 5 seconds. I''ve tried setting kernel parameters despite the docs saying that
2009 Nov 18
1
internal-sftp atomic file operations?
Hi I've been testing internal-sftp with chroot on OpenSSH_5.3p1 and it seems that internal-sftp does not support POSIX atomic rename() operations. Can someone confirm that this feature is only available in the sftp-server and not internal-sftp? Are there plans to include atomic file operations in internal-sftp? Thanks
2009 Feb 24
1
[Announce] Samba 3.3.1 Available for Download
.... * Fix a buffer handling bug when adding lots of registry keys. * Fix a O(n^2) algorithm in regdb_fetch_keys(). o Jeff Layton <jlayton@redhat.com> * Initialize rc to 0 in main in mount.cifs. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 6069: Add a fstatvfs function for libsmbclient. * Eliminate compiler warnings. o Glenn Machin <gmachin@sandia.gov> * Don''t miss an absolute pathname as a kerberos keytab path. o Stefan Metzmacher <metze@samba.org> * BUG 6100: Implement _netr_LogonGetCapabilities() with NT...
2009 Feb 24
1
[Announce] Samba 3.3.1 Available for Download
.... * Fix a buffer handling bug when adding lots of registry keys. * Fix a O(n^2) algorithm in regdb_fetch_keys(). o Jeff Layton <jlayton@redhat.com> * Initialize rc to 0 in main in mount.cifs. o Derrell Lipman <derrell.lipman@unwireduniverse.com> * BUG 6069: Add a fstatvfs function for libsmbclient. * Eliminate compiler warnings. o Glenn Machin <gmachin@sandia.gov> * Don''t miss an absolute pathname as a kerberos keytab path. o Stefan Metzmacher <metze@samba.org> * BUG 6100: Implement _netr_LogonGetCapabilities() with NT...
2004 Dec 29
2
Cluster size not supported
Hi, I'm having a similar problem, I get "The cluster size in this system is not supported." I get this when running wine InstMsiA.exe (using the version from microsoft.com). It comes up in a windows message box. I'm running wine from yesterday's cvs. I tried running Rein's test program from this old email and I get the following output: % wine fds 'c:\'
2007 Aug 27
17
statvfs change
...is subject to license terms. */ @@ -31,7 +31,7 @@ * under license from the Regents of the University of California. */ -#pragma ident "@(#)statvfs.c 1.19 06/05/17 SMI" +#pragma ident "@(#)statvfs.c 1.20 07/08/27 SMI" /* * Get file system statistics (statvfs and fstatvfs). @@ -76,6 +76,27 @@ * Common routines for statvfs and fstatvfs. */ +/* + * Underlying VFS_STATVFS routines can''t tell if they are going to cause + * EOVERFLOW with f_frsize, because all they see is a struct statvfs64. + * If EOVERFLOW was about to occur, try to adjust f_frsize upw...
2019 May 16
0
[nbdkit PATCH 2/2] cache, cow: Round size down
...(with C<cache=unsafe>) to defeat flush requests from the client (which is unsafe and can cause data loss, as the name suggests). +Note that the use of this filter rounds the image size down to a +multiple of the caching granularity (the larger of 4096 or the +C<f_bsize> field of L<fstatvfs(3)>), to ease the implementation. If +you need to round the image size up instead to access the last few +bytes, combine this filter with L<nbdkit-truncate-filter(1)>. + =head1 PARAMETERS =over 4 @@ -136,6 +142,7 @@ environment variable before starting nbdkit. L<nbdkit(1)>, L&l...
2008 Jul 06
11
OpenSSH 5.1: call for testing
...tive configuration to stdout and exit. Extended test mode also supports the specification of connection parameters (username, source address and hostname) to test the application of sshd_config(5) Match rules. * sftp-server(8) now supports extension methods statvfs at openssh.com and fstatvfs at openssh.com that implement statvfs(2)-like operations. * sftp(1) now has a "df" command to the sftp client that uses the statvfs at openssh.com to produce a df(1)-like display of filesystem space and inode utilisation (requires statvfs at openssh.com support on the server)...
2017 Oct 02
3
[PATCH 0/2] builder: Choose better weights in the planner.
It started out as "this'll be just a simple fix ..." and turned into something a bit over-engineered in the end. Here it is anyway. Rich.
2019 Jan 04
0
[PATCH nbdkit v5 3/3] cache: Implement cache-max-size and cache space reclaim.
.../* Choose the block size. + * + * A 4K block size means that we need 64 MB of memory to store the + * bitmaps for a 1 TB underlying image. However to support + * hole-punching (for reclaiming) we need the block size to be at + * least as large as the filesystem block size. + */ + if (fstatvfs (fd, &statvfs) == -1) { + nbdkit_error ("fstatvfs: %s: %m", tmpdir); + return -1; + } + blksize = MAX (4096, statvfs.f_bsize); + nbdkit_debug ("cache: block size: %u", blksize); + + bitmap_init (&bm, blksize, 2 /* bits per block */); + + lru_init (); + ret...
2009 Aug 11
19
[Bug 1632] New: [PATCH] UTF-8 hint sftp-server extension
https://bugzilla.mindrot.org/show_bug.cgi?id=1632 Summary: [PATCH] UTF-8 hint sftp-server extension Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: sftp-server AssignedTo: unassigned-bugs at mindrot.org
2008 Jul 22
0
Announce: OpenSSH 5.1 released
...1) now prints the number of bytes transferred and the overall connection throughput for SSH protocol 2 sessions when in verbose mode (previously these statistics were displayed for protocol 1 connections only). * sftp-server(8) now supports extension methods statvfs at openssh.com and fstatvfs at openssh.com that implement statvfs(2)-like operations. (bz#1399) * sftp(1) now has a "df" command to the sftp client that uses the statvfs at openssh.com to produce a df(1)-like display of filesystem space and inode utilisation (requires statvfs at openssh.com support on...
2008 Jul 22
0
Announce: OpenSSH 5.1 released
...1) now prints the number of bytes transferred and the overall connection throughput for SSH protocol 2 sessions when in verbose mode (previously these statistics were displayed for protocol 1 connections only). * sftp-server(8) now supports extension methods statvfs at openssh.com and fstatvfs at openssh.com that implement statvfs(2)-like operations. (bz#1399) * sftp(1) now has a "df" command to the sftp client that uses the statvfs at openssh.com to produce a df(1)-like display of filesystem space and inode utilisation (requires statvfs at openssh.com support on...
2015 Sep 11
11
[Bug 2463] New: Conflict with openbsd compat glob() function in shared libraries
...penBSD is the only platform with glob with all these features (GLOB_HAS_GL_MATCHC, GLOB_HAS_GL_STATV are missing on Linux if I am right): * Considering writing ifdefs around every usage of these special features would be possibility, but the result would miss some features (statvfs at openssh.com, fstatvfs at openssh.com?) and code would be much more messy * Modification of glob_t structure that it would be ABI compatible with system one is also not much portable. My current solution is to redefine glob and related structures with some prefix (ex. compat_glob(), COMPAT_GLOB_NOMATCH) and also modi...
2019 May 16
3
[nbdkit PATCH 0/2] Avoid oddities with files unaligned to granularity
When using a filter that rounds up to alignment boundaries, the tail bytes of the plugin are difficult to access correctly. Rather than duplicating lots of code already in the truncate filter, it's easier to just make the other filters default to rounding down and add doc links on how to round up instead. Eric Blake (2): blocksize: Lift restriction against 0-size file cache, cow: Round