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

learn more… | top users | synonyms

1
vote
1answer
229 views

Unable to mount location after installing Linux Mint

I have been using Ubuntu for a while, but I decided to move to Linux Mint. I removed everything and clearly installed it. After the installation there are two parts which are File System and Toshiba. ...
2
votes
1answer
29 views

Repository for Family Pictures [closed]

I have a Debian computer and a MacBook Air. On Debian I created a repository: mkdir -p /repository/git/2014.git cd /repository/git/2014.git git init --bare --shared On the MacBook I then typed: cd ...
0
votes
4answers
116 views

Is /home a subdirectory of /?

In my Ubuntu 12.04, /home and / are different partitions. But why does /home look like a subdirectory of /? Is it because it is a hard link: Are there five hard links which link to the same dir as ...
2
votes
2answers
118 views

How can I mount a filesystem, mapping userids?

I can successfully mount an ext4 partition, the problem is that all the files on the partition are owned by the user with userid 1000. On one machine, my userid is 1000, but on another it's 1010. My ...
3
votes
1answer
151 views

Differences between dd in Mac OS X and Linux

When using Linux (Debian), I often use dd to copy a disk image to an SD card. I have written a script that throws an error if the device file specified in the "of" option is too large. This keeps me ...
7
votes
1answer
321 views

What's the purpose of the /proc/pid/mountinfo file?

What's the purpose of the /proc/pid/mountinfo file (with pid being numerical process id)? As far as I can see it reflects contents of the /proc/mounts file but with added information. Also the file ...
1
vote
0answers
71 views

Server-side move between NFS shares

I have these folders on my server: /share1 /home/user Both are actually on the same partition. Now I want to be able to move files between these two folders directly on the server (without any data ...
0
votes
0answers
25 views

How to add and mount given a UUID? LMV2

I can't activate these Volume Groups. I have two HDDs attached, both share the same Volume Group name. Basically, the two HDDs are dev/sda and dev/sdb. The second HDD is the failed HDD and the first ...
0
votes
0answers
208 views

Can't mount SMB share Mint

This has been driving me nuts for a while I am trying to mount a SMB share on a windows 2012 server. The share is there but every time that I try to mount it I get the following error ...
2
votes
1answer
60 views

FAT Mountoption allow_utime explained

I trying to figure out what the following Mountoption for (v)FAT exactly does (in Linux): allow_utime=### -- This option controls the permission check of mtime/atime. 20 - If ...
0
votes
1answer
155 views

Mount JFFS2 FS in openwrt

I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime ...
0
votes
0answers
231 views

Cannot mount fresh partition twice

I try to partition a harddrive with a script, where I have some trouble remounting the partition. This happens both this btrfs as well as with ext4. So I assume the problem is the partition table, and ...
0
votes
0answers
76 views

Samba sharing Mounted USB Drive

So I have a samba server, and I am able to connect to my shared directory under the home dir. But when I setup another share called "External" and map it to path = /media/External windows will ...
0
votes
1answer
52 views

Permissions of CIFS Mounts

I have some sensitive data on a network share hosted on a Windows machine (drive D on mymachine.mywork.com) that I need to mount, as follows: sudo mount -t cifs mymachine.mywork.com :/D /mnt Will ...
1
vote
0answers
537 views

Mount cifs using a credentials file

I am trying to mount a folder from my embedded Linux system to a windows 7 computer. I keep getting Permission Denied when I try using a credentials file. When I do it from command line as root it ...
0
votes
1answer
812 views

cannot mount W95 FAT32 (LBA) partition type in ArchLinux

I am trying to mount W95 FAT32 (LBA) partition type into /mnt/data on my Raspbery Pi B+. Therefore, I've created this parttion and the current partition table is as follows: I've checked ...
1
vote
3answers
176 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
0
votes
3answers
118 views

How does cfdisk fix my disk image?

I'm working on a huge complex application. You connect a disk, press a button, and it partitions and formats the disk, mounts it, and copies some files onto it. To test this application, we have a ...
2
votes
1answer
450 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
4
votes
1answer
562 views

Advantages/disadvantages of increasing “commit” in fstab

I have done many obscure system optimizations in the past, but I got rid of most of them after powertop told me I should set my USB ports to autosuspend, which forced them to an eternal sleep, and ...
0
votes
1answer
318 views

mounting removable USB disks with nodev,noexec,nosuid

When I want to use a USB disk on my desktop, I insert the disk and mount it manually, for example: mount /dev/sdb1 /mnt/usb I know that I can specify mount options with -o, such as mount -o ...
1
vote
1answer
373 views

ArchLinux mounts filesystem with no entries in /etc/fstab

I have successfully installed ArchLinux. While I check /etc/fstab entries I do not see any mounts, even the root partition is omitted. However when I execute mount, it shows the mount-points of each ...
-1
votes
1answer
2k views

How to Mount Western Digital external hard drive

I am using Debian. I cannot mount Western Digital My Passport Ultra on my system. I have tried sudo mount /dev/sdbx /media/hdd. It worked fine for me. But the problem is that I have to repeat this ...
3
votes
1answer
115 views

USB hard drive won't remount after power outage

My home server has a USB hard drive plugged to it. Once in a while, the breakers jump or there are power outages. Since my server is a laptop, it keeps chugging along, but the rest of the hardware ...
1
vote
0answers
68 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
3
votes
0answers
3k views

“PTY allocation request failed on channel 0 stdin: is not a tty” when SSH'ing into a Debian server

My hosting space (Debian Wheezy) serves two websites (one WordPress and one Rails). Today I saw both were down and I rebooted the server. The Rails site works again and the WordPress one now says that ...
0
votes
2answers
39 views

How to make partitions with in /home/user/ writable by user?

I have a partition scheme like this: / /home/ /home/user/files/ When logged in as user, I cannot save any files at /home/user/files/. The only solution I can find is to create a new subdirectory as ...
0
votes
2answers
48 views

Where should I mount a disk to store backups?

I'm new to Unix, and wanted to give it a try. I had an old PC lying around and decided to turn it into a network based backup system to keep the data in the other PCs safe. So I installed FreeBSD on ...
6
votes
2answers
311 views

how to mount a range of drives in bash?

I use something like this to unmount a range of drives: umount /dev/sd[c-k]2 Is there any way to use same thing with mount? something like this: mount /dev/sd[c-k]2 /[c2-k2]
0
votes
1answer
100 views

Mounting Linux root fs NFS share on OS X?

I am attempting to share the root filesystem (/) of a CentOS 6.5 virtual machine to my OS X host system. While this should be relatively simple process, I'm hitting some kind of wall. Presently my ...
1
vote
2answers
478 views

sshfs - device not found

After updating the server with apt-get update && apt-get upgrade this command return an error command echo "the-password" | sshfs root@domain.com:/var/www /remote_mount -o password_stdin ...
6
votes
1answer
911 views

bind mount /var with fstab

I'm messing around with having both /home and /var on a seperate partition which will be mounted in /myhdd. Next, I use mount --bind to mount /var on /myhdd/var and /home on /myhdd/home. With this ...
3
votes
1answer
469 views

per process private file system mount points

I was checking unshare command and according to it's man page, unshare - run program with some namespaces unshared from parent I also see there is a type of namespace listed as, mount ...
2
votes
0answers
42 views

Tool for dumping Linux VFS superblock

From the dumpe2fs man page: dumpe2fs prints the super block and blocks group information for the filesystem present on device. So dumpe2fs will dump the filesystem superblock. Is there any such ...
0
votes
1answer
499 views

NTFS drive not mounting in Debian

This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
0
votes
1answer
156 views

Wrong mount point for internal SSD

I am having a problem with mounting an internal SSD. For some reason The mounting point is chosen as /media/user/Data instead of, as specified in /etc/fstab, /mnt/Data. The according line in ...
0
votes
1answer
299 views

Debian: Can I remount / read-only in single user mode?

I'd like to use fsarchiver in the safest way possible but have no live medium for booting from. I vaguely remember having read something like this though: Is it possible to remount / readonly when in ...
0
votes
1answer
170 views

Linux can't read and write, but windows can

I have a hard drive with a lot of back up files, that were created by PhotoRec. When mounting it with a windows computer I can read all the files perfectly fine. Under linux I get an error when ...
4
votes
2answers
157 views

Could you explain this “chroot” /tmp directory creation?

In the following linked article they explain how to create a "chroot" /tmp directory. I'm a bit confused by what they did. Could someone explain what the following commands are doing? Noexec and /tmp ...
1
vote
2answers
378 views

Safely removing flash USB drive

On CentOS (5.5 and others) I need to transfer quite big files to a FAT32 USB flash drive to get the data on a Windows 7 machine (each file is below 4GB, so I guess FAT32 shouldn't be an issue then). ...
2
votes
1answer
103 views

Mounted a USB to /home and lost all the sub-directory's

I have been searching for a about a hour but I can't find a answer if someone knows another thread that will help I would gladly look through it. So what happened is I am learning about how to mount ...
2
votes
2answers
97 views

mount is not executed when called by udev

I tried to create some udev rules to mount and unmount my USB flash drives; the rules for the moment are very simple: ACTION=="add",KERNEL=="sd[b-z]",RUN+="/root/scripts/plug_flash_drive.sh %k" ...
3
votes
1answer
100 views

Repeated filesystems and mount points in df output

when I type df -h to see the storage of my system the following is the result root@kch-rsp:/home/pi# df -h Filesystem Size Used Avail Use% Mounted on rootfs 13G 2.4G 10G 20% / ...
0
votes
0answers
57 views

Is there any suggestion to my bash script that (un)mounts an ISO file in order to make it better and safer?

I am new to bash script, and I wrote a script to mount / umount an iso file by detecting whether the /media/iso-file-name exists. Is there any suggestion for the script as below in order to make it ...
3
votes
3answers
124 views

Why is the exec option not listed in /proc/mounts?

My understanding is /proc/mounts should list all mount options for a filesystem, including kernel defaults, so I was surprised to see that exec (among others) is not listed here? For example, my root ...
2
votes
0answers
37 views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
1
vote
3answers
2k views

Samba: mount error: could not resolve address for XXX: Unknown error

I've read several guides on mounting samba shares, but no luck yet. I'm able to "login" to my samba share with the following command: smbclient //vvlaptop/Documents It asks for password, but there ...
-4
votes
1answer
160 views

android partition and kernel 3.14

I mount a cell phone to my debian i can browse android SD card and internal memory, So i the following output of mount command when i browse android sd card: sysfs on /sys type sysfs ...
0
votes
1answer
752 views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
0
votes
4answers
907 views

How to check a particular directory is mounted?

How to check a particular directory is mounted on the Linux machine. For instance there is a folder named test, I want to check if it is mounted or not.