all around trouble

2008-12-16 Thread Einar Schlereth
Hi!
Sorry, but I can't name the trouble. I got it when saving some
documents. I scanned for virus but couldn't find none.
The desktop started suddenly racing from left to right or from right to
left or from up downwards, starting programs that I didn't want or the 
PC was simply shut down or hanging up. 
"Reporting a bug" doesn't work and the "tool for faults" either.
I had just installed the new Ubuntu 8.04.1 and what me struck immidiatly
that was that the little "clock" was always there and turning around.

Before that I was using Ubuntu 6.06 LTS for 2 years without any problem
until saving that damned document. And I guess that the shit was picked
up when I downloaded 8.04.1.
Please tell me what you need to know or what I can do.
Thanks in advance
Einar Schlereth



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


HACKING doc git 3rd possiblity

2008-12-16 Thread jidanni
In HACKING
   If you have made *no* changes:
   git pull

   If you *have* made changes and committed them to "master", do this:
   git fetch
   git rebase origin

OK, but add

   If you *have* made changes but *have not* committed them to
   "master", do this:

As to what "this" should be, well I don't know. All I know is "fetch",
"committed to master"... must be some BDSM game :-)


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


problem finding mktemp in info file

2008-12-16 Thread Stepan Kasal
Hello,
  "man mktemp" points me to
info coreutils 'mktemp invocation'
but no such node exists.

The particular question was what does the following mean:
  -t   interpret TEMPLATE as a single file name component,
 relative to a directory: $TMPDIR, if set; else the
 directory specified via -p; else /tmp [deprecated]

is only the default with /tmp deprecated, or is any usage of -t
deprecated?  What shall I do instead of "mktemp -t foo.XX"?
mktemp "$TMPDIR/foo.XX"  ?   Why?
I hoped to find the answers for these questions in the info file.

Have a nice day,
Stepan Kasal


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: all around trouble

2008-12-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Einar Schlereth on 12/16/2008 1:02 AM:

Hello Einar,

> I had just installed the new Ubuntu 8.04.1 and what me struck immidiatly
> that was that the little "clock" was always there and turning around.

After recent Ubuntu releases there have been several people who have
been asking about Ubuntu questions on this GNU Coreutils mailing
list.  If you would be so kind could you tell us what has directed you
to ask your question on this mailing list?  We fear that there may be
incorrect documentation pointing you here.  If you would help us so
that we could improve the directions it would help others.  Thanks!

You have reached the GNU Coreutils mailing list.  The GNU Coreutils
are the basic file, shell and text manipulation utilities of the GNU
Operating System.  You can learn more about GNU Coreutils here:

  http://www.gnu.org/software/coreutils/

The GNU Coreutils are part of the GNU Operating System.  You can learn
more about the GNU Project here:

  http://www.gnu.org/

But you are asking about Ubuntu's applications.  I am sorry but this
is the wrong mailing list. We are unable to help you here.

Since you are using Ubuntu then the Ubuntu users mailing lists would
be a better source of information.

  http://www.ubuntu.com/support/communitysupport

  http://www.ubuntu.com/support/community/mailinglists

- --
Don't work too hard, make some time for fun as well!

Eric Blake e...@byu.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklHpCAACgkQ84KuGfSFAYAEWQCcDkWUZv+/fuH8EMnAFSpP89LW
lvgAoIh6/MMDd8I89X/kh1BnSoqqdhBw
=sK4f
-END PGP SIGNATURE-


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: problem finding mktemp in info file

2008-12-16 Thread Andreas Schwab
Stepan Kasal  writes:

> What shall I do instead of "mktemp -t foo.XX"?

$ mktemp --tmpdir foo.XX

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: problem finding mktemp in info file

2008-12-16 Thread Pádraig Brady
Stepan Kasal wrote:
> Hello,
>   "man mktemp" points me to
>   info coreutils 'mktemp invocation'
> but no such node exists.

True, that should be addressed.

The info you require is here:
http://lists.gnu.org/mailman/listinfo/bug-coreutils
I guess chunks of that should be added to info.

It's also worth noting that something that caught me
out a few times, and I've noticed others with the same
issue, is that if you copy and paste the command above
from the man page, you won't get the page you require
(even if present :)) as there will be curly quotes in it.
Is there any way to markup example code so that
'blah' is not converted to ’blah’ ?

cheers,
Pádraig.




___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Add concurrent I/O support to gnu dd

2008-12-16 Thread Matt Harden
I'd like to suggest adding the ability to dd(1) to open the file in
concurrent I/O mode.  This applies only to AIX systems and the JFS2
filesystem.  I had a need to do this and was able to do it easily thanks
to the design of coreutils.  As a sysadmin sometimes you have to open a
file in CIO mode because if any other program has the file open already
in CIO mode, the OS will not allow it to be opened in "normal" mode.
Also when using CIO mode, I/O that is not block-aligned is very slow.
This makes dd a good utility for copying data to/from files in CIO mode.

Anyway, here are some simple patches to coreutils and gnulib that give this
capability to dd.

Thanks,
Matt Harden
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index bbc2710..cf575dc 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7729,6 +7729,12 @@ If you combine this flag with the @samp{...@var{file}} 
operand,
 you should also specify @samp{conv=notrunc} unless you want the
 output file to be truncated before being appended to.
 
+...@item cio
+...@opindex cio
+...@cindex concurrent I/O (AIX)
+Use JFS2 concurrent I/O for data.  This is an option specific
+to JFS2 filesystems on the AIX operating system.
+
 @item direct
 @opindex direct
 @cindex direct I/O
diff --git a/src/dd.c b/src/dd.c
index e54cc14..37c55e8 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -288,6 +288,7 @@ static struct symbol_value const flags[] =
 {
   {"append",   O_APPEND},
   {"binary",   O_BINARY},
+  {"cio",  O_CIO},
   {"direct",   O_DIRECT},
   {"directory",O_DIRECTORY},
   {"dsync",O_DSYNC},
@@ -508,6 +509,8 @@ Each FLAG symbol may be:\n\
 \n\
   appendappend mode (makes sense only for output; conv=notrunc 
suggested)\n\
 "), stdout);
+  if (O_CIO)
+   fputs (_("  cio   use JFS2 concurrent I/O for data\n"), stdout);
   if (O_DIRECT)
fputs (_("  directuse direct I/O for data\n"), stdout);
   if (O_DIRECTORY)
diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h
index fd7520e..dea7449 100644
--- a/lib/fcntl.in.h
+++ b/lib/fcntl.in.h
@@ -70,6 +70,10 @@ extern void _gl_register_fd (int fd, const char *filename);
 
 /* Fix up the O_* macros.  */
 
+#ifndef O_CIO
+# define O_CIO 0
+#endif
+
 #if !defined O_DIRECT && defined O_DIRECTIO
 /* Tru64 spells it `O_DIRECTIO'.  */
 # define O_DIRECT O_DIRECTIO
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils