On Sat, Jul 03, 2021 at 02:34:56PM -0700, David Christensen wrote:
On 7/3/21 6:44 AM, Michael Stone wrote:
On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote:
2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd
$ du --bytes truncate-sparse
5242880 truncate-sparse
I expected spar
On 7/3/21 6:44 AM, Michael Stone wrote:
On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote:
2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd
$ du --bytes truncate-sparse
5242880 truncate-sparse
I expected sparse files, but du(1) does not indicate such (?).
You used --bytes,
On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote:
2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd
$ du --bytes truncate-sparse
5242880 truncate-sparse
I expected sparse files, but du(1) does not indicate such (?).
You used --bytes, which per the man page implies --apparent-si
On Sat, Jul 03, 2021 at 10:23:39AM +0200, l0f...@tuta.io wrote:
> 2 juil. 2021, 23:30 de dpchr...@holgerdanske.com:
> > $ cat useless-use-of-grep
> > This is the first line: bla bla bla.
> > This is line : bla bla bla.
> > This is the last line: bla bla bla.
> Here is a better `sed` if you wan
Hi,
2 juil. 2021, 23:30 de dpchr...@holgerdanske.com:
> Perhaps the underlying issue is useless use of shell pipelines ("The Unix
> Way"):
>
> 2021-07-02 12:44:43 dpchrist@dipsy ~/sandbox/perl
> $ cat useless-use-of-grep
> This is the first line: bla bla bla.
> This is line : bla bla bla.
>
On Sat, Jul 03, 2021 at 10:14:46AM +0300, Gunnar Gervin wrote:
> Hi, Debian user 'club':
> How can I get off this list in Android mobile?
No idea about Android mobile (whatever that is ;-) but every mail you
receive via this list carries the instructions. Look at the headers
(however your mail cli
Hi, Debian user 'club':
How can I get off this list in Android mobile? It's filling my mailbox;
5-10 emails a day!!!
Gunnar
On Fri, 2 Jul 2021, 18:03 David Wright, wrote:
> On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote:
> > On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg Wooledge
On 7/2/21 2:30 PM, David Christensen wrote:
I expected sparse files, but du(1) does not indicate such (?).
Comments?
RTFM ls(1) and the '-s' and '--block-size' options.
David
On 7/2/21 4:25 AM, Teemu Likonen wrote:
* 2021-07-02 12:52:53+0200, Thomas Schmitt wrote:
Teemu Likonen wrote:
For this new subject I will add another use: quickly create empty file
of specific size, for example 5 * 1024 bytes:
$ dd of=empty obs=1024 seek=5 count=0
Not to forget creation
On 7/2/21 11:51 AM, Kushal Kumaran wrote:
On Fri, Jul 02 2021 at 01:26:23 PM, Teemu Likonen wrote:
For this new subject I will add another use: quickly create empty file
of specific size, for example 5 * 1024 bytes:
$ dd of=empty obs=1024 seek=5 count=0
2021-07-02 14:20:47 dpchrist@d
On 7/2/21 12:49 AM, to...@tuxteam.de wrote:
Now to another pet peeve of mine: useless use of grep:
grep | sed -e 's/bla/foo/' ...
Perhaps the underlying issue is useless use of shell pipelines ("The
Unix Way"):
2021-07-02 12:44:43 dpchrist@dipsy ~/sandbox/perl
$ cat useless-use-o
On Fri, Jul 02 2021 at 01:26:23 PM, Teemu Likonen wrote:
> * 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote:
>
>> FWIW, I've found something which could be deemed to be an "useful use
>> of dd" which somehow bears a hidden symmetry. As a replacement for
>>
On Fri, Jul 02, 2021 at 10:02:49AM -0500, David Wright wrote:
> On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote:
[...]
> > Eek. Thanks.
>
> This reminds me of the sentiment expressed in
> https://lists.debian.org/debian-user/2019/08/msg01454.html
:-)
Cheers
- t
signature.asc
On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote:
> On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg Wooledge wrote:
> > On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote:
> > > sudo dd of=/etc/hosts oflags=append
> >
> > This appears to be a typo for "oflag=append", w
:
FWIW, I've found something which could be deemed to be an "
On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg Wooledge wrote:
> On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote:
> > sudo dd of=/etc/hosts oflags=append
>
> This appears to be a typo for "oflag=append", which is a GNU extension,
> not part of the standard POSIX dd. No wonder I
On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote:
> sudo dd of=/etc/hosts oflags=append
This appears to be a typo for "oflag=append", which is a GNU extension,
not part of the standard POSIX dd. No wonder I didn't know about it. ;-)
The bullseye version of GNU coreutils dd also
* 2021-07-02 12:52:53+0200, Thomas Schmitt wrote:
> Teemu Likonen wrote:
>> For this new subject I will add another use: quickly create empty file
>> of specific size, for example 5 * 1024 bytes:
>>$ dd of=empty obs=1024 seek=5 count=0
>
> Not to forget creation of sparse files with few disk c
On Fri, Jul 02, 2021 at 12:52:53PM +0200, Thomas Schmitt wrote:
> Hi,
>
> Teemu Likonen wrote:
> > For this new subject I will add another use: quickly create empty file
> > of specific size, for example 5 * 1024 bytes:
> >$ dd of=empty obs=1024 seek=5 count=0
>
> Not to forget creation of sp
On Fri, Jul 02, 2021 at 01:26:23PM +0300, Teemu Likonen wrote:
> * 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote:
>
> > FWIW, I've found something which could be deemed to be an "useful use
> > of dd" which somehow bears a hidden symmetry. As a replacement f
Hi,
Teemu Likonen wrote:
> For this new subject I will add another use: quickly create empty file
> of specific size, for example 5 * 1024 bytes:
>$ dd of=empty obs=1024 seek=5 count=0
Not to forget creation of sparse files with few disk consumption.
For testing zisofs i have this in a scrip
* 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote:
> FWIW, I've found something which could be deemed to be an "useful use
> of dd" which somehow bears a hidden symmetry. As a replacement for
> `cat' whenever you need to put a name on the output file.
For this new s
se of cat".
FWIW, I've found something which could be deemed to be an "useful use
of dd" which somehow bears a hidden symmetry. As a replacement for
`cat' whenever you need to put a name on the output file.
I'll try to explain: sometimes, you use `cat' to popul
23 matches
Mail list logo