mount command, allows mounting of a file system at a specified point in the file hierarchy.

learn more… | top users | synonyms

2
votes
0answers
27 views

Linux - mount command returns zero/0 but not working

Sounds strange, I have a shell script that it gets trigger by udev rules, to mount attached USB device to the system file tree. The script runs when an usb device attaches to system, so the rules ...
0
votes
1answer
9 views

How to mount VMware-tools cdrom inside a VM

I know this should be easy, but I'm having a hell of a time figuring out where the vmware tools cdrom is (for instance it's not /dev/cdrom) and so I can't figure out how to mount it. I'm on Kali ...
3
votes
3answers
49 views

Automatically mount a drive using /etc/fstab, and limiting access to all users of a specific group

I currently have an extra HDD which I am using as my workspace. I am trying to get it to mount automatically on reboots using the following line added to /etc/fstab /dev/sdb1 /media/workspace auto ...
2
votes
0answers
12 views

Mount LVM volume as external usb drive? CentOS 6

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 ...
2
votes
1answer
26 views

do I need fsck.ext4 before mounting a filesystem?

I have a script that mounts /dev/sdc1 to /home. I do not know the state of /dev/sdc1 in advance, it could possibly be "dirty". Do I need to run fsck.ext4 before mounting the filesystem, or has mount ...
0
votes
0answers
5 views

mounted label name disappears

I mounted a Windows HDD as follows in the /etc/fstab file as sudo: # 250 GB SSD UUID=400888B80888AE8A /media/user/wt ntfs-3g defaults,locale=hu_HU.utf8 0 0 I'd like to see in GUI the label name ...
0
votes
0answers
40 views

SMB/CIFS mount not working with exec() call

To mount CIFS presently I use system() call in source, this works. If I try to run command manually on shell it works too. $ mount -t cifs //IP/dir /mnt -o user=name,pass=PASS,domain=mydomain,nounix ...
0
votes
1answer
12 views

Cannot mount Samba share: Unable to find suitable address

I just moved house, and after putting up all my devices, on my RasPi, running Raspbian, I cannot mount my TimeCapsule's SMB file shares anymore. It used to simply work, but Now I get this: ...
2
votes
1answer
30 views

Is it possible to mask a file with a different one?

I'm trying to solve the problem that I have two OS (Windows 7/Debian) which I want to enable to share certain data from lets say Firefox/Iceweasel. My Setup Basically there's profile folder A on an ...
2
votes
0answers
11 views

Trouble viewing iPod in Rhythmbox

Once in a blue moon, my ipod (160 GB) will show up in rhythmbox on my ubuntu 12.04 laptop when I plug it it, but most of the time nothing happens. It shows up when I do fdisk -l, but when I try to ...
3
votes
1answer
34 views

is mount command a user space command or kernel command

as I understand, most of linux command are user space. but at boot time the system mount its root file system using mount command. so is this command implemented within the kernel
1
vote
1answer
45 views

USB flash drive is read-only under Gnome on Debian

I have Debian on my PC. I insert a USB flash and it open just fine in my Gnome environment. But when I try to copy something in it I get: Error during copy.The destination is only for reading. When ...
1
vote
2answers
32 views

Audio cd doesn't play

I'm trying to play an audio CD in Debian but each time I insert the CD, while there appears an icon with the CD in the screen, when I try opening it I get the message: Failed to mount "Audio CD". ...
1
vote
1answer
22 views

NTFS-3G: All files are an “unsupported reparse point”

I just connected my NTFS HDD to my homeserver and I have an odd problem. EVERY file on the HDD is displayed as an "unsupported reparse point" in ls -lsa I tried mounting with different permissions ...
1
vote
1answer
56 views

Run ./script.sh vs bash script.sh - permission denied

When I try to run ./script.sh I got Permission denied but when I run bash script.sh everything is fine. What did I do wrong?
2
votes
2answers
29 views

Can't mount second hard drive on CentOS 6.6 - Duplicate VG name

Yesterday I add a SSD to my PC configuration and I make on it a fresh installation. At the moment of installation I replace my old HDD and there was only the SSD. When the installation finish I make a ...
1
vote
1answer
36 views

Is it possible to reclaim files after incorrect unmount?

When I first began using Linux (~10 yrs ago) I used a USB univ. drive adapter to mount an external hard drive. Unfortunately, I was not aware of the unmounting procedure so, when finished, I just ...
0
votes
0answers
32 views

I use a shell script to mount several dirs that share from IBM N6040, it works on centos6 but not on centos7

First of all ,the username、password and the share dir's path is correct, it works on centos6 ,but not on centos7 The code in the shell script like this : mount -t cifs -o ...
1
vote
2answers
33 views

Create mount points automatically in /mnt, even though / is read-only

I have a requirement of changing my root partition to Readonly. After changing / to readonly in /etc/fstab, I rebooted the system. Mount points of USB devices is /mnt. But after above changes USB ...
1
vote
2answers
22 views

How do users mount .bin/.cue or .iso with loopback device as read only?

Can users mount any of the following image files as read-only using a loopback device? If it is possible then can anyone give me examples?
1
vote
1answer
44 views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
-1
votes
0answers
52 views

how to remove root clone folder

I am not entirely sure what i have done to be honest, but i believe i have mounted a folder to a / directory. So no when i am in / folder i have : bin etc lib media proc ...
1
vote
0answers
29 views

Simple automount USB devices with fstab: is it normal behaviour?

I notice that adding this in /etc/fstab: /dev/sdb1 /media vfat nofail 0 0 will automount any SD card of my USB SD reader, and even auto-remount if I remove the card, and insert a new ...
2
votes
1answer
37 views

How can I (easily) map a block device node to the directory it's mounted on?

I need to find (in C or C++) the used space on a filesystem (Linux) when being provided only with the disk block device name and the partition number. For most filesystems I can go: Craft a dev ...
2
votes
1answer
29 views

Slow root / mounting time

By running dmesg -t -d on my Raspbian/Debian Jessie, I see that this is a bottleneck in my booting process: [< 4.777880>] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. ...
4
votes
0answers
22 views

How to debug an udev rule (in /etc/udev/rules.d/…)

I'm creating a new basic rule /etc/udev/rules.d/10-myrule.rules containing: KERNEL!="sdb*", GOTO="auto_mount_end" ACTION=="add", RUN+="/usr/bin/mount /dev/sdb1 /media" LABEL="auto_mount_end" I ...
1
vote
1answer
27 views

Force mounting, bypassing fsck

When I try to mount some SD card, it fails and dmesg displays: [ 124.121735] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run ...
1
vote
1answer
30 views

Login to user's session with chroot

I have an USB thumb stick with the following partition scheme: sdb sdb1 -> root partition '/' sdb2 -> /home partition If I boot from a live CD, or just from my current Ubuntu OS ...
0
votes
2answers
38 views

Debian : Mounting a raid array

I have a Debian system on which we migrated to a SSD for faster execution. Before that we had a 2.0Tb hard disks in RAID. Now we want to use the RAID drives to perform storage generated by the ...
1
vote
0answers
34 views

New SSD only mounts after issuing blkid command. [Ubuntu 14.04]

I have a new Intel SSD Pro 2500 installed on a SATA3 port as a secondary drive. It is formatted as a primary ext4 partition. My fstab line is : UUID=1e33881a-d6cf-4933-be70-0aa837641af6 /mnt/ssd ...
4
votes
2answers
56 views

Prevent the Gtk file dialog from listing mount points

When I open the Gtk file dialog, there is a box called “Places” on the left-hand side which lists “Search”, “Recently Used”, a bunch of directories, and several things that appear to be volumes. I ...
0
votes
0answers
31 views

Contract file to mount iso?

I use contract files in /usr/share/contractor to add context menu options to the Pantheon file manager of Elementary OS. What would be the content of a such file for a menu entry like 'Mount iso'?
1
vote
1answer
31 views

Mount host directory in a virtual machine

I have a directory on a system which is the host for a virtual machine. I want to make this directory accessible from the guest of the virtual machine. There are some way I can think of, packing the ...
0
votes
0answers
17 views

how to visit the content of a directory that has been mounted to somewhere else? [duplicate]

As the title. I am sure that the directory is not emptied before the mount. Once it is mounted, only files in the mounted address will be displayed. This means that the files orginally stays in the ...
3
votes
1answer
128 views

What is a bind mount?

What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
0
votes
1answer
36 views

Deleting partitions without losing data

Case 1: Let's say I mount /dev/sda3 /var and this entry is not in /etc/fstab. After unmounting /var, if /dev/sda3 is an unused partition (no entries in the fstab), if I delete it I will not lose any ...
0
votes
1answer
19 views

Several specific configurations to the file system

Task: "You have to configure the /home's filesystem-mounting-method in such a way, so that all I/O operations will be always done in a synchronic mode, without the possibility of using the SUID ...
2
votes
1answer
112 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
30
votes
1answer
823 views

What happens when you 'mount over' an existing folder with contents?

Right now /tmp has some temporary files in it. When I mount my hard drive (/dev/sdc1) on top of /tmp, I can see the files on the hard drive. What happens to the actual content of /tmp when my hard ...
2
votes
2answers
44 views

How to mount a filesystem by 2 operating systems simultaneously?

I was wondering, is it possible to have my Raspberry Pi mount the SD that is also mounted by an digital camera? I have a scenario where I take pictures relatively fast (Raspberry Pi triggers the ...
1
vote
1answer
44 views

Automatically run command before umounting a filesystem

I want to execute a command automatically shortly before a filesystem is unmounted. The command still needs the filesystem to be mounted but I am interested in information as "new" as possible. ...
1
vote
3answers
74 views

My SD card has a partition but Linux doesn't create a device entry for the partition

OK, I don't know what's going on here, at first I thought it was a problem I remember having some time ago where I couldn't mount a vfat partition because it had some flag set that it had not been ...
0
votes
1answer
39 views

Make udisks2 clean up stale mount points?

udisks2 with udiskie are set up to automount USB storage devices. Connecting a pen drive labeled MYDRIVE, it is mounted to: /media/MYDRIVE When pulling the drive without prior unmounting, the above ...
2
votes
1answer
121 views

“mount: wrong fs type..” error when mounting USB

I'm stuck trying to mount a USB drive on a Raspberry Pi (Wheezy). I've reformatted it (ext4) and tried re-mounting it in /media/owncloud (following sudo chown -R pi:pi /media/owncloud), but hit an ...
1
vote
0answers
20 views

Virtualmin, mounted disk under home directory, but having permission errors

I have a virtualmin installation in debian 7. My hard drive was full so mounted a second under home directory (/home/disk2) using fstab file. I created a virtual server and moved it to second drive by ...
0
votes
0answers
25 views

When does the “/mnt/username_home_dir” appear?

The problem I have to solve requires the access to the /mnt/username_home_dir directory, but there is no such directory present, despite me creating a user and auto-creation of his /home/username ...
0
votes
0answers
48 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
1
vote
1answer
29 views

I can read from hard disk, but I can't mount it read only

I have some problems with my hard disk - maybe it is broken, maybe the SATA cable is broken, I am just investigating it. One thing is strange. I can read raw data from this device using: # cat ...
0
votes
1answer
17 views

run a script from rc.local, that exists on an autofs nfs share

I mount some nfs exports from a fileserver to my workstation. The workstation is ubuntustudio 64bit 14.04. in order to make the mounts as transparent as possible, I have inserted the following in my ...
3
votes
0answers
41 views

Run systemd service after automount but after it's accessed

Is it possible to run a systemd service that prepares an automounted file system for use? This service would need to run after the filesystem is mounted, but before whatever triggered the automount ...