07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

# last kernel installed<br />

image=/vmlinux<br />

label=linux<br />

initrd=/initrd.img<br />

read-only<br />

# old kernel<br />

image=/vmlinux.old<br />

label=old<br />

initrd=/initrd.img.old<br />

read-only<br />

# only for Linux/Mac OSX dual-boot<br />

macosx=/dev/sda5<br />

# bsd=/dev/sdaX and macos=/dev/sdaX<br />

# are also possible<br />

Example 8.5<br />

Yaboot configuration file<br />

8.9. Other Configurations: Time Synchronization, Logs, Sharing Access…<br />

The many elements listed in this section are good to know for anyone who wants to master<br />

all aspects of configuration of the GNU/Linux system. They are, however, treated briefly and<br />

frequently refer to the documentation.<br />

8.9.1. Timezone<br />

BACK TO BASICS<br />

Symbolic links<br />

A symbolic link is a pointer to another file. When you access it, the file to<br />

which it points is opened. Removal of the link will not cause deletion of the<br />

file to which it points. Likewise, it does not have its own set of permissions,<br />

but rather retains the permissions of its target. Finally, it can point to any<br />

type of file: directories, special files (sockets, named pipes, device files, etc.),<br />

even other symbolic links.<br />

The ln -s target link-name command creates a symbolic link, named linkname,<br />

pointing to target.<br />

If the target does not exist, then the link is “broken” and accessing it will result<br />

in an error indicating that the target file does not exist. If the link points to<br />

another link, you will have a “chain” of links that turns into a “cycle” if one of<br />

the targets points to one of its predecessors. In this case, accessing one of the<br />

links in the cycle will result in a specific error (“too many levels of symbolic<br />

links”); this means the kernel gave up aer several rounds of the cycle.<br />

Chapter 8 — Basic Configuration: Network, Accounts, Printing…<br />

167

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!