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

learn more… | top users | synonyms

8
votes
1answer
16k views

Mounting USB drive that is not recognized

Using Arch Linux / XFCE, I frequently have problems with USB drives that are not properly mounted. Sometimes they automatically show up in Thunar and I can mount them with one click. However, at other ...
6
votes
1answer
1k views

How to mount a Truecrypt container with a timeout from the command line?

I'm mounting a truecrypt container via the command line (i.e. truecrypt file dir). Is there any way to have truecrypt automatically unmount the container after a given amount of inactivity in dir?
6
votes
3answers
2k views

Mounting and modifying a loopback file without sudo/root, is it possible?

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 ...
5
votes
3answers
1k views

How to check if /proc/ is mounted

How can I check if /proc/ is mounted? Using /etc/mtab is discouraged as it might be inconsistent. Using /proc/mounts is also not an option as might not exist if /proc/ is not mounted (although ...
4
votes
1answer
78 views

mapping a split file to /dev/loop0

I have a iscsi disk 2TB large. I make backup of that disk every week. The backup script copies the image of the whole iscsi disk into a file on my NFS. Unfortunately, it does not copy the image in one ...
4
votes
3answers
779 views

How to remove a USB drive without worrying if its been unmounted?

Sometimes I unplug my usb drive only to find out files were not written to it. I suppose the only way to ensure files are written to it is to right click on the USB drive on the desktop and then ...
4
votes
1answer
5k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
4
votes
5answers
5k views

What sudoer spec allows users to mount cifs shares?

I'm trying create a line in /etc/sudoers that allows members of group "users" to mount cifs shares anywhere inside their own home directory. In my first attempt I tried: %users ALL=/bin/mount -t cifs ...
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
3
votes
2answers
2k views

Mount NTFS Partition on Startup in Ubuntu

I have a 10 gigabyte partition which I use for files which I share between my Windows installation and my Oneiric Ocelet (Ubuntu) installation. My Eclipse workspaces exist on this partition. Eclipse ...
2
votes
1answer
297 views

systemd - umount device after service which depends on it finishes

I'm trying to implement a mechanism of automated backup using udev rules and systemd. The idea is to launch a backup routine upon hot-plugging a specific storage device, quite similar to this ...
2
votes
1answer
2k views

single bind mounted file gets out of sync in linux

I am bind mounting a single file on top of another one and after making changes with an editor, I don't see the modifications in both files. However, if I make the changes with the shell using ...
1
vote
1answer
231 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
1
vote
1answer
351 views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...
1
vote
3answers
795 views

How to mount multiple partitions

Is there a way to mount multiple partitions, or even all partitions, of a disk with a single command in Linux? Is there, perhaps, an option that the mount command accepts that would facilitate this? ...
11
votes
5answers
9k views

Check if folder is a mounted remote filesystem

What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script? I am looking for a command that would look like: ...
6
votes
1answer
609 views

Mounting an old floppy image file (.ima format) - how hard can it be?

I'm trying to mount and access a floppy image file in the .ima format (raw dump to floppy, similar to .img) on ArchLinux. This file is part of a set of 30. It is not bootable, but rather a ...
5
votes
1answer
2k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
5
votes
1answer
508 views

Does `shutdown -P now` safely unmount a USB drive mounted to `/dev/sdb1`?

I typically unmount my USB drive (using umount) from /dev/sdb1 before I shutdown my computer but if I shut it down using shutdown -P now and then restart it, the drive is no longer mounted. Is this ...
4
votes
2answers
2k views

HDD no longer able to mount after editing /etc/fstab

I have an SSD which holds / and my home directory, but I also have a 1TB HDD with most of my music on. I tried to edit /etc/fstab to automatically mount the HDD to save me time. I am running Kubuntu. ...
3
votes
1answer
116 views

A process, run as root, when performing mount, is mounting for `self`, how to make the mount global?

I'm mounting a share from within process'es context. That, ultimately, mounts the object on a per-process namespace basis, rendering it invisible for the rest of the system. The problem is partially ...
3
votes
2answers
702 views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
3
votes
1answer
275 views

How to mount some folders on a different partition

I recently got an SSD for my computer. Therefore I reinstalled my system and mounted / on /dev/sda1 (which is a partition on the SSD). To protect the SSD, I managed to mount /tmp on the RAMdisk. ...
3
votes
2answers
278 views

filesystem image mounted with lofiadm looks smaller than expected

I have a .gz file and I'd like to see the content of it. I used lofiadm to mount it. lofiadm /backup/file.gz ->> returned /dev/lofi/1 mount -F ufs /dev/lofi/1 /mnt Then I checked the content ...
3
votes
3answers
490 views

Problem with mount namespaces under Fedora

I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
3
votes
3answers
2k views

Unable to mount NTFS partition from user account

I'm trying to mount a Windows ntfs partition on openSuse 11.4. When I mount it using the root account (either directly or via sudo) it mounts without problems. But when I try mounting it without any ...
3
votes
1answer
5k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
3
votes
1answer
597 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of ...
2
votes
0answers
353 views

remount chrooted read-only subdirectory (non-mountpoint) to read-write from within jail?

I'm trying to do the same of this question (multiple linux installation on same filesystem) but I get this result (root filesystem mounted as read-only) . I'm using debian/sid, have successfully ...
2
votes
0answers
151 views

/home is Read Only after coming out of screensaver (intermittent)

I am using Linux Mint 13 (Maya) and I have my "/home" partition formatted as ext4 and mounted at "dev/sdc1". Occasionally I have a strange problem coming up that looks a lot like this bug that I ...
2
votes
1answer
1k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
2
votes
1answer
358 views

pmount - omit rules in fstab

How use pmount that it omit fstab rules? For example # fstab: /dev/sr0 /media/cdrom ... (etc.) # in terminal pmount /dev/sr0 /media/xxx # it will omit /media/xxx mount point and it will mount in ...
2
votes
2answers
3k views

how to chown mounted device?

When I plug in my external hard-drive when running KDE, it prompts me to mount the device (by clicking an icon, no sudo involved), and once I've done that I am the owner of the files. This is great. ...
1
vote
1answer
37 views

Mounting a device without read permissions

It is possible mount a flash drive without read permission?
1
vote
2answers
159 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server 11.10 (x86) and I basically ran into this problem as this: http://serverfault.com/questions/56588/unmount-a-nfs-mount-where-the-nfs-server-has-disappeared The umount command ...
1
vote
2answers
253 views

Setting up a RAID 1 in Funtoo [closed]

In short Following the guide How to Set Up a RAID 1 Under GNU/Linux, I have setup a RAID 1. Checking the RAID Array for validity in various ways, appeared to be normal. However, after rebooting the ...
1
vote
0answers
1k views

How to mount samba rw because everything fails

I'm trying to mount windows share on my laptop and everything mounts ok but somehow I get permission denied when I try to create new file inside mounted folder. I tried noperm, uid, gid, noacl etc. ...
1
vote
1answer
1k views

Mount a Rackspace drive in Linux

Is there any software that will allow me to mount a Rackspace drive in linux? I want to copy SQL files from my database onto my Rackspace. I have web min running a backup nightly and copying those ...
1
vote
1answer
4k views

Mount a Windows network drive

I want to mount a netword drive on the server (SBS2008). I have two options: Either using a fedora which already mounts on a CentOS server or directly on the CentOS server. Here is the command I tried ...
0
votes
2answers
105 views

What happened to the old files if we mount a drive to the directory? [duplicate]

mkdir /home then we mount something on /home. Say /home already contains files. What happen to the old files after a new drive is mounted to that directory?
0
votes
4answers
20k views

How to read NTFS drives in Linux (RHEL 6)?

My system is on dual boot. I have installed both RHEL 6 and win7 in it. I use RHEL mostly and I want to use my windows' NTFS drive in RHEL. How can I do it? Tell me the procedure.