6. ¿Cómo nos quedará?
• cd /backup/snapshots/
• ls -l
drwxr-xr-x 14 svet admin 476 Mar 20 23:44 snapshot-2007-03-20
drwxr-xr-x 14 svet admin 476 Mar 21 23:44 snapshot-2007-03-21
drwxr-xr-x 14 svet admin 476 Mar 22 23:44 snapshot-2007-03-22
drwxr-xr-x 14 svet admin 476 Mar 23 23:44 snapshot-2007-03-23
drwxr-xr-x 14 svet admin 476 Mar 24 23:44 snapshot-2007-03-24
drwxr-xr-x 14 svet admin 476 Mar 25 23:44 snapshot-2007-03-25
20. Enlaces simbólicos
• $ ls -l
total 85052
-rw-r--r-- 1 svet svet 86999860 2007-03-26 22:27 fichero1.dat
$ ln -s fichero1.dat fichero2.dat
$ ls -l
total 85052
-rw-r--r-- 1 svet svet 86999860 2007-03-26 22:27 fichero1.dat
lrwxrwxrwx 1 svet svet 12 2007-03-26 22:27 fichero2.dat -> fichero1.dat
$ du -s
85056 .
21. Enlaces (hardlinks)
• $ ls -l
total 85052
-rw-r--r-- 1 svet svet 86999860 2007-03-26 22:27 fichero1.dat
$ ln fichero1.dat fichero2.dat
$ ls -l
total 170104
-rw-r--r-- 2 svet svet 86999860 2007-03-26 22:27 fichero1.dat
-rw-r--r-- 2 svet svet 86999860 2007-03-26 22:27 fichero2.dat
$ du -s
85056 .
$ ls -i fichero1.dat
3908701 fichero1.dat
$ ls -i fichero2.dat
3908701 fichero2.dat
28. Unslung
• $ ssh -l root 192.168.1.78
Welcome to Unslung V2.3R63-uNSLUng-6.8-beta
---------- NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG ----------
BusyBox v0.60.4 (2005.03.22-06:52+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 240125792 75010680 162675564 32% /
/dev/sdb1 6528 6332 196 97% /initrd
/dev/sdb1 240125792 75010680 162675564 32% /
/dev/sda1 307426936 223085068 81218592 73% /share/flash/data
/dev/sdb1 240125792 75010680 162675564 32% /share/hdd/data
/dev/sdb2 116661 4155 111302 4% /share/hdd/conf
/dev/sdb2 116661 4155 111302 4% /share/flash/conf
29. Unslung: ipkg
• # ipkg list
abook - 0.5.6-1 - Abook is a text-based addressbook program designed ...
adduser - 1.1.3-9 - a multi-call binary for login and user account administration
adns - 1.3-2 - Asynchronous resolver library and DNS resolver utilities.
alac-decoder - 0.1.0-2 - A decoder for the apple lossless file format
...
asterisk - 1.2.14-3 - Open Source VoIP PBX System
...
rsync - 2.6.9-2 - fast remote file copy program (like rcp)
...
zoo - 2.10-1 - zoo - File archiving utility with compression
zsh - 4.2.6-3 - Zsh is a shell designed for interactive use.
30. Unslung: ipkg
• # ipkg info rsync
Package: rsync
Version: 2.6.9-2
Status: install user installed
Section: net
Architecture: armeb
maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
MD5Sum: 4a7310cefe3d43ab5e6bd49577cdd057
Size: 200677
Filename: rsync_2.6.9-2_armeb.ipk
Source: http://www.samba.org/ftp/rsync/rsync-2.6.9.tar.gz
Description: fast remote file copy program (like rcp)
# ipkg install rsync
# ipkg install bash