749 reputation
818
bio website
location
age
visits member for 3 years, 9 months
seen Dec 15 at 0:19

Aug
30
comment How can swapoff be that slow?
@Nils: Yes, the priority is the same and so are the the disk and their partitioning.
Aug
30
comment How can swapoff be that slow?
@Petr Pudlák: Suspend to disk is a bit different, it simply writes the RAM content into a free space in the swap area, and this (and un-suspend) is probably much faster. I can't try as it doesn't work with encrypted swap.
Aug
16
comment Best compression of similar files?
@Huygens: AFAIK you're wrong. All compression programs I know work with some window (typically 64 kB) and see nothing beyond it as stated e.g. here on page 7.
Aug
16
comment Best compression of similar files?
@jw013: I don't think rdiff-backup would do, as it's efficient with slowly evolving files, while all I have now is a set of old snapshots. Things like obnam or bup would help (but the former requires a newer system while the latter has still problems with removal from the backup).
Aug
16
comment Best compression of similar files?
@Mat: In the meantime I've tried lrzip, but it was extremely slow (many hours for some 100 GB). However, there might have been a problem with the NTFS partition the data were on.
Aug
14
comment What are inodes good for?
I've meant "file" in the sense of "file or directory or whatever". What you write is true, but I'd rather call it nuisance than usage.
Jul
13
comment What does mv do in case of errors?
Concerning the info page, do I understand it right that for each command line source directory, it gets removed iff the corresponding copy succeeded? I mean that mv src1 src2 dst works in this respect similar to mv src1 dst; mv src2 dst and each single mv src dst is like cp -a src dst && rm -rf src?
Jun
5
comment Where should a local executable be placed?
Agreed, I wonder why anybody wants to pollute $HOME by 10 more directories (in addition to dozens dot-files).
Apr
14
comment Is there a better alternative to sudoedit?
Good to know. However, I don't really like it: 1. Tramp ignores numpad keys when reading the password. 2. The backup files get written as ~/%backup%~. 3. I'd really prefer saving a copy somewhere in my home directory for future reference, possibly versioning, and future re-installs.
Mar
14
comment Is there an easy way to replace duplicate files with hardlinks?
@tante: Using symlinks solves no problem. When a user "deletes" a file, the number of links to it gets decremented, when the count reaches zero, the files gets really deleted, that's all. So deletion is no problem with hardlinked files, the only problem is a user trying to edit the file (unprobable indeed) or to overwrite it (quite possible if logged in).
Mar
13
comment Configure bash globbing
That's interesting, but can't be the cause. The concerned directory is my $HOME and the permissions are right (700).
Mar
12
comment Configure bash globbing
This behavior is very strange, indeed. I edited my question.
Mar
12
comment Configure bash globbing
You're right in what you're saying about not matching. But it should match, there're tons of .foo files in my home directory, etc.
Mar
6
comment Setting up a cronjob as a file
Forget about crontab -e and use crontab my_private_crontab_file or crontab -.
Feb
8
comment Is there a file search engine like “Everything” in Linux?
I'm unsure if inotify could be useful here as it's not recursive. Creating watches for the whole tree is simple, but can the kernel handle many tens of thousands of them? Even if it can, this doesn't look as an effective way to me.
Mar
21
comment Selective recursive move?
@glenn jackman Actually both, I'm moving a couple of things around like crazy.
Mar
21
comment Selective recursive move?
Actually, I'm interested in both mv and cp. Both with or without subdirectories. So this solution is useful, too.
Mar
11
comment Rolling back a file
@Roland Consider using git, after some learning it's so easy to use and so fast, so you'll never think about not versioning anything (and you'll not understand how you ever could use svn). I need less than one minute to create a repo for a new project, to commit, and to clone to a server. Just my opinion, not gonna start a flame war.
Mar
11
comment Why isn't a straightforward 1/5/15 minute moving average used in Linux load calculation?
@user5528 The times 1min/5min/15min do have sense. They determine the time after which the influence of the current load drops by some fixed factor (probably e=2.71.. or maybe 2). Just try it out.
Mar
10
comment Need help with re-partitioning
You can probably do something very simple instead. Your root directory surely contains something what not really belongs there. Either reconfigure the program working with it or move the whole directory to another partition and create a symlink pointing there instead.