there's a way to get the device name (/dev/sdx) with the mounted folder? i mean, get the assosiated device in a mount point using the mounted folder as the reference, or make a python dictionary with the mount points : devices...
i know that mount -l can get me the mounted file system info, but i don't really know how to strip it to make the dictionary...
any help?
Regards...
Yesterday I was able to mount my smb share with the following command
sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw
I don't know why it is not working anymore.
I removed lightdb and as a result can not get into Ubuntu 12.04 I am therefore using the LiveCD in the following commands.
I need to extract a list of installed programs in the crashed installation. What am I doing wrong, because I can not see the package.selections appearing in sdc?
I'm trying to adapt a tutorial into an easy to use script (http://qt-project.org/wiki/RaspberryPi_Beginners_guide).
I'm trying to reduce the need for sudo/root as much as possible (preferably, only for the final dd step).
Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should be based on their access rights to the source volume/network share and to the mount point.
Yesterday I was able to mount my smb share with the following command:
sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw
I don't know why it is not working anymore.
Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should be based on their access rights to the source volume/network share and to the mount point.
Didnt want to reopen the solved thread but I ran into the iphone storage mount ptoblem. Neither thunar user or root will mount the iphone to extract photos. Viewnor says files arent local.
I tried to apply the recommendation of question:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
After running that command:
sudo mount --bind /dev /mnt/dev
I get this error message:
mount: mount point /mnt/dev does not exist
fdisk -l returns
/dev/sda1
/dev/sda2
/dev/sda5
do I need to mount sda2 and sda5?
Any info that can help me rescue that serve