Tag Info

New answers tagged

1

Create new rules file: sudo nano /etc/udev/rules.d/99-eject-virtual-cd.rules Add this rule ACTION=="add", KERNEL=="sr[0-9]*", ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="af00", RUN+="/bin/sh -c 'eject /dev/%k'" Reload the rules sudo udevadm control -R Replug the phone to check


1

I'm not entirely sure about why Ubuntu would see one USB versus another other than perhaps file system type or limitations in the guest addition USB handlers. The solution I use is to mount the USB drive (or partition) as an OSX volume and then access it from Ubuntu via VirtualBox. In other words, a bit roundabout compared to mounting the USB drive directly ...


0

I had to struggle with the same problem. It was due to an missing entry in the fstab file. Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window. After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint. Accessing ...


0

Mount it using gphotofs Install gphotofs package: sudo apt-get install gphotofs Then create a directory wherever you prefer (i'm using /home/<user>/camera) mkdir /home/<user>/camera And use the following to mount it sudo gphotofs /home/<user>/camera notes replace <user> with your username


0

The "Disks" utility is a front end for fstab! The issue you're having is that "nosuid,nodev,nofail,x-gvfs-show" doesn't seem to work with ext4, change to "defaults" and it should work fine! Had exactly the same issue.


0

I have two data partitions that I mount at boot with /etc/fstab. However, I dual boot with Fedora. I do not want that to mount on boot (or Xubuntu from Fedora). Therefore, I just use udisks to mount those when I need to ('X' indicates partition number). sudo udisks --mount /dev/sdX You can then set an alias or a keyboard shortcut for the command if ...


4

Partitions will effectively be prevented from mounting by using the noauto option in their /etc/fstab entry. Example: The following line will hide my ntfs partition /dev/sdb2 from appearing in Nautilus, from mounting with sudo mount -a, or on system boot: UUID=87654321FFFFFFFF /mnt ntfs rw,suid,dev,exec,noauto,users,async 0 0 Now if we need to mount ...


0

I do not quite get what you are trying to achieve, but here is a suggestion. You can setup /etc/fstab to mount a partition to a hidden directory with no read permissions. That will do what you want.


2

You should add this line to your fstab: /dev/sda3 /Acer ntfs-3g defaults,user,rw,umask=000 0 0


0

Note that if you mount your ntfs drive using a label and wish to be able to change the permissions of directories or files on this drive then the following works well (edit the /etc/fstab e.g. sudo nano /etc/fstab and then add): LABEL=Portable_HD_2TB /media/mintbox2/Portable_HD_2TB ntfs permissions,defaults 0 2 Whereas the below would ...



Top 50 recent answers are included