Woran liegt es, das...

F

flugopa

nur der volle PATH das gewünschte Ergebnis bringt?

Code:
[user3@maerz ~]$ sudo /sbin/umount.cifs ~/Ressourcen
[user3@maerz ~]$ mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda5 on /home type ext3 (rw)
/dev/sda1 on /boot type ext2 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/scd0 on /media/JLK type iso9660 (rw,noexec,nosuid,nodev,uid=500)
//pc2400/ressourcen on /home/user3/Ressourcen type cifs (rw,mand)

[user3@maerz ~]$ sudo /sbin/umount.cifs /home/user3/Ressourcen
[user3@maerz ~]$ mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda5 on /home type ext3 (rw)
/dev/sda1 on /boot type ext2 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
 
Hi,

ich vermute, dass die vollständige URL auch als Index fungiert. Wenn du nun das Homeverzeichnis abkürzt weiß (u)mount nicht, wie ihm geschieht. Ist für mich atm die einzig logische Erklärung.
 
Welche shell benutzt du?
Eigentlich sollten das identische Befehle sein. tilde expansion wird auf shell Ebene ausgeführt. Beim umount Befehl sollte dieselbe Argumentenliste in beiden Fällen ankommen.

Mach mal
Code:
echo ~
sudo echo ~
Das müsste aber beides "/home/user3" ausgeben.

edit: btw hättest du dir beim Threadtitel und bei der (praktisch nicht vorhandenen) Problembeschreibung etwas mehr Mühe geben können..
 
Zuletzt bearbeitet:

Ähnliche Themen

Festplatte auf SD Karte umziehen

CentOS 6 - Kernel crashes mit 2.6.32-573.*

load avarage permanent 10

Neue Partition unter openSUSE 12.2 erstellen

Raid-1 einrichten

Zurück
Oben