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

learn more… | top users | synonyms

3
votes
2answers
152 views

How to fake a filesystem that cannot be mounted by others

I'm currently working on a project. There's an Ubuntu Linux system installed on a disk, DA, mounting the other disk, DB. What it requires is that DB can be only mounted by DA in order to prevent data ...
3
votes
2answers
725 views

How to mount a filesystem from a given USB bus:device

Recently I bought a new smartphone (with Android). When I connect it to my laptop, the (gui)file manager (PCManFM) recognize it and show me the filesystem at route gphoto2://[usb:001,003]. But I can't ...
1
vote
2answers
354 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 ...
2
votes
3answers
419 views

How to tail a file over the network?

How can I tail -f a file that over the network, say at \\192.168.2.130\public\print.log? I have tried the variations of the following: tail -f //192.168.2.130/Southpaw/Tactic/print.log which erred ...
1
vote
0answers
553 views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
0answers
175 views

sshfs and Emacs: file changed on the disk

I am using Mac 10.6.8 SSHFS version 2.4 fuse4x library version: FUSE 2.8.7 / fuse4x 0.9.2 I connect via sshfs to a remote cluster (via a bridge). I modify the remote files with emacs. The problem ...
1
vote
0answers
52 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
0
votes
2answers
86 views

mount -a locks up my script if any of many remote drives are offline

I've written a backup script which backs up multiple windows servers by mapping those server's hard drives to the linux file system at a particular mount points. At the beginning of the script, I ...
1
vote
2answers
523 views

Mounting a partclone image

I'm having a really strange issue. I have backups of my machine in a local RAID array. They were created by Clonezilla, so I've created an actual filesystem image like so: cat ...
3
votes
1answer
63 views

Does Live Linux CD in general have safe handling of Windows NTFS files

I was reading this article - how do I Access or mount windows NTFS partition in Linux that mentions: NTFS3G is an open source cross-platform, stable, GPL licensed, POSIX, NTFS R/W driver used in ...
6
votes
2answers
3k views

Automount CIFS shares on boot?

I have a script saved that mounts my CIFS share, but I have to run it manually every time I boot into Linux and I connect to the internet. Is there a way that I can set the script to run as root every ...
2
votes
2answers
552 views

How to mount bzip2-ed Clonezilla image without using extra drive space?

My hard drive seems to be failing and I suspect some data may be already damaged, so I decided to make an entire drive backup with Clonezilla using dd. I have chosen bzip2 compression to fit entire ...
3
votes
1answer
43 views

Customize Drive Mount Location

I'm running Crunchbang Linux (a variant of Debian) Whenever I plug in a drive, it gets mounted to /media/username/UUID-or-Name. Is there a way to instead mount it to /media/UUID-or-Name? Crunchbang ...
0
votes
1answer
827 views

Can't execute a file with execute permission bit set [duplicate]

Well I'm just too green to Linux, but I'm stuck with a thing that I should know, and I don't. My file has the following permission bits sets: -r-xr-xr-x is owned by root ( but it should not matter ...
4
votes
2answers
240 views

UUID in /etc/mtab

In some versions of Ubuntu. Disks are mounted by UUID. in My machine, /proc/mounts /dev/disk/by-uuid/UUID / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 /etc/fstab UUID=U-U-I-D ...
3
votes
1answer
611 views

usb0 -> what exactly is it for?

So far, I found out that on GNU/Linux /media/usb0 seems to be a mount point for Ethernet over USB. Nice. Question: Where is defined, what usb0 is exactly for? I distilled the above mentioned ...
2
votes
1answer
149 views

/var on an Logical Volume on ISCSI

I have Physical Volume that is on an open-iscsi device. This device is mounted after Linux has already started writing to the log files. Can I mount a Logical Volume on that Physical Volume to /var to ...
1
vote
1answer
93 views

Is it possbile to mount Windows filesystems without using the root account?

As we all know, the intervention of root is necessary to mount a filesystem on Linux. But is it possible to do this without access to the root account? Because I don't know the password of root.
1
vote
1answer
77 views

How to modify mount options in an OpenBSD install?

How exactly can I modify different mount options for a FS at an OpenBSD install? IT's crazy, but I just can't find it. I'm at here: W # Use (W)hole disk or (E)dit the MBR? E # Use (A)uto layout, ...
1
vote
0answers
498 views

User needs dedicated external hard drive mounted to their home folder

One of the users on our Ubuntu server has given us an external hard drive as a means of increasing the amount of storage space for their account. They'd like us to auto-mount this external hard drive ...
3
votes
1answer
151 views

Is there a way to show all flags in /proc/mounts?

Some filesystem flags seem to be hidden in /proc/mounts, depending on whether they are defined as defaults. Is there a way to show all flags in /proc/mounts, also including the default ones? And if ...
5
votes
1answer
266 views

Know which directory is “mount -o bind” by asking the kernel (Linux)

If I do mount -o bind /my/dir /mnt/tmp, I can see the content of /my/dir within /mnt/temp. However, if I type cat /proc/mounts, I get the following output: /dev/sda7 /my ext4 ...
0
votes
1answer
626 views

How to set default auto mount options for removable media?

I have quite a bit of removable media (flash drives, external hard drives, etc) that I want to adjust auto mount options for. How does one do this? Is there something similar to /etc/fstab?
2
votes
0answers
443 views

Resize / remount /dev/shm not working

I've got a linux box dedicated to playing host to an Oracle server installation. It's got 4Gb RAM and by default, 50% (2Gb) has been allocated to /dev/shm. I want to change this to 3Gb, but I am ...
10
votes
5answers
598 views

How does mounting on the GUI work “under the hood”

UPDATE Please correct me if I'm wrong: For working on my computer, with a GNU/Linux Distribution named Debian, I know two ways to enter a command, start an application, open a file, etc.: a ...
0
votes
1answer
334 views

mount: special device /tmp/cdrom does not exist - CentOS kickstart %post section

I am upgrading an installation from CentOS 5.5 to 6.4. I am having troubles with my kickstart file in the %post section while mounting /tmp/cdrom during the install: The following configuration in ...
2
votes
2answers
187 views

How to have a chroot system mount shared with its host?

Say I chrooted into ~/myroot with its /mnt being bind-mounted from the host's /mnt. Now (from within the chroot environment) I want to e.g. mount /dev/something /mnt/something such that not only the ...
0
votes
0answers
233 views

How to mount a flushed hard disk in Xubuntu

I want to recover data from an internal hard disk with Windows Vista. I`m using a live CD of Xubuntu. But when I write: sudo fdisk -l I obtain only the USB disk in which I have Xubuntu live. How ...
0
votes
1answer
862 views

mounting by default at startup with /etc/fstab doesn't work

I'm trying since a few hours to mount a partition (md0) automatically with the server start. The Content of my /etc/fstab: # <file system> <mount point> <type> <options> ...
3
votes
2answers
6k views

How to mount a windows/samba windows share under Linux?

Under Linux (Ubuntu 12.04) I want to mount a windows share / windows partition named //winshared on the network. I do not know the IP or anything else. On one Ubuntu system, I am able to mount a ...
1
vote
1answer
887 views

How to mount a flash image in Linux? [duplicate]

In Linux, I created an image of a flash disk as follows: sudo dd if=/dev/sdb of=test.img which I now want to mount directly. I tried the following command sudo mount -t ext3 -o loop test.img ...
3
votes
1answer
230 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
3
votes
1answer
301 views

SELinux context of files mounted from a Solaris server

Something I'm attempting to run in RHEL6 fails as a result of SELinux. The problem is temporarily easily solved with "setenforce 0". However turning SELinux off entirely isn't an option in my case. ...
0
votes
1answer
3k views

how do I mount a CIFS share so I can fully control the mounted volume on the client

It's a simple question: but I am in much pain over this situation, so here is the question: How can I "mount" a share so that a) the share is run on boot b) that I can control things like chown/chmod ...
4
votes
2answers
81 views

How is network mounted software executed?

I would like to understand how network mounted software works. For example, at my place of work, we have a software server. Each client machine (hundreds of them) automatically mounts directories ...
6
votes
2answers
327 views

Which of proc, sys etc. should be bind-mounted (or not) when chrooting into a “replacement” distribution?

This answer to another question basically boils down to chrooting into another Linux distribution in order to mainly use that as a replacement to its too restricted (but irreplaceable) parent. The ...
2
votes
2answers
328 views

How do I `umount` /proc?

I am following this tutorial on how to do a firmware update to my NAND flash. I followed it only changing the directory where I am placing my new root. I am copying all of the /bin /dev /sbin /usr ...
3
votes
1answer
153 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 ...
2
votes
1answer
3k views

NFS Mounting Error

From ServerA I shared directory /u001/app/oracle/FolderA and trying to mount this on SeverB under /media Contents of ServerA /etc/exports file /u001/app/oracle/FolderA ServerB(rw,sync) When I ...
5
votes
1answer
1k views

What does the errors=continue mount option mean?

On the output of the mount command on my system there are some lines like the following: /dev/sda2 on /var/log type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) And inside the ...
0
votes
1answer
177 views

sudo mount from webserver (Apache) by mod_php, result not visible by root

Intial question: http://stackoverflow.com/questions/19598201/umounting-through-exec-with-sudo-the-user-is-a-sudoer-with-nopasswd Basically, I have a PHP script, that: exec('sudo mount ...
4
votes
1answer
2k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
0
votes
1answer
2k views

Questions regarding mounting CD-ROM on linux

I am trying to mount the dvd+rw drives in my Debian 7 PC. There are two drives and I can see that these exist in /dev: $ ls -la /dev/dvd* lrwxrwxrwx 1 root root 3 Oct 26 07:47 dvd -> sr1 ...
2
votes
2answers
5k views

Format windows (NTFS) hard drive on Ubuntu using command line

This is really a two part question. I've never formatted a hard dirve on Linux/Unix, so please bear with me. I had an old Windows machine which recently died. So I decided to put the hard drive into ...
1
vote
1answer
1k views

Can't copy files from a loop-mounted ISO image: Input/Output error

Please advise - why do I get an "Input/output error" when I try to copy some files from my ISO mount to /var/tmp I mount the .iso file under /mnt and try to copy files from the isolinux directory to ...
1
vote
1answer
588 views

What could cause a run time remounting of my /var partition to be read only?

I have a buildroot generated embedded linux system (x-86 geode processor) using an initramfs but with /var and /etc mounted onto a compact flash device using the default mount options specified in ...
1
vote
1answer
282 views

Cannot mount filesystem under luks. Device does not exist

I made one big luks device and re-used it on my debian install, then i ran into some boot problems and i need to acess the filesystem. The problem is, i decrypt the luks device and when i try to ...
8
votes
4answers
8k views

Allow non-superusers to mount any filesystem

Is it possible to allow some particular users (e.g. members of a group) to mount any filesystem without superuser privileges on Linux? (Another question might have been "in what ways a user can harm ...
2
votes
1answer
141 views

Minimizing “idle” writes on a file system

Leaving out many details, I need to create a read/write file system on a device with the following main goals: Eliminate all writes while data is not being explicitly written. Reduce all indirect ...
3
votes
1answer
113 views

Securing /tmp on OpenVZ [closed]

/tmp should be mounted as a separate filesystem with the noexec,nosuid options set /var/tmp should either be symlinked to /tmp or mounted as a filesystem /dev/shm is not mounted with the noexec,nosuid ...