1
vote
3answers
735 views

What's the shortest command to find a volume's BSD device name ( /dev/disk*s* )?

What's the easiest way to find out that, for example, /Volumes/Foo lives in /dev/disk0s2 ? EDIT: mount is probably a more semantically satisfying answer, but it doesn't get much shorter than df
1
vote
4answers
2k views

How do forward/reverse lookups differ between “nslookup,” “dig,” and “host”?

How are "nslookup," "dig," and "host" different (in terms of looking up hostnames or IP addresses)? Which authorities are queried? I'm trying to figure out when I should use one over the others.