Tag Info

Hot answers tagged

2

Install jmtpfs (aptitude install jmtpfs) which allows to mount MTP devices. Create the directory if it doesn't exist already (mkdir /tmp/myphone). Then, the following will mount your phone: jmtpfs /tmp/myphone jmtpfs will use the first available device. If you've got more than one connected at a time, you can do jmtpfs -l to find out which one is your ...


2

mount --bind takes two arguments: the path to replicate and the location where it is to be replicated. You seem to be trying to make multiple replicas; to do this, you need to issue multiple mount --bind commands. for d in /var/www/official/*/*/vendor; do mount --bind /var/my/vendor "$d" done


1

The first 3856080 bytes of this file is a kernel image. After that, there is a filesystem image. The filesystem is at offset 3932160 (3856080 rounded up to the next multiple of 128kB); I found it by inspection, I don't know where the information is stored in the image (it may be related to the erase size on the intended device). The filesystem is JFFS2, ...


1

I found the solution and in the end it was pretty simple, I just couldn't see the forrest for the tree. Find out the actual username on Windows by going to Computer Managamenet -> Local Users and Groups -> Users. Account should be listed there with the real name. Then use this name instead of the Microsoft account one and all should work.


1

The directory ~/.zzz_encfs is located in your home directory. In the shell, ~ at the beginning of a path represents your home directory. If your live system mounts filesystems of your disk automatically, check the GUI or run cat /proc/mounts to see where they may be mounted. Usually the mount points are sudirectories of /media or subdirectories of ...


1

I had same issue and editing '/etc/fstab' worked for me. I had my ext hdd in fstab included like this: /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0 Deleting whole line helped.


1

The question is somewhat confusing, but I believe you are asking how to find a mount point (e.g. /media/myusb/) by knowing only device name (e.g. /dev/sda1). You can do it for example with findmnt tool: $ findmnt /dev/sda1 TARGET SOURCE FSTYPE OPTIONS /media/myusb /dev/sda1 iso9660 ro,relatime you can also search in other direction with findmnt ...


1

To make ordinary user to operate with remote share you should add the user's id to the option like sudo mount.cifs //DRIVE ~/homedir/ -o user=user,pass=pass,sec=ntlmssp,uid=1000,gid=46 where uid - user id which can found in id command output guid - user group id ( but in some case you'd better use plugdev group which equal 46)


1

Apache does not activelly monitor changes on the PHP andother configuration files. You need to tell the service to reload the changes. # service httpd reload or stopping and starting the server altogether: # service httpd restart On a different note, you can see when the server reloaded your data by enabling mod_status on your httpd.conf file (usually ...


1

If the filesystem you want is on an LVM, you should not mount the partition directly. Instead, look for the logical volume name under /dev/mapper and mount that. If nothing is there, you may need to perform an LVM scan and activate the partition. E.G. # lvm lvm> pvscan lvm> lvdisplay [list of LVMs found] lvm> lvchange -a y [lv name] The pvscan ...


1

The only way I know to remount / (root) partition is to restart the computer. But before this you should check what is the reason for this effect (/ to become r/o)



Only top voted, non community-wiki answers of a minimum length are eligible