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

learn more… | top users | synonyms

1
vote
1answer
62 views

Rebuild mount points after destroying partitions

When I installed Ubuntu, I had a partitions with the windows OS installed, but now I've made some changes, I've erased Windows, created two new partitions in the storage ocuppied by windows before, ...
1
vote
1answer
14 views

Locate encfs rootdir

If a rootdir is mounted by encfs to a mount point, I can see the mount point by "mount" command or from the /proc/mounts. However, if I can get the mount point, but I don't know which rootdir I have ...
0
votes
1answer
54 views

Mount iso9660 sd card

I'd like to mount my sd-card manually, but that doesn't work. [linus@linus_linux-notebook ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 55,9G 0 disk ├─sda1 ...
0
votes
2answers
47 views

Shrink btrfs from /dev/sda to /dev/sda1

suppose I have 2 btrfs filesystems: one mounted on /mnt/big spanning across /dev/sda /dev/sdb /dev/sdc /dev/sdd the other mounted on /mnt/small on a single drive: /dev/sde How would I shrink the ...
1
vote
0answers
31 views

External disk - how to ensure readable by all without needing root perms?

I have an external HDD. It's portable, so I plug it in all over the place. Needless to say, these different places have different passwd files and uids. The files are mine and I need to access them ...
1
vote
0answers
40 views

Samba gvfs mount and symbolic link seems not to work

I have a server with samba shares and 2 HDs mounted that I use for backup. I have some symbolic links that work well between these 2 hard drives. When I mount the drives with gvfs (samba) I can't use ...
0
votes
0answers
93 views

Deluge torrent client cannot save files to mounted drive

Yesterday I installed an SSD as my new primary drive, and installed Fedora 20 on to it running cinnamon-desktop. I set a 1.5GB partition on my old drive, which was my data partition on the old setup, ...
3
votes
2answers
352 views

Make part of read-only filesystem writable

I have a filesystem on flash using jffs2. I would like to mount this filesystem read-only, except for a single folder that I would like to be writable. Is this possible without resorting to something ...
4
votes
1answer
66 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 ...
2
votes
6answers
105 views

umount /home does not work

I trying to merge my separate /home partition with my / partition in linux mint 13. I was told to umount /home, mount it on a different location and copy the contents to the /home directory on the / ...
1
vote
0answers
46 views

Error mounting shared folder for KVM Solaris guest

Followed this guide on how to set up a shared folder between a KVM Host(Ubuntu 12.04) and Guest (Solaris 10 Sparc). On the last part of the it requires you to mount the shared folder and typed in this ...
4
votes
2answers
221 views

Determine what device a directory is located on

If I do # cd / # ln -s /home test # cd test # mount --bind $PWD /mnt the entry in /proc/mounts is /dev/sda2 /mnt ext4 rw,noatime,data=ordered 0 0 which is the device that is mounted to /home and ...
10
votes
1answer
418 views

Why doesn't mount respect the read only option for bind mounts?

On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foo creates the file /mnt/foo. The relevant ...
1
vote
0answers
39 views

Removed USB storage device is still mounted

I'm working on a embedded linux system based on busybox. Sometimes a USB device which is physically removed from the post is still displayed in mount, df or /proc/mounts. If I reattach the device, it ...
2
votes
0answers
56 views

How to mount '.img' file (extracted cubian file) in ubuntu

I used this command sudo mount -t ext2 -o loop Cubian-desktop-r1-a20.img mountpoint Output from this command is mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing ...
0
votes
0answers
63 views

Lazy mount of remote filesystem (with sshfs)

I have a remote computer, and I mount its filesystem with sshfs to my local folder ~/user@host, like that: sshfs user@host: ~/user@host Works nice, but I want to implement "lazy" mount: i.e. I ...
0
votes
0answers
13 views

mountall isn't running, it seems, and no log, and no clue

As shown below, I have /etc/init.mountall.conf, but /var/log/upstart has no mountall.log, and, more to the point, my non-root file system from /etc/fstab does not mount at boot. Mounts fine with mount ...
4
votes
2answers
95 views

How to create MBR partition /dev/ nodes FreeBSD for mounting

I currently have FreeBSD version FreeBSD 10.0-RELEASE. Installed using a ZFS root. I'm attempting to mount a MBR partitioned drive but I can't get the partition nodes, /dev/ada4p1, etc. The partitions ...
2
votes
0answers
62 views

Can't mount filesystem by offset

I'm having trouble trying to mount a filesystem. Basically, if I mount /dev/sdc1, it works perfectly. But if I mount /dev/sdc with a byte offset, it fails. The filesystem is HFS+ (formatted using an ...
0
votes
1answer
680 views

Mounting Windows shares using cifs results in “Error:13(Permission denied)”

Ubuntu 12.04.1 LTS, kernel 3.2.0-57-generic Windows Server 2008 R2 SP1 x64 Trying to setup a network share from Ubuntu 12.04 to a Windows Server 2008 R2 however no matter what changes are made the ...
1
vote
0answers
21 views

mount: fmask options is not working

Few days ago I did this question. But now I have another problem, related, but new. Scenario: I have a flash drive (vfat) mounted in /media/flash the filesystem node is /dev/sdb1. according to ...
0
votes
0answers
40 views

Unable to make file system writtable no matter what

I have a flash card SanDisk of a camera which I plug in into my computer: $ lsblk mmcblk0 179:0 0 3.7G 1 disk └─mmcblk0p1 179:1 0 3.7G 1 part $ mount /dev/mmcblk0p1 on ...
0
votes
1answer
38 views

Dropbox on both Windows and Ubuntu 12.04.3 LTS

I have Dropbox installed on both Windows 7 and Ubuntu 12.04.3 LTS and there are two separate folders that are being synchronized so there is some waste of disk space. I would like to have only one ...
0
votes
0answers
46 views

How to get the name of the last mounted/unmounted filesystem

I'm know I can monitor (using poll, or select) on the files /proc/mount or /etc/mtab and findout WHEN a filesystem is mounted or unmounted. Also I can use getmntent for getting a list of mounted ...
1
vote
0answers
72 views

Device in fstab not mounting at boot

The following is in my /etc/fstab file: UUID=596ac80a-5571-41dc-a00e-b3270ecfe7c4 / ext3 errors=remount-ro 0 1 /dev/sdb1 /home/teamspeak/ts3/files/virtualserver_1/channel_527 ext3 ...
1
vote
0answers
26 views

Edit partition of disk part of a ZFS Raid

I've gota strange problem. Since a previous failure from one of my hard drive, I had to replace one of my 4 hdd running in RAIDZ. But since I changed this disk, the last partition of my disk appear ...
3
votes
1answer
59 views

directory changes permission when mounted

I want to mount a samba sghare to a directory in my home dir. I have created it but mount the share as root. Upon mount, the owner of my dir changes to root and my user doesn't have permission tow ...
2
votes
1answer
86 views

How to make a bash script wait till a pendrive is mounted?

I have a bash script which has a line cd /run/media/Username/121C-E137/ this script is triggered as soon as the pen-drive is recognized by the CPU but this line should be executed only after the ...
2
votes
0answers
583 views

Mounting an MTP enabled device on Ubuntu 12.04.3 LTS 32-bit

My aim is to perform file operations on my Samsung Galaxy Note 10.1 (older edition) using Ubuntu 12.04.3 LTS 32-bit. This does not work out of the box as I plugged my device and saw myself. In order ...
2
votes
0answers
65 views

root directory almost full but still lots of free space on the partition [closed]

Some time ago I installed 12.04 from windows xp on a separate "linux" partition via wubi. this partition was allocated 50 GB. my problem now is that obviously the root directory does not have access ...
1
vote
0answers
264 views

Ubuntu hangs on boot [closed]

After installation mount manger software, upon restarting ubuntu won't boot up . It hangs on boot splash screen and doesn't move further. I have duel boot running in this computer so, I can boot and ...
4
votes
0answers
107 views

Unable to view mounted directories in a chroot [closed]

Here is a quick description of what I have done: I have a chrooted user (username: clientdev) which I have jailed inside their home directory. This chroot directory is /home/clientdev/ which is ...
2
votes
2answers
100 views

mount changes directory permissions to admin:admin?

I'm mounting a samba share from one CentOS server to another using: mount -t cifs -o blarg,password //10.151.170.170/events /var/blarg/copy-to When I do this the permissions of /var/blarg/copy-to ...
4
votes
1answer
93 views

Backup of a ubi file system with dd?

A have a root file system (file system - image containinf folder structure and content) on a flash drive. The flash drive uses UBI as the underlying file system file system - the way the data blocks ...
1
vote
1answer
106 views

Mount image user-readable with udisks2

Loop devices, i.e. for mounting raw disk images, can be managed without root privileges using udisks. For testing purposes, an image can be created and formatted like so: dd if=/dev/urandom ...
4
votes
1answer
66 views

Sharing a local directory between local users with full permissions

How do you share a directory /home/shared between two users "eris" and "discordia" such that both can access the directory in their respective home directory, e.g. /home/eris/shared and ...
1
vote
1answer
37 views

Mounting a device without read permissions

It is possible mount a flash drive without read permission?
1
vote
1answer
203 views

.Operation not permitted. For root user?

In order to find a workaround for a problem I had yesterday (see the question here) I come out with another experiment. After inserting a flash drive (vfat) and mounting its only partition I ...
1
vote
1answer
20 views

How to ascertain remaining space on an isolated partition from the command line

I was recently told by another developer that whilst diagnosing a server issue (our application could not write logs due to insufficient disk space) he was able to view remaining disk space on what he ...
1
vote
1answer
70 views

IP address of a mounted network directory

I have mounted a network directory to /mnt/svr with the following fstab configuration: # <file system> <mount point> <type> <options> <dump> <pass> ...
2
votes
3answers
88 views

how to synchronize two directory?

I want to using crontab to synchronize two directory between my linux partion and windows partion like this: 24 9 * * * cp -r /home/fan/Data /media/T/Data But it would create a directory named ...
3
votes
1answer
47 views

Confusion regarding the term 'mount' in Linux

I am reading the man page of mount and clone. I understand that mount is used to add a directory hierarchy to a mount point (a directory). In clone's man page, under the CLONE_NEWNS section, they ...
13
votes
2answers
429 views

Is that possible to integrate zip and tar.gz files as directory into the file system

I wonder if there is a way to integrate (it's a bit different from mounting, I think) compressed files as directories into the file system? E.g., one could download a compressed-file.tar.gz to his ...
2
votes
1answer
136 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
1
vote
2answers
90 views

How to mount an remote filesystem with specifying a port number

I am trying to mount a director from another server on my server. For that, I have tested sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/ But the connections gets a timeout because on ...
0
votes
1answer
28 views

I tried to mount a volume from windows via terminal, it showed that the mount point I specified was not a block device

Here is what I did. I gave the command in the terminal mount /home/myfolder/mounting_folder /dev/sda3 It displayed a message that mount: /home/myfolder/mounting_folder is not a block device ...
1
vote
3answers
219 views

Mount a second ssd drive on centos - How can I figure out which is the unused drive?

I need to mount my secound ssd drive to /home2. I already created the folder /home2 - Now, how can i figure out which is the unused drive ? Is this /dev/sda or sdb ? What is the exactly thing i`ve to ...
1
vote
0answers
96 views

Cannot mount USB 3.0 Flash drive

I have a 16GB USB 3.0 thumb drive that has worked wonderfully up until two days ago... When ever I plug it into a USB3.0 slot: The light flickers indefinitely; Nautilus shows the Open/Eject popup ...
1
vote
1answer
204 views

Recursive umount after rbind mount

When entering a chroot is sometimes necessary to mount /sys and /dev using -rbind instead of -bind in order to insure everything is in it's right place when somebody goes looking. The problem comes ...
6
votes
3answers
388 views

Check if 2 directories are hosted on the same partition on Linux

How can I check if /my/dir is on the same partition as /? This is for integration within a script. Bind mounts should be handled correctly. POSIX compatible solutions are welcome.