1,098 reputation
412
bio website juliano.info
location Sao Paulo, Brazil
age 32
visits member for 3 years, 7 months
seen Apr 12 at 18:06
Computer Science Bachelor, Software Engineer, Open Source enthusiast and Network Systems Administrator.

Feb
10
awarded  Citizen Patrol
Feb
6
comment Detailed sparse file information on Linux
Filesystems don't need to support anything with the lseek() interface, the kernel witelists the filesystem modules that support SEEK_DATA/SEEK_HOLE through a module property. This is in the manpage itself and the linked blog: "For filesystems that do not supply information about holes, the file will be represented as one entire data region."
Feb
6
comment Detailed sparse file information on Linux
There has to be some FS-agnostic way to have this information. Reading directly from the inode is definitely not an option. I was looking for something like SEEK_DATA and SEEK_HOLE parameters for lseek(), like there are in Solaris: opensolarisforum.org/man/man2/lseek.html
Feb
6
comment More free blocks than reserved, but still I get “no space on device”
fsck would be a good idea.
Feb
6
awarded  Student
Feb
6
asked Detailed sparse file information on Linux
Feb
3
comment How do I associate applications with KDE Activities?
@xenoterracide I would like to know too, where is your answer?
Jan
31
comment `chmod 770 folderName` restrics access to subdirectories & subfiles?
IIRC, then yes, it is both in SUS and POSIX.
Jan
31
answered using brace expansion to change filenames, not extensions?
Jan
26
revised Use of O_DIRECT on Linux
grammar
Jan
26
answered Use of O_DIRECT on Linux
Jan
22
comment How to re-load all running applications from swap space into RAM?
@xenoterracide: caches only make sense in real, RAM memory. It is pointless to store cache in the swap, they are complete opposites. Swap is slow memory used when the system is short on physical RAM; cache is fast memory used when the system has plenty of unused physical RAM.
Jan
21
comment How to re-load all running applications from swap space into RAM?
Swap memory is, by definition, not cache. Dropping the caches is very unlikely to change anything in the swap. Also, it is preferable to use sysctl instead of directly writing over files in the proc filesystem. sysctl vm.drop_caches=X. Also, sysctl is easier to sudo.
Jan
21
comment Can't get pop down menus to do anything in KDE/QT application GUIs in Ubuntu (Gnome session)
By the way, "QT" = "QuickTime" = Video technology from Apple; "Qt" = "Cute" = GUI cross-platform toolkit from Trolltech/Nokia
Jan
21
comment Can't get pop down menus to do anything in KDE/QT application GUIs in Ubuntu (Gnome session)
this could be caused by a broken theme engine, if Qt is using the same GTK theme. Try changing the theme.
Jan
20
answered Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?
Jan
20
comment Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?
"apache" is the name of the software foundation. "httpd" is the name of the product Apache HTTP Daemon. What you are trying to build is the httpd-2.2.17 (the same name you should have found in the tarball you downloaded from the FTP), and not apache-2.2.17 (which doesn't exist).
Jan
19
awarded  Commentator
Jan
19
comment How do idiomatic Unix programs detect what prefix they are installed under?
Better than argv[0] is to do a readlink() to /proc/self/exe, when this file is available. If that fails, then you check argv[0] and $PATH.
Jan
19
comment How do I periodically run a command with very short intervall and get the return?
@Marcel the simple way is to call daemon(3) from C or other language with library access (not from a shell script). This is the hard way.