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

learn more… | top users | synonyms

1
vote
2answers
125 views

mknod of content in directory

I would like to create a virtual device from a directory i.e. you know, there's these cloud storage providers like dropbox and co and they generally have a software client and then give you access to ...
0
votes
0answers
1k views

USB hard drive not recognized

My computer runs Cruncbang Linux (debian based). When I try to connect my friends external USB hard drive, it's not recognized. sudo fdisk -l doesn't show any new devices when I plug the USB drive in. ...
2
votes
0answers
29 views

Cannot Remove (Unmount) Server Share (NFS) from Mount List [duplicate]

Note on Duplicate - This has been marked as a duplicate quite a few times, so can someone link me to a solution which works for me? Because everything I've tried in all the other posts I've found, ...
1
vote
2answers
1k views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...
1
vote
3answers
483 views

Can't change group of files on mount point

I have mounted some ntfs drives. /etc/fstab looks like this: /dev/mapper/fedora-root / ext4 defaults 1 1 UUID=b6603ac8-e004-4cd6-b141-9bc95409e32a /boot ...
1
vote
1answer
658 views

sshfs - can't unmount the point

I mounted a folder on a remote machine using sshfs, but didn't specify -o allow_other flag thus can't access the mounted directory. When I try to mount over with -o allow_other option sshfs gives me ...
4
votes
1answer
464 views

How to use nemo actions to mount an iso file?

I read these articles: https://wiki.archlinux.org/index.php/Nemo https://wiki.archlinux.org/index.php/Mounting_images_as_user and try use Nemo Actions to mount iso files but nothing happened ...
2
votes
0answers
431 views

How to add a dependency to a systemd.mount that is activated by /bin/mount?

I want systemd on mount /mnt/test to automatically call a program (in real life cryptsetup to unlock the underlying device, for testing here echo) before the file system is mounted and after it is ...
2
votes
4answers
18k views

How to undelete just deleted directory with “rm -R” command?

I deleted an important directory with rm -R command. This is an very populer host data. It was located /var/zpanel/hostdata/ayrintilih After remove ayrintilih directory has gone everything. I tried ...
3
votes
2answers
1k views

How to check if a partition is mounted as 'noexec'?

Currently, I'm using grep '\s/location/\s.*noexec' /proc/mounts. (Is that a right way of checking this?)
4
votes
3answers
165 views

ls on device without mounting it

Is it possible to run ls on a device without mounting it first? Something like this: # ls /dev/sda1
4
votes
3answers
1k 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 ...
2
votes
1answer
46 views

AppArmor and bind-mounts

Can someone outline the semantics of AppArmor with respect to bind-mounted folders? As I understand after reading the documentation (1, 2, 3, 4) - yes, I am using Ubuntu 12.04 with the 3.8 kernel - ...
6
votes
3answers
498 views

How to get mount point of filesystem containing given file

I am looking for a quick way to find the mount point of the file system containing a given FILE. Is there anything simpler or more direct than my solution below? df -h FILE |tail -1 | awk -F% ...
-1
votes
2answers
732 views

How to remove a USB drive without worry if its been unmounted? [closed]

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
376 views

My HFS+ (hfsplus) partition won't mount with exec permissions

I'm dual-booting an old MacBook Pro with OS X 10.5 and Ubuntu Studio 13.04. I've partitioned my internal SATA drive as follows: /dev/sda1: LABEL="EFI" UUID="3F3C-1AF6" TYPE="vfat" (EFI Boot ...
1
vote
1answer
2k views

Linux fails to mount Android device in USB MSC mode

I was referred here from android.stackexchange.com. I wish to mount my Sony Xperia ST21i (Android 4.0.4) under Linux (Debian) via USB. However, I get this error: # mount /dev/sdb /mnt mount: no ...
0
votes
1answer
41 views

Is it Possible to Boot a New OS While Currently Running?

Let's assume I'm running CentOS (actually, if this question only applies to certain distros, which ones?). I have another drive (that I can boot from - it's got everything installed) mounted into my ...
3
votes
1answer
184 views

Odd behavior with a gzip compressed file

I've got a very bizarre issue occurring with a Redhat system. We have a Gzip-compressed TAR file that contains hundreds of small text files with absolute paths. It's only 8 MB. We copy this file to a ...
2
votes
1answer
372 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 ...
3
votes
2answers
58 views

Zsh completion for mounts (/run/media/DISK-LABEL)?

I am looking or zsh functionality to expand disk-labels into mountpoins: Example: I have disk with label DISK-LABEL1 mounted on /run/media/god/DISK-LABEL1. Is there a plugin which expands input ...
3
votes
1answer
166 views

Enumerating\writing files in a specific directory hangs the command

I'm communicating with a machine remotely through ssh. This machine runs a custom-built Linux and it has very limited set of commands. At some point, a specific directory refuses files to be written ...
0
votes
1answer
2k views

Can't mount external USB driver - on Ubuntu 12.04

When I plug in external usb driver I saw next prompt: Error mounting: mount exited with exit code 1: helper failed with: Unprivileged user can not mount NTFS block devices using the external FUSE ...
5
votes
1answer
125 views

mount options for bindmount

Due to some complex requirements, I had to put the following two lines in /etc/fstab: /dev/xvdg1 /srv/storage ext4 $OPTIONS1 0 2 /srv/storage/dir /var/opt/dir none bind,$OPTIONS2 0 0 ...
1
vote
3answers
213 views

How to ensure File System is Mounted with ' atime ' enabled ?

Let's run mount /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type ...
2
votes
1answer
183 views

Atime value changing only once after file creation

I've mounted disk with explicit given value - atime: mount -o mount -o atime /dev/disk1 /myDisk then I've created a file by touch file_A after this operation stat output looks like that: ...
2
votes
1answer
233 views

How can I access a shared folder from R on Ubuntu to a 2nd Ubuntu machine using Samba?

I have two machines running Ubuntu 12.04 LTS with Samba installed. I have access to myshared folder as expected. However, when setting in R the path smb://mymachine1/mysharedfolder to read a file it ...
0
votes
1answer
160 views

mount tmpfs preserve current permissions

I have a directory of a web application cache and this has the permissions 755 (default), and I configured setfacl additional permissions. the problem is that when I restart the system, the ...
3
votes
5answers
11k views

Ubuntu 13.04 does not recognize USB drive

Using Ubuntu 13.04 (with Gnome 3), my new USB stick (details see dmesg/lsusb) doesn't show up automatically. Situation: The drive does not show up at fdisk -l The drive does appear when running ...
2
votes
2answers
7k views

Mounting LVM2 volume gives me 'mount: you must specify the filesystem type'

I have a LVM2 Volume Group 'vgXEN' with a Logical Volume in it called 'test-disk'. This is the output of lvdisplay: --- Logical volume --- LV Path /dev/vgXEN/test-disk LV Name ...
2
votes
2answers
808 views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
1
vote
1answer
3k views

Can fstab options uid and gid be the user-group name or must they be numeric?

I'm learning how to set up a tmpfs in fstab for my www-data user and I was wondering if I can use the actual user/group name instead if the numeric ids (personal preference)? I'm on Debian with ext4, ...
2
votes
0answers
2k views

Permission denied for user accessing mount

Using root I can mount another Linux share no problem. root@crunchbang:/mnt# mkdir javalib root@crunchbang:/mnt# mount -t cifs //10.1.3.7/javalib ./javalib -o username=guest Root can read/write to ...
3
votes
1answer
157 views

How can I override the kernel default options for mount?

I'm struggling with a program that creates a file system in a file and mounts it as a loopback device. The purpose of the program is to create a clone of the root file system and it thinks it's being ...
3
votes
1answer
177 views

What would happen if we mounted a file system that e2fsck is already running on?

It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
3
votes
1answer
200 views

mount --no-canonicalize?

Neither man nor info page provide more information on this than: mount --no-canonicalize Don't canonicalize paths. The mount command canonicalizes all paths (from command line or fstab) ...
2
votes
2answers
2k views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
1
vote
2answers
658 views

How to access through terminal to a ntfs partition mounted?

Using Debian 7, I can access (and mount, indeed) to a ntfs partition of my hard drive.I do this by clicking on the 446 GB Filesystem shorcut in the "Files" applicacion which comes with Debian. How ...
2
votes
1answer
164 views

FreeBSD: Partition with Multiple Mount Points

On the latest FreeBSD installation, how can I make a partition have both /var/ and /tmp/ as a mount point? That is, one partition would contain /var/ and /tmp/. Is that even possible? I know of course ...
1
vote
2answers
646 views

Cannot modify files in my home directory

I have a laptop running Ubuntu Server 12.04 and suddenly, yesterday, I don't know what happened, but all the permissions changed of my home directory, so when ever I try to create a file, it says ...
3
votes
2answers
376 views

Mount a device as another user

Is there a command (on Debian Wheezy) that a testuser that belongs only to the group testuser can run (maybe he needs to be listed in sudoers first) in order to mount a USB stick as if he belonged to ...
2
votes
2answers
60 views

Mounted own filesystem instead of USB?

I am completely unfamiliar with how *nix handles partitions, but I needed to get a file off of my USB drive so I followed an online post that said you could mount a USB stick with: sudo mount -t auto ...
0
votes
0answers
463 views

Issues mounting a NTFS share on Centos 6.3

We have a web server running on Centos 6.3 and we intend to mount a shared Windows drive (Windows 2008) so that we can do our daily backups on to the shared drive. This is how I am mounting the drive ...
4
votes
1answer
114 views

Are there any security risks when mounting as root?

Are there any security related risks when mounting with root privileges compared to mounting with regular users? I have a script which does some ecryptfs mounting with non-root privileges (by design), ...
1
vote
2answers
159 views

Debian 6 and the old Pentium II

I have an old Pentium II with 300 Mhz computer just to run/test old DOS applications. It have two hard drives, a 2 GB for DOS and a 40 GB for Linux. First I installed Debian 6 with GRUB, but it failed ...
2
votes
0answers
180 views

aufs with lower writable branch

I'm trying to hide some directories on a mounted file system (it's not about security, just aesthetics). I've mounted the file system regularly on /mnt/data and wanted to use aufs to overlay a ...
1
vote
1answer
2k views

Finding correct information to update mtab and fstab?

Is there an automated way to update my mtab and fstab? Or a command I can run so that I can copy the output into these files? I'm just nervous about tampering with these files because I know they are ...
2
votes
1answer
420 views

EBS Volumes Mounted On Wrong Directory After Reboot

I have three EBS RAID 10 volumes in my /etc/fstab on an Amazon AMI hosted with AWS/EC2... Everytime I reboot the instance, the volumes get mounted to the wrong mount points. Any ideas on how I can ...
3
votes
1answer
920 views

How to mount two windows shared folders in linux?

I'm using OpenSuse 12.2 x64. I have tried this in /etc/fstab: //192.168.6.80/shared/folder1 /mnt/folder1 cifs rw,user=guest,password=,uid=1000 0 0 //192.168.6.80/shared/folder2 /mnt/folder2 cifs ...
2
votes
1answer
45 views

Mounting by block address

Is it possible to do a partial mount in Linux? Lets say that you have 1 partition or one device file that contains 50 blocks. You want to write one file system to blocks 0-24, and something else in ...