The sys admin’s daily grind – Di
Di is All In
The more frequently a command is used, the fewer letters it should have, so the use of twokey commands like ls, mv, and df is second nature. We look at a previously little-known representative of this club, di.
To be fair, I have to admit that many two-letter commands compensate for their compact size with a breathtaking number of parameters. The tool I look at today, Di, is no exception. The name stands for “disk information” – it’s a kind df on steroids. Like its role model, Di delivers information about filesystems, but with much more detail, and the output filters are much better.
Figure 1 shows the output from di ‑a, a list of all mounted filesystems, including filesystems that do not exist physically but that the kernel hallucinates into the directory tree. The parameter ‑x lets you specify filesystems you want Di to hide (e.g., di ‑a ‑x proc keeps the /proc entry from being listed). You can also specify multiple filesystems in a comma-separated list:
di ‑a U ‑x proc,tmpfs,fuse
Buy this article as PDF
Should you trust an online service to store your online passwords?
New B+ board lets you build cool things without the complication of a powered USB hub.
Redmond rushes in to root out alleged malware haven.
New initiative will bring futuristic virtual reality effects to the web surfing experience.
Dyreza malware launches a man-in-the-middle attack that compromises SSL.
New cloud combines worldwide access with local attention to data security.
A first cousin of the recent Heartbleed attack affects EAP-based wireless and peer-to-peer authentication.
FOSS community acts to protect freedom of choice for laptop devices.
Quintessential open source browser shores up its market share with a step toward the proprietary dark side.
Authorities in 16 countries take action against users of the imfamous BlackShades malware tool.