Reputation
3,055
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
6 18
Newest
 Revival
Impact
~96k people reached

Feb
6
comment How do I mount an external SD card without using sudo?
If you find this information useful and interesting, you might suggest how the answer could have been written better. It's the sort of question that comes up periodically, but I'm not aware of a good reference as you describe. Maybe there's one to be found in web search though.
Feb
6
comment How do I mount an external SD card without using sudo?
*slightly weakening the policy of the system as I described. Sorry for going all around the houses. I've added the exact udisksctl command I would try.
Feb
4
comment How do I mount an external SD card without using sudo?
Ah, apologies. I gave the correct reason why rsync without sudo would fail. However running rsync with sudo is not a solution, as you observe :). Assuming you have a current Linux distribution, it should support udisks. pmount is kind of a third-party thing - if you had to install it, you're slightly weakening the policy of your system as you describe.
Feb
2
comment OpenSSH hangs after login without showing login prompt
"Filter all ICMP and watch the world burn", indeed. I take it DD-WRT was the failing device, right?
Jan
27
comment The server is not accessible only from my IP?
server is accessible over SSH, so addressing is not likely the issue. the problem is apparently specific to http.
Jan
27
comment Linux: Why do init and systemd use so much I/O?
That's rather interesting but I think you need more specific data! systemd on my Fedora laptop is fine. strace -p1 -etrace=file,desc?
Jan
18
comment What are the use cases for write-only and write-execute files?
Hmm, actually I can't manage to forbid it either way :). Using filesystem ext4.
Jan
18
comment What are the use cases for write-only and write-execute files?
It could be used on a device node... maybe a serial interface for logging on an otherwise air-gapped system :).
Jan
18
comment What are the use cases for write-only and write-execute files?
@StéphaneChazelas Good point. I think it might technically allow touch on the directory, updating its modification time :P.
Jan
18
comment Supervisord at 99% cpu usage
E.g. run supervisorctl a couple of times and see if the PID is changing all the time. Kind of a flaw not to rate-limit it, in case there's an error.
Jan
18
comment Supervisord at 99% cpu usage
there's a typo in the worker.conf you pasted here: -- and sleep should be together: --sleep
Jan
18
comment ls -lu does not give last access time
@Celada ah-heh, fixed.
Jan
17
comment ls -lu does not give last access time
mount -oremount,strictatime / makes it (temporarily) work for me. I don't have /home on a separate partition. You need to show us your mount details e.g. grep -w /home /proc/mounts. Replace /home with / if necessary.
Jan
17
comment How to know if a network interface is tap, tun, bridge or physical?
@madcode In the general case you want the driver field. bridges will show driver: bridge. Unfortunately tun/tap both show up as driver: tun, breaking the pattern :).
Jan
7
comment Resize ext4 partition to create more inodes?
goldilocks was right the first time. man mkfs.ext4, search for -i option (bytes-per-inode). "Note that resizing a filesystem changes the numer of inodes to maintain this ratio." Verified experimentally, resizing from 1G to 10G and looking at tune2fs /dev/X | grep Inode. (It's easy to experiment like this if you installed your system using LVM partitions & left yourself free space to play with :).
Dec
30
comment How do I get graphics working with Linux on my Braswell NUC box?
@maxschlepzig - done.
Dec
30
comment How do I get graphics working with Linux on my Braswell NUC box?
Thanks for reminding me! I would like to get this fixed (I'd also like it highlighted somewhere you'd expect it, like the installation troubleshooting or the release notes!) Unfortunately I get lots of EGL errors in the journal (Wayland/gdm). The suspicion is EGL in Mesa or whatever Wayland uses that X doesn't, wasn't implemented bug-free in the first place for this chipset. I'm inclined to report this against Wayland to get it triaged... I suspect it's going to require a developer who has this hardware.
Dec
25
comment Why does mount happen over an existing directory?
Right, that's my point... So fs/namei.c (path -> inode lookup) calls into namespace.c though lookup_mnt(). There is a flag on the dentry (directory cache entry). But that's just an optimization a.k.a. implementation detail. It doesn't tell you which filesystem is mounted there; you have to look in the mount table. (See m_hash(), for more implementation details. Linux, at least, avoids additional string comparisons, and AFAICS at the same time manages to re-use dentry's across e.g. bind mounts, because it's written by wizards).
Dec
23
comment Why does mount happen over an existing directory?
Except it doesn't set a flag on the inode. sudo mount --bind / /mnt ; ls /mnt/proc -> empty. I wonder how it does work.
Nov
17
comment How to securely download rpmfusion keys
Unfortunately verifying against that keyserver is not any better! The connection isn't secured. Also anyone can post any key to the keyserver with any description. What you really want is a signature of that key from somewhere secure. In the past I've tried googling the key id e.g. 172FF33D, as a very dumb cross-check. (Use google over HTTPS). I've also tried tracing v.s. keys I already have.