Tag Info

Hot answers tagged

3

I believe you can use pmount instead. It's in the Debian 7.7 repos. $ apt-cache search pmount libpmount-dev - portable mount library - development files libpmount0.0 - portable mount library - shared library pmount - mount removable devices as normal user Usage $ pmount -h Usage: pmount [options] <device> [<label>] Mount <device> ...


3

Yes, it is perfectly possible to mount partition images made with dd. You should add a -o loop (i.e., use a loopback device) to the mount command. The final command should look like: mount -oloop -t vfat ~/part.img /mnt Of course, you should have dd'ed from a valid and previously formatted vfat filesystem in the original partition.


2

FYI, the MINOR number referred to in the previous answer must increment with the loop number. I'm mounting a whole bunch of ISOs, so I need a bunch of devices. I wrote this short script to create devices 8-30: #!/bin/bash for i in {8..30}; do /bin/mknod -m640 /dev/loop$i b 7 $i /bin/chown root:disk /dev/loop$i done Also, ...


2

It is ntfs-3g bug. Downgrade ntfs-3g and it will work. I had the same problem with 1:2014 version, and no problem with 1:2012 version (which in "stable" repository)


2

A mount point is the location within the filesystem hierarchy where a block device is mounted. In your case, /dev/mmcblk0p1 is the block device file and /run/media/ssuman/ANGSTROM is the mount point. Since it's a script file, it would be up to the script's authors/maintainers to document the command usage and optional parameters - there is no general rule ...


2

UUID=913aedd1-9c06-46fa-a26e-32bf5ef0a150 /media/Schijf-2 ext4 rw,relatime,discard 0 2 See man fstab for the complete list and description of the options.


1

Oh my, what a fail, I had leftovers from previous tests in /etc/systemd/user that conflicted. Apparently, when running systemd units from logged in users context, it will favor /etc/systemd/user directory - that's why it failed on manual mounts, but worked on boot. Removing the unit from user namespace, fixed the issue for manual mounts too.


1

You need to add a label to the partition. To do this, either use a filesystem specific tool, such as e2label for ext2/3/4 or use gparted. For example: #e2label /dev/sda2 Schijf-2 Do NOT mount the partition on a mount point (such as /home/Schijf-2) as it will then be part of that directory tree in your file manager and consequently will not show up. The ...


1

By default, if your fstab entry is: UUID=913aedd1... /media/Schijf-2 ext4 rw,relatime 0 2 your partition will not be shown as Schijf-2 in your sidebar, unless it is labelled Schijf-2. You have two options: Leave the fstab entry as is and label your partition (e.g. if sda2 is your partition): e2label /dev/sda2 Schijf-2 Leave the partition ...


1

Your /dev/sdb is clearly toast ( has tons of reallocated and pending bad sectors ). You need to replace it.


1

Leverage udev to use the same device name Instead of listing UUIDs in /etc/fstab, you could list a device name, and set up udev to use the same device name for all of these devices. Put a line like this in a file in /etc/udev/rules.d: KERNEL=="sd*", ATTRS{serial}=="123456798", NAME="one_of_my_disks%n" or KERNEL=="sd*", ATTRS{serial}=="123456798", ...


1

I have very limited knowledge what mount --bind even does really, but I think I might have figured out why I'm facing this problem with /run/mysqld in particular. I've just noticed /run (previously /var/run) is a tmpfs and thus it gets emptied during a reboot. So my guess is that /run/mysqld doesn't exist when /etc/fstab gets parsed. It's the init-script ...


1

If your company policy allows you to use CIFS then please make sure cifs utility is installed. # lsmod |grep cifs cifs 293313 3 if not then install it # yum install samba-client samba-common cifs-utils or # yum install cifs-utils After installing CIFS utility you should be able to find mount.cifs command. To mount while booting ...


1

cat /proc/mounts|sort|awk '{print $1 "\011" toupper(substr($4,0,2))}' Produces tab delimited output with mount name and mode.



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