Reputation
22,257
Next tag badge:
332/400 score
95/80 answers
Badges
2 28 79
Newest
 Yearling
Impact
~1.9m people reached

  • 0 posts edited
  • 6 helpful flags
  • 2,039 votes cast
May
19
comment Is it possible to make an exec call that “returns”?
Apparently it's possible to change a parent process's environment: stackoverflow.com/questions/205064/… But that seems terribly hacky.
May
19
comment I keep getting error: PHP Startup - libphp5.so missing? PHP seems to run fine with Apache
@PancakeMaker - ap_server_root is a .BSS segment symbol (C language global variable) in httpd: nm -D /usr/bin/httpd| grep ap_server_root Are you certain you have a good installation of Apache? Is the ServerRoot value set in /etc/httpd/conf/httpd.conf, and is it correct?
May
19
answered I keep getting error: PHP Startup - libphp5.so missing? PHP seems to run fine with Apache
May
19
awarded  filesystems
May
18
comment directory structure vs file system
@MaxNanasy - given that two meanings of "file system" are in common use (1. The names and arrangement of directories in a tree structure, and 2. The on-disk format and layout of file and directory structured data, along with the code to maintain and use it), it's pretty hard to come up with a term that's both comprehensible, not defined in a circular fashion, and technically correct. I chose to go with comprehensible and used "partition" instead of other terms. I invite you to suggest term(s) that are more correct, I'm at a loss.
May
18
answered directory structure vs file system
May
18
awarded  Nice Answer
May
17
answered Why is proc called a file system?
May
15
answered How to properly use awk in ksh?
May
15
comment Is there something like “common Linux commands”?
Very similar to unix.stackexchange.com/questions/3380/… which didn't get great answers.
May
14
answered Is it possible to have a lag between scp and checking for new file
May
14
comment How to make my server use the hosts file to resolve names?
I use dnsmasq for almost exactly this situation. I found that dnsmasq configuration wasn't particularly easy, so maybe you should pick this as THE answer, then try to get dnsmasq to do what you want, asking questions about dnsmasq instead.
May
12
awarded  Good Answer
May
12
awarded  Nice Answer
May
12
awarded  files
May
11
awarded  Nice Answer
May
11
answered Does bash open files in O_APPEND when using “>>” on linux?
May
7
comment Are files defined by their content blocks, inodes, both, or filenames?
@Tim - yes, all special files have inodes. That's how ls can show you /dev/sda1 or /tmp/.X11-unix/X0. If you do man 2 stat you can see the st_mode field of struct stat, and the C-language macros to decide what files types. An inode (on-disk data) example is in /usr/include/ext2fs/ext2_fs.h on my machine. struct ext2_inode has an i_mode member that has a particular bit set for each of the special file types.
May
7
comment Are files defined by their content blocks, inodes, both, or filenames?
@Tim - the not-regular-files don't really have data blocks. Maybe named pipes do, but the not-regular-files all need the kernel to do a lot more on each read or write. Unix-domain sockets need to have a user process on the other end. Device files reference a whole disk, or a disk partition. You can think of them as either "all of the data blocks" or "don't really have data blocks". It doesn't really make sense to think of "data blocks" in the context of not-regular-files.
May
6
revised Clustering identical files ignoring spaces & linebreaks
deleted 19 characters in body