172 reputation
19
bio website
location
age
visits member for 2 years, 11 months
seen Nov 4 at 15:23

Nov
4
comment Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
@Gilles that's debatable. Mp3 tags have padding, invented specifically to allow in-file updating of tags. Worst that can happen is an incomplete or corrupt tag. Corrupt tags are ignored and the mp3 audio stream is fine as ever. You don't need to wear a seat belt when you're on the couch watching a movie.
Nov
3
accepted Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
Nov
3
awarded  Commentator
Nov
3
comment Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
Upvoted because of the "process accessing the old file" idea. I hadn't thought of that.
Nov
3
comment Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
You are saying the one proper reason is to prevent data loss? Isn't that what a journaling file system is for? (Also, (laptops and) offices have UPSses.) (Upvoted.)
Nov
3
comment Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
You are correct: Make -t the default since it is faster on ReiserFS. Good one. But irrelevant to the quality of your answer, I find slowing down Ext4 to benefit ReiserFS a bit odd: "Reiser4 has a somewhat uncertain future. It has not yet been accepted into the main line Linux kernel, the lead designer is in prison, and the company developing it is not currently in business. (...) it may not be a good choice for long term use." serverfocus.org/reiserfs-vs-ext4-vs-xfs-vs-zfs-vs-btrfs
Nov
3
asked Why does Debian prefer a temp file replacing the original over modifying bytes in original file?
Feb
25
awarded  Popular Question
Jan
10
awarded  Notable Question
Jun
26
awarded  Editor
Jun
26
revised How to send HDMI sound to OTHER HDMI port?
added 195 characters in body
Jun
26
asked How to send HDMI sound to OTHER HDMI port?
Apr
16
comment How to execute a shellscript when I plug-in a USB-device
I would like to encourage you to also check out this question and see if your knowledge can be valuable there. :)
Apr
16
accepted Why doesn't xsetwacom work from udev?
Feb
24
comment Why doesn't xsetwacom work from udev?
Wow, after so many googling I never came across this. I upvoted your answer. I will try it out when I am at work. Any specific reason for 55? I always use the idea that "numberless entries are processed last, so it's best to skip numbers for custom entries."
Feb
24
comment Why doesn't xsetwacom work from udev?
I upvoted your answer for the details, but I am not sure this is correct for the following reason: I tried using sleep with a bunch of seconds. When plugging in, the tablet works after less than a second, so by the time the commands get executed, the device is already detected and in use by X. But still it doesn't work?
Feb
22
asked Why doesn't xsetwacom work from udev?
Feb
22
accepted How to execute a shellscript when I plug-in a USB-device
Feb
22
comment How to execute a shellscript when I plug-in a USB-device
This is interesting! It seems that it has no permission to write to /log/. It does write to /tmp/. I guess it had no permission to read my previous testscripts either.
Feb
22
comment How to execute a shellscript when I plug-in a USB-device
Yes, I do that after every edit of the rules to try them out. I edited the question accordingly. This is the way udev works for a while now, but I am running 3.5.0-23-generic.