1,684 reputation
1713
bio website a3nm.net
location
age
visits member for 3 years, 6 months
seen Dec 14 at 21:52

Oct
15
comment Get diff changes between original files installed with apt and current files
@Mxx: thanks, adding a check for this package, although starting with Debian jessie it seems that coreutils is providing a `realpath' command.
Sep
26
comment Why did powering down my machine after a bad `rm` save my files?
@Patrick: OK, so then I guess that the write cache must guarantee that both the journal and disk are committed roughly at the same time, so the disk cannot end up in an inconsistent state? Does it have some notion of pages that need to be flushed simultaneously, or pages that need to be flushed in a precise order?
Sep
25
awarded  Good Question
Sep
24
awarded  Popular Question
Sep
24
revised Why did powering down my machine after a bad `rm` save my files?
typos and rephrasing
Sep
24
comment Why did powering down my machine after a bad `rm` save my files?
Thanks for this answer! However, I do not understand this: as for this "sync" that is mentioned in commit=nrsec, is it something that would take place after the kernel has decided to flush changes from memory to disk? Or does setting commit=1 guarantee that all changes will be flushed after 1 second regardless of the dirty_expire_centisecs and dirty_writeback_centisecs settings?
Sep
24
awarded  Nice Question
Sep
24
comment Why did powering down my machine after a bad `rm` save my files?
Also, magic sysrq also has the limitation that you still cannot do it on a remote machine.
Sep
24
comment Why did powering down my machine after a bad `rm` save my files?
Thanks for this answer! I am still confused a bit about the journal: should I think of it as something that only gets involved when the changes get flushed to disk, so that write caching is the only relevant mechanism to estimate the grace time before the rm gets written? In other words, things are committed to the journal only when a write is just about to be performed? Or is the picture more complex than that? As for alt-sysrq-u, this is a pretty neat idea. Do you have a reference to give for the "It appears" claim? (It doesn't seem to follow from the links that you gave.) Thanks! :)
Sep
24
revised Why did powering down my machine after a bad `rm` save my files?
+servers
Sep
24
asked Why did powering down my machine after a bad `rm` save my files?
Aug
18
awarded  Curious
Aug
17
comment Disk usage inside archives, like ncdu
For gzip, I think that decompression can be done in streaming, and tar archives are sequential, so one should be able to talk of the compressed size of a file as the difference between the offset of this file and the offset of the next file, no? (I don't know gzip in detail so I may be missing some subtleties.) Of course this would favor files that come later in the archive (e.g., if I have two copies of the same file, only the first would take space) but I guess that's an OK approximation. What do you think?
Aug
17
comment Disk usage inside archives, like ncdu
Thanks for your answer! This is a good idea, but what I care about is the compressed size of the files, not uncompressed: I want to see which files take up the most space in the actual archive. Is there any way to do this?
Aug
17
asked Disk usage inside archives, like ncdu
Aug
5
comment Open html attachments externally in mutt
@jasonwryan Yes, but of course this only applies to mail loaded in mutt, not to all the browsing I do, so it isn't that easy to find something satisfactory...
Aug
5
awarded  Commentator
Aug
5
comment Open html attachments externally in mutt
@jasonwryan Yes... I'm looking for a way to invoke Firefox in a way that would disallow any external lookups.
Aug
5
comment Open html attachments externally in mutt
Is there a way to do this while disabling the loading of external resources (for privacy reasons)?
Aug
3
awarded  Editor