Sun, 06 May 2007
df Output Ordering
Sometimes questions come up that you know you should know the answer to but
you just don't. My recent one was "how does df choose the
output order?" The man page doesn't mention the logic behind it and a quick
strace shows it pulls its data from /proc/mounts
(which you'd expect) and returns the output in the same order. So logically
the question becomes how does /proc/mounts order things?
It's not exactly an important question but I can see how this ends - and it involves source code.
Like this post? - Digg Me! | Add to del.icio.us! | reddit this!
Posted: 2007/05/06 11:46 | /tools/commandline | Permanent link to this entry | This entry and same date
books
career
codinghorrors
events
geekstuff
justdont
magazines
meta
misctech
movies
nottech
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
perl
presentations
programming
python
ruby
security
security/apache
security/tools
serversmells
services/dns
sites
sysadmin
testing
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
tools/puppet
unixdaemon

