Profile

Cover photo
Karel Zak
Works at Red Hat Czech
308 followers|62,388 views
AboutPostsPhotosYouTube

Stream

Karel Zak

Shared publicly  - 
 
terminal-colors.d
I have already talked about it at g+ . For util-linux we don't want to follow the current strange behavior when command-line utils have disabled colors by default, but distributions use shell aliases in profile files to revert the default. It does not mean ...
I have already talked about it at g+. For util-linux we don't want to follow the current strange behavior when command-line utils have disabled colors by default, but distributions use shell aliases in profile files to revert...
3
Jóhann B. Guðmundsson's profile photoMantas Mikulėnas's profile photoKarel Zak's profile photo
3 comments
 
The administrative official not yet in LSB system wide administrative overwrites belong  in /etc/<foo.d>/ directory so this is perfect valid
Add a comment...

Karel Zak

Shared publicly  - 
 
 
banish the naked ping on IRC! "Please. Save your time. Save my time. Make all of our lives more efficient and less stressful. Ping with data" http://blogs.gnome.org/markmc/2014/02/20/naked-pings/
5
2
Veaceslav Falico's profile photoHarald Hoyer's profile photo
Add a comment...

Karel Zak

Shared publicly  - 
 
 
I'm happy to see that Debian has reached a decision about its default init system, and that the Ubuntu team have been gracious about it and opted to support their downstream.

What will probably surprise most people is that I think it's the right decision. systemd has the momentum out of the two projects, and has both the technical and community leadership advantages.

Friendly competition is a brilliant development model until there is a clear winner, at which point friendly collaboration tends to work out better. It's time for that transition.

I hadn't posted anything of this effect until now because I didn't want my position to influence Debian's decision ("Original Upstart Author endorses systemd!"). That wouldn't have been fair on the current Upstart maintainers +James Hunt+Dimitri John Ledkov and +Steve Langasek who have been doing an absolutely fantastic job continuing the project I started.
3
Add a comment...

Karel Zak

Shared publicly  - 
 
Do you know about rpm %autosetup or %autopatch? It's really better than DIY "for p in %{patches}; do ..." or so. And it also supports git patches, and more.
7
1
Lubomir Rintel's profile photo
Add a comment...

Karel Zak

Shared publicly  - 
 
util-linux stable update v2.24.1 released
9
3
Koen Kooi's profile photogeorge oloo's profile photoLukáš Czerner's profile photo
 
\o/ fstrim -a
Add a comment...
Have him in circles
308 people
Pete Zaitcev's profile photo
Ken Coar's profile photo
Dan Carpenter's profile photo
Peter Jones's profile photo
Lukáš Tinkl's profile photo
Viliam Rockai's profile photo
Zbyszek Jedrzejewski-Szmek's profile photo

Karel Zak

Shared publicly  - 
 
In the util-linux source tree we have a small private library to generate nice and readable outputs (trees and tables) for command line utils. It's used for example for lsblk(8) or findmnt(8). The library has many features like align data in cells, add padding, truncate multibyte data, formatting according to terminal width, output to parsable formats etc.

On DevConf 2014 I have seen many presentations with new tools with horrible outputs (usually implemented by naive printf() without care about  terminal width etc.). 

Sooo, in the next util-linux release we're going to share the formatting code as a small libsmartcols shared library. Thanks to +Ondrej Oprala who works on this task with me.
32
26
Arun Bhanu's profile photoRobert Edmonds's profile photo
Add a comment...

Karel Zak

Shared publicly  - 
 
Last 2 years was the original Linux mount(8) (non-libmount version) marked as deprecated and disabled by default. Now it's time to say Goodbye...

[master 65acdc8] build-sys: remove deprecated-mount/
 23 files changed, 13 insertions(+), 8560 deletions(-)
8
Add a comment...

Karel Zak

Shared publicly  - 
 
The command fallocate(1) supports a new cool feature -- it allows to convert regular file to sparse file, something like "cp --sparse", but it does not copy anything. For example:

$ ls -lash yyy
1.1G rw-rw-r- 1 kzak kzak 1.0G Feb 17 11:09 yyy

$ time fallocate --dig-holes yyy
real    0m0.393s
user    0m0.045s
sys     0m0.345s

$ ls -lash yyy
28K rw-rw-r- 1 kzak kzak 1.0G Feb 17 11:10 yyy

Thanks to Rodrigo Campos!
15
7
Luis Rodriguez's profile photoSven N.'s profile photoLukáš Czerner's profile photoJan Engelhardt's profile photo
10 comments
 
I had a quick look at the code and it looks good. Thanks for the very quick response
Add a comment...

Karel Zak

Shared publicly  - 
 
stable mutt-kz 1.5.22.1
The first official mutt-kz release with tarballs is available now. If you have
no idea about mutt-kz: it is mutt fork with virtual folders, tags and
fulltext search (based on notmuch), supports INBOX->archive use case, integrated index-color and sidebar pa...
The first official mutt-kz release with tarballs is available now. If you have no idea about mutt-kz: it is mutt fork with virtual folders, tags and fulltext search (based on notmuch), supports INBOX->archive use case, integr...
3
Jóhann B. Guðmundsson's profile photoJan Hutař's profile photo
3 comments
 
Ok, running this created the file and it works now:

$ notmuch new
Found 0 total files (that's not much mail).
No new mail.
Add a comment...

Karel Zak

Shared publicly  - 
 
It seems that the built-in default for many command line utils is to have disabled colors, but distributions use

    aslias foo="foo --color=auto"

in shell profile files (see alias -p output). Why we have built-in defaults that nobody wants to use?

Maybe it's time to say that things like colors are normal and if you don't like it then use --color=never in your shell profile files. It would be also nice to have a global and package independent way to enable/disable colors for command line utils (env.variable or/and config file).
16
3
Dennis Mungai's profile photoThorsten Leemhuis's profile photoKristian Høgsberg's profile photoColin Guthrie's profile photo
10 comments
 
+Mantas Mikulėnas I know terminfo has color information, but I could not find a way to set number of colors assuming the value is read-write.
Add a comment...
People
Have him in circles
308 people
Pete Zaitcev's profile photo
Ken Coar's profile photo
Dan Carpenter's profile photo
Peter Jones's profile photo
Lukáš Tinkl's profile photo
Viliam Rockai's profile photo
Zbyszek Jedrzejewski-Szmek's profile photo
Basic Information
Gender
Male
Work
Occupation
software developer
Employment
  • Red Hat Czech
    present
Links
YouTube
Other profiles