Archive for October, 2008

Training notes from Atlantic Linux

2008-10-22

Atlantic linux writes:

We started with an Introduction to Linux course after finding some interested customers around the Galway area. (…) we decided to release our training materials under a Creative Commons license (…)

- Introduction to Linux
- Linux System Administration and Support
-
Linux Performance Tuning

Full post and training materials

Accessing ZFS snapshots

2008-10-20

Suppose you use ZFS and have pool/foo mounted at /foo.

zfs create -o mountpoint=/foo pool/foo

Suppose you’ve created a snapshot:

zfs snapshot pool/foo@bar

Now they tell you that you can access it inside .zfs/snapshot directory. However, if you go into /foo and type ls -la (option ‘a’ means you want to see files and directories beginning with a dot), you don’t see the .zfs directory. You’ll see ‘.’ and ‘..’ and all others, but not ‘.zfs’. However, an innocent ‘cd .zfs’ or ‘cd /foo/.zfs’ will get you there. A truly hidden directory indeed.

What was it called at esr’s The Art of Unix Programming? The Principle of Least Surprise?


Follow

Get every new post delivered to your Inbox.

Join 474 other followers