25,586 reputation
24585
bio website
location Virginia
age 32
visits member for 4 years, 4 months
seen 5 hours ago

Dec
22
comment Is there a large performance difference between find and find2perl
I would guess that's incorrect. But the best way to answer that would be to benchmark it on your systems.
Dec
22
comment Get apt's key ids and fingerprints in machine-readable format
@NaftuliTzviKay The fingerprint is a cryptographically derived hash. There isn't any security benefit to hashing it again vs. just truncating it. Further the 8-digit and probably 16-digit ones are too short to be secure; you can generate a duplicate key by brute force. Only the full hash is reasonably secure. Can't comment if your python code does as expected, as I don't know python... But I'd guess yes. It's just the last 8 or 16 hex digits.
Dec
22
answered Get apt's key ids and fingerprints in machine-readable format
Dec
22
revised Burning a video file with non-standard aspect ratio to DVD
it's actually Full D1
Dec
22
answered Burning a video file with non-standard aspect ratio to DVD
Dec
22
comment Resize a btrfs partition inside a logical LVM volume
yes, it's supposed to be the path to the btrfs mount (not the path to a block device). Also, you may need to specify a devid (from btrfs fi show) if you have more than one device in the fs.
Dec
22
comment Correctly determining the REAL linux memory usage
@RegiUnix It's in use as disk cache... Or are you referring to something else?
Dec
22
comment Why doesn't this tee with process substitution produce the 1st and chosen lines?
Also see a followup asked about that: How do I use tee to redirect to grep?
Dec
22
comment Why doesn't this tee with process substitution produce the 1st and chosen lines?
Take a look at Thor's answer to the other question; he covers why your approach doesn't work, and a way to make it (somewhat) work. (I don't blame you for missing it, it's nowhere near the top. I missed it myself at first, too.)
Dec
22
reviewed Edit and Reopen Why doesn't this tee with process substitution produce the 1st and chosen lines?
Dec
22
revised Why doesn't this tee with process substitution produce the 1st and chosen lines?
Clarify real question in title.
Dec
20
comment Why is userspace slower than the kernel?
It's not the userspace is slower than kernel space, it's that switching between the two is time-consuming, I'll let someone else write up a full answer though.
Dec
19
comment Script for “battery level reminder”
Take a look in /sys/class/power_supply/BAT0/. Or if you're running upower, then upower -i /org/freedesktop/UPower/devices/battery_BAT0
Dec
18
comment Custom Kernel to Disable SATA and USB Devices
Hot glue will probably do wonders to the SATA ports (and any onboard USB ports). Easy alternative to desoldering.
Dec
17
awarded  Nice Answer
Dec
12
comment If statement to compare files
FYI: Unix is, in general, case sensitive. The command can't be If, it must be if. Similarly, its cmp, not Cmp.
Dec
11
awarded  Necromancer
Dec
10
comment How to find which images belong to which /dev/loop?
@bos do you have it mapped under /dev/mapper? That probably counts as in use. Clear the device-mapper mappings. (if kpartx doesn't have a way to do that, you can use dmsetup)
Dec
9
revised How to find which images belong to which /dev/loop?
added 98 characters in body
Dec
9
answered How to find which images belong to which /dev/loop?