Displaying 20 results from an estimated 148 matches for "iflags".
Did you mean:
flags
2020 Aug 17
3
[nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
While iflag=count_bytes combined with bs > 1 allows for more efficient
operation, it is a feature of GNU dd, and not present on other
implementations such as BSD. Sticking to just POSIX features makes
things more portable.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
docs/nbdkit-loop.pod | 2 +-
docs/nbdkit.pod | 4 ++--
2005 Apr 21
1
.Fortran() again
Hi,
First ,please excuse my poor English. Can someone help me on reading
fortran binary object under R?
I was trying to read mm5 data under R. However, I seem to stuck at
reading fortran binary file storing met. data array. At the beginning,
I used readBin() to read mm5 output directly with the following
command.
#mmout is a mmout file generated with mm5
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...rN rsync-3.0.2-orig/generator.c rsync-3.0.2/generator.c
--- rsync-3.0.2-orig/generator.c 2008-03-28 10:30:11.000000000 -0700
+++ rsync-3.0.2/generator.c 2008-05-07 15:35:08.317364774 -0700
@@ -1508,6 +1508,7 @@
if (preserve_links && S_ISLNK(file->mode)) {
#ifdef SUPPORT_LINKS
+ int iflags = 0;
const char *sl = F_SYMLINK(file);
if (safe_symlinks && unsafe_symlink(sl, fname)) {
if (verbose) {
@@ -1528,7 +1529,15 @@
else if ((len = readlink(fname, lnk, MAXPATHLEN-1)) > 0
&& strncmp(lnk, sl, len) == 0 && sl[len] == '\0') {...
2020 Aug 18
0
Re: [nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
On Mon, Aug 17, 2020 at 11:35:39AM -0500, Eric Blake wrote:
> While iflag=count_bytes combined with bs > 1 allows for more efficient
> operation, it is a feature of GNU dd, and not present on other
> implementations such as BSD. Sticking to just POSIX features makes
> things more portable.
I'm not very convinced by this. Maybe we should persuade
the BSD folk to implement this
2010 Dec 13
3
Slow I/O on ocfs2 file system
Hello,
I have found, that ocfs2 is very slow when doing I/O operation without
cache. See a simple test:
ng-vvv1:~# dd if=/data/verejna/dd-1G bs=1k | dd of=/dev/null
1048576+0 records in
1048576+0 records out
1073741824 bytes (1.1 GB) copied, 395.183 s, 2.7 MB/s
2097152+0 records in
2097152+0 records out
1073741824 bytes (1.1 GB) copied, 395.184 s, 2.7 MB/s
The underlying block device is quite
2024 Oct 22
1
invalid permissions
Dear Prof. Roger Koenker,
On Tue, 22 Oct 2024 09:08:12 +0000
"Koenker, Roger W" <rkoenker at illinois.edu> wrote:
> > fN <- rqss(y~qss(x,constraint="N")+z)
>
> *** caught segfault ***
> address 0x0, cause 'invalid permissions?
Given a freshly produced quantreg.Rcheck directory, I was able to
reproduce this crash by running
R -d gdb
# make
2018 Dec 14
2
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On 12/14/18 4:16 PM, Richard W.M. Jones wrote:
> This implements something like a readonly 1MB disk reading as zeroes:
>
> nbdkit sh script=- <<'EOF'
> case "$1" in
> get_size) echo 1M ;;
> pread) dd if=/dev/zero count=$3 iflag=count_bytes ;;
> *) exit 2 ;;
> esac
> EOF
>
> Use of "-" is analogous to reading
2005 Apr 23
0
reading fortran binary file
Hi r-help,
I have some troubles reading fortran binary file(from mm5) in R. Here
is what I have done.
1. Use a fortran subroutine to read this file in R. The subroutine is
as the following.
subroutine freadmm5(filenamet,out2d)
integer iflag,var1,miy,mjx,mkz,mt,z,t
character*4 crdt,corder
character*24 chrdate
character*9 cname,var
character*25
2024 Oct 22
1
invalid permissions
Gurus:
I have a new version of my quantreg package with minimal changes, mainly to fix some obscure fortran problems. It fails R CMD check ?as-cran with the error:
Running examples in ?quantreg-Ex.R? failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot.rqss
> ### Title: Plot Method for rqss Objects
2005 Jul 26
1
itemize() needs to use CHMOD_BITS (patch)
...asking
them with CHMOD_BITS. Here is a fix, tested with 2.6.6pre1.
PS: I'm not subscribed to this mailing list, please Cc: if you need
more info from me. Thanks.
--- generator.c.~1~ Thu Jun 30 13:03:14 2005
+++ generator.c Tue Jul 26 12:51:11 2005
@@ -327,7 +327,8 @@
&& (!(iflags & ITEM_XNAME_FOLLOWS) || *xname))
|| (keep_time && cmp_modtime(file->modtime, st->st_mtime) != 0))
iflags |= ITEM_REPORT_TIME;
- if (preserve_perms && file->mode != st->st_mode)
+ if (preserve_perms && (st->st_mode & CHMOD_BITS)
+...
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...gt; 0 && code != FCLIENT)
code = FLOG;
+ } else if (code == FLOG_AFTER) {
+ code = FLOG;
} else if (send_msgs_to_gen) {
assert(!is_utf8);
/* Pass the message to our sibling in native charset. */
@@ -813,6 +816,12 @@ void log_item(enum logcode code, struct file_struct *file, int iflags, const cha
{
const char *s_or_r = am_sender ? "send" : "recv";
+ if (code == FLOG_AFTER) {
+ if (logafter_format && *logafter_format)
+ log_formatted(FLOG_AFTER, logafter_format, s_or_r, file, NULL, iflags, hlink);
+ return;
+ }
+
if (code != FLOG && s...
2020 Mar 28
0
[klibc:update-dash] dash: main: Print \n upon EOF (CTRL-D) when run interactively
Commit-ID: d754d32592fa1c6359b37d101485ced1ff7cdf79
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d754d32592fa1c6359b37d101485ced1ff7cdf79
Author: Gerrit Pape <pape at smarden.org>
AuthorDate: Fri, 7 Sep 2018 10:34:14 +0200
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: main: Print \n upon EOF
2009 Jun 02
2
Which function in generator trigger the file transfer?
Dear List,
I checked the function "generate_files", which might be simply stand for
generator, but didn't find where triggers the file transfer. As receiver
will use "read_ndx_and_attrs" to read iflags to judge if it's need to be
transfered?
If I'm wrong, please correct me. Can anyone help to point it out?
Thanks.
--
Daniel Li
2018 Dec 15
0
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On Fri, Dec 14, 2018 at 04:31:32PM -0600, Eric Blake wrote:
> On 12/14/18 4:16 PM, Richard W.M. Jones wrote:
> >This implements something like a readonly 1MB disk reading as zeroes:
> >
> >nbdkit sh script=- <<'EOF'
> > case "$1" in
> > get_size) echo 1M ;;
> > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;;
> >
2019 Apr 01
2
[PATCH nbdkit] log: Decode the extent type in output.
Instead of printing something like ‘type=0’ or ‘type=3’, this changes
the output to show the hole and zero flags separately. For example:
$ ./nbdkit -U - --filter=log sh - logfile=/dev/stdout \
--run 'qemu-img map $nbd' <<'EOF'
case "$1" in
get_size) echo 1M ;;
pread) dd if=/dev/zero count=$3 iflag=count_bytes ;;
can_extents) exit 0 ;;
2006 May 13
2
using -v and -q together
...$ rm -r test2
the new output in 2.6.8 comes from the calls to maybe_log_item() and
log_item() in send_files() ... one way to fix this would be to update the
code around that to check the 'quiet' variable:
+++ sender.c
@@
extern int verbose;
+extern int quiet;
@@ send_files()
if (!(iflags & ITEM_TRANSFER)) {
+ if (!quiet)
maybe_log_item(file,?iflags,?itemizing,?xname);
@@ send_files()
if (!do_xfers) { /* log the transfer */
- if (!am_server && log_format)
+ if (!am_server && log_format && !quiet)
log_item(file, &stats, iflags, NULL);...
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
...6 08:04:40 -0000 1.282
+++ generator.c 2 Jun 2006 13:00:01 -0000
@@ -45,6 +45,7 @@
extern int preserve_gid;
extern int preserve_times;
extern int omit_dir_times;
+extern int omit_dir_changes;
extern int delete_mode;
extern int delete_before;
extern int delete_during;
@@ -348,10 +349,11 @@
iflags |= ITEM_REPORT_TIME;
if ((file->mode & CHMOD_BITS) != (st->st_mode & CHMOD_BITS))
iflags |= ITEM_REPORT_PERMS;
- if (preserve_uid && am_root && file->uid != st->st_uid)
+ if (preserve_uid && am_root && file->uid != st->st_uid
+...
2019 Sep 12
3
Re: [PATCH nbdkit v2 3/3] tests: Add a simple test of nbdkit_export_name.
On 9/12/19 4:01 PM, Richard W.M. Jones wrote:
> ---
> tests/Makefile.am | 3 ++
> tests/test-export-name.sh | 86 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 89 insertions(+)
> +# Create a sh plugin which echos the export name back in the device.
echoes? One of those weird words with dual acceptable spellings, where
it depends on who you ask for which
2011 Dec 11
5
New Guess OS Creation Problem
Hi All,
I am running on CentOS Released 6.1 final. Been using and running Linux KVM quite well for quite some time, something goes wrong after I perform yum upgrade.
I created new VM yesterday without any problem, same exact installation procedure, installed FreeBSD 8.2. I tried to create a new VM today after yum upgrade, it's able to detect the hard disk, when I start commit FreeBSD 8.2
2016 Jan 21
1
[Bug 11683] New: hang on select when send many files
..._135901/aifang_dw/contract_snapshot_detail_20151103.MYD
682244 2015/12/05-18:53:33 recv 114409 fullbak\n",
len=147, is_utf8=0) at log.c:277
#4 0x000000000042299c in log_formatted (code=FLOG, format=<value optimized
out>, op=0x45170a "recv", file=0x7f976a8cb360, fname=0x0, iflags=40960,
hlink=0x0) at log.c:769
#5 0x0000000000422eaa in log_item (code=FINFO, file=0x7f976a8cb360,
iflags=40960, hlink=0x0) at log.c:806
#6 0x0000000000413966 in recv_files (f_in=3, f_out=7, local_name=0x0) at
receiver.c:852
#7 0x000000000041d3dc in do_recv (f_in=3, f_out=7, local_name=0x0) at
m...