kdw
Joined: 05 May 2006 Posts: 1460
|
Posted: 31.10.2007, 17:54 Post subject: Das JFFS2 Filesystem unterstützt auch Softlinks ... |
|
|
Hier ein Beispiel als Konsolen Ausgabe:
[root@emblinux /flash]$ls -la
drwxr-xr-x 3 root root 0 Jan 1 12:03 .
drwxr-xr-x 18 root root 576 Oct 11 2007 ..
[root@emblinux /flash]$echo "Hallo" > testtext
[root@emblinux /flash]$ls -la
drwxr-xr-x 3 root root 0 Jan 1 12:04 .
drwxr-xr-x 18 root root 576 Oct 11 2007 ..
-rw-r--r-- 1 root root 6 Jan 1 12:04 testtext
[root@emblinux /flash]$ln -s testtext testtext.link
[root@emblinux /flash]$ls -la
drwxr-xr-x 3 root root 0 Jan 1 12:04 .
drwxr-xr-x 18 root root 576 Oct 11 2007 ..
-rw-r--r-- 1 root root 6 Jan 1 12:04 testtext
lrwxrwxrwx 1 root root 8 Jan 1 12:04 testtext.link -> testtext
[root@emblinux /flash]$cat testtext
Hallo
[root@emblinux /flash]$cat testtext.link
Hallo
[root@emblinux /flash]$
Mfg
KDW |
|