Poslao: 03 Maj 2011 14:24
|
offline
- FarscapeFan
- Legendarni građanin
- Pridružio: 30 Dec 2007
- Poruke: 4759
- Gde živiš: Niš
|
da li možeš da postaviš ispis od :
cat /etc/mtab
|
|
|
Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
|
|
Poslao: 03 Maj 2011 14:25
|
offline
- Pridružio: 03 Feb 2008
- Poruke: 286
|
ubuntu@ubuntu:~$ cat /etc/mtab
aufs / aufs rw 0 0
none /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
/dev/sdb1 /cdrom vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
/dev/sda1 /media/23595e96-6032-4b4a-acd0-15a410a08c72 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
/dev/sda2 /media/a956485f-a8d1-452f-be92-eddedf8a7ab3 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
|
|
|
|
Poslao: 03 Maj 2011 14:31
|
offline
- FarscapeFan
- Legendarni građanin
- Pridružio: 30 Dec 2007
- Poruke: 4759
- Gde živiš: Niš
|
da li možeš da , na sledeci nacin ponovo mountuješ:
prvo dva puta:
sudo umount /mnt/backup
sudo umount /mnt/backup
pa potom :
sudo mount -t cifs //192.168.0.100/share /mnt/backup -o guest,iocharset=utf8,file_mode=0777,dir_mode=0777
pa potom
cat /etc/mtab
|
|
|
|
Poslao: 03 Maj 2011 14:36
|
offline
- Pridružio: 03 Feb 2008
- Poruke: 286
|
1.
ubuntu@ubuntu:~$ sudo umount /mnt/backup
umount: /mnt/backup: not mounted
ubuntu@ubuntu:~$ sudo umount /mnt/backup
umount: /mnt/backup: not mounted
ubuntu@ubuntu:~$
2.
ubuntu@ubuntu:~$ sudo mount -t cifs //192.168.0.100/share /mnt/backup -o
mount: option requires an argument -- 'o'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ guest,iocharset=utf8,file_mode=0777,dir_mode=0777
guest,iocharset=utf8,file_mode=0777,dir_mode=0777: command not found
ubuntu@ubuntu:~$
3.
ubuntu@ubuntu:~$ cat /etc/mtab
aufs / aufs rw 0 0
none /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
/dev/sdb1 /cdrom vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
/dev/sda1 /media/23595e96-6032-4b4a-acd0-15a410a08c72 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
/dev/sda2 /media/a956485f-a8d1-452f-be92-eddedf8a7ab3 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
ubuntu@ubuntu:~$
|
|
|
|
|
Poslao: 03 Maj 2011 14:56
|
offline
- Pridružio: 03 Feb 2008
- Poruke: 286
|
ubuntu@ubuntu:~$ sudo umount /mnt/backup
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo mount -t cifs //192.168.0.100/share /mnt/backup -o guest,iocharset=utf8,file_mode=0777,dir_mode=0777
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ cat /etc/mtab
aufs / aufs rw 0 0
none /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
/dev/sdb1 /cdrom vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
/dev/sda1 /media/23595e96-6032-4b4a-acd0-15a410a08c72 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
/dev/sda2 /media/a956485f-a8d1-452f-be92-eddedf8a7ab3 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
ubuntu@ubuntu:~$
|
|
|
|
Poslao: 03 Maj 2011 14:59
|
offline
- FarscapeFan
- Legendarni građanin
- Pridružio: 30 Dec 2007
- Poruke: 4759
- Gde živiš: Niš
|
vidi on ga je nekoliko puta "montirao"
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
moraju svi ovi da budu de-montirani pre nego što se ubaci onaj dugački red
pomoću
sudo umount /mnt/backup
samo uzastopno ponavljaj "sudo umount /mnt/backup" dok ne javi gresku
|
|
|
|
Poslao: 03 Maj 2011 15:01
|
offline
- Pridružio: 03 Feb 2008
- Poruke: 286
|
ubuntu@ubuntu:~$ sudo umount /mnt/backup
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo umount /mnt/backup
ubuntu@ubuntu:~$ sudo umount /mnt/backup
ubuntu@ubuntu:~$ sudo umount /mnt/backup
umount: /mnt/backup: not mounted
ubuntu@ubuntu:~$
|
|
|
|
Poslao: 03 Maj 2011 15:08
|
offline
- FarscapeFan
- Legendarni građanin
- Pridružio: 30 Dec 2007
- Poruke: 4759
- Gde živiš: Niš
|
e da ,
sada sa ovom
sudo mount -t cifs //192.168.0.100/share /mnt/backup -o guest,iocharset=utf8,file_mode=0777,dir_mode=0777
pa onda
cat /etc/mtab
|
|
|
|
Poslao: 03 Maj 2011 15:14
|
offline
- Pridružio: 03 Feb 2008
- Poruke: 286
|
ubuntu@ubuntu:~$ sudo mount -t cifs //192.168.0.100/share /mnt/backup -o guest,iocharset=utf8,file_mode=0777,dir_mode=0777
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ cat /etc/mtab
aufs / aufs rw 0 0
none /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
/dev/sdb1 /cdrom vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
/dev/sda1 /media/23595e96-6032-4b4a-acd0-15a410a08c72 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
/dev/sda2 /media/a956485f-a8d1-452f-be92-eddedf8a7ab3 ext4 rw,nosuid,nodev,uhelper=udisks 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
ubuntu@ubuntu:~$
|
|
|
|