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

learn more… | top users | synonyms

1
vote
1answer
1k views

Partition mounted noexec even though not specified in /etc/fstab

I'm using Linux Mint 12. There I have several partitions which I auto-mount on startup. pysdm says that /dev/sda6 should permit execution of binaries. Also the /etc/fstab says it should. /dev/sda7 ...
1
vote
1answer
184 views

How to get a list all the “aliases” of a file (including of type directory) efficiently?

How can one get the list of all the aliases of a file (including of type directory) efficiently, given that a file: may have multiple hard links, multipe soft links, multi-level soft links may be ...
3
votes
2answers
3k views

mounting to non-empty directory, then later deleting original files

I have some unused space on my disk, and decided to use a little of it to create a separate /var partition. There might be an easier way to do this, but my idea is to copy the existing /var ...
2
votes
5answers
2k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
41
votes
9answers
42k views

Mount Google Drive in Linux?

Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.
1
vote
2answers
6k views

Linux, fat32 and etc/fstab

I mounted a FAT32 drive onto my Linux computer using the following terminal command: > sudo mount /dev/sdb1 /media/exampleFolderName -o dmask=000, fmask=111 I did this so I could share / edit ...
1
vote
4answers
3k views

When to mount /tmp (and other temporary directories)

When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
2
votes
1answer
529 views

Qmake not working in a mounted smb dir

I'm trying to use qmake in a samba mounted directory. Here is what I get jj@deb32-6:~/smbShare$ qmake . QFSFileEngine::currentPath: stat(".") failed QFSFileEngine::currentPath: stat(".") failed ...
1
vote
2answers
3k views

Can I mount NTFS flash drive on linux

Hi I'm using RHEL 6 an WIN 7. I have a flash drive of 16GB. To copy the files which are above 4GB size I changed it to NTFS(FAT32 is allowing only file size below 4GB). But now I am not able to use in ...
3
votes
2answers
339 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 ...
4
votes
1answer
4k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
2
votes
2answers
669 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
2
votes
1answer
9k views

How to restore a Fat32 filesystem under Linux

Here is what happened: I used the Laptop and accessed some data on my usb stick. Then I closed the Laptop putting the system into sleep mode. The USB-Stick was still plugged in. After the laptop was ...
3
votes
4answers
4k views

What is the concept of Drives in Unix Systems?

In windows, we have C drives where all the softwares are installed and other partitions e.g; D, E etc to store our data. Now once we reinstall the windows for some reason, we install everything again ...
2
votes
1answer
2k views

How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?

If I add the line: ALL= /usr/bin/truecrypt to the sudoers file this lets all users mount volumes at arbitrary mount-points. The problem is a user could create a truecrypt volume and then mount it at ...
5
votes
2answers
2k views

Mount ubuntu one or similar web storage services without their clients

I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general ...
7
votes
3answers
6k views

Is there a command to see where a disk is mounted?

Is there a simple command that takes a disk's device node as input, and tells me where (and whether) that disk is mounted? Is it possible to get the mount point by itself, so I can pass it to another ...
2
votes
2answers
2k views

Flash drive in OpenBSD: “specified device does not match mounted device”

I'm a relative BSD newb. I have a small server running OpenBSD 4.4. I'm trying to plug in a 16GB USB flash drive to move some files. I followed the guidance of the Disk Setup documentation, and found ...
5
votes
1answer
573 views

To sync /var or not?

It seems in a hard crash, in particular failure of a UPS to keep a system running, that some of the contents of logs get lost due to file system caching. As an experiment, I tried mounting the /var ...
2
votes
1answer
1k views

Mount drive from redhat to a windows share with CIFS

I have been trying to mount a drive, but anything i do i get 'Access Denied', I tried: mount -t cifs //192.168.x.x/m -o username=user,password=mypass /mnt/mymount mount -t cifs //192.168.x.x/m -o ...
2
votes
2answers
3k views

Show established samba mounts

showmount only list me NFS mounts. I also want such a list for samba shares. How can this be done?
5
votes
4answers
6k views

Mounting multiple devices at a single mount point on Linux

Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
0
votes
0answers
147 views

problem exporting /media as an nfs share: why does it happen?

I've got two netbooks. One netbook has two installed Linux systems: openSUSE 11.04 and Debian testing. By default, in Debian, gnome mounts the /home filesystem for openSUSE, which shows up in gnome's ...
0
votes
1answer
256 views

Volume manager tries to mount device while reformatting in gparted

When reformatting a USB drive with gparted, my volume manager attempts to mount the device. This results in some error messages telling me the device could not be mounted. The only way I know to turn ...
1
vote
0answers
863 views

Hanging at “Running Transaction Test” when trying to install php-soap

I have here a CentOS 5 and I'm trying to run yum install php-soap but the installer hangs on and the last step is Running Transaction Test. I found out that NFS shares are the problem. See here or ...
7
votes
4answers
11k views

Mount an loop file without root permission?

Can i mount a loop file without root permission , normally i do: mount -o loop DISK_IMAGE FOLDER Without setting up sudo or suid mount program , is there any suitable way to do this ? I know i can ...
30
votes
5answers
24k views

Is it possible to mount a gzip compressed dd image on the fly?

I like create an image backup for the first time I'm backing up a system. After this first time I use rsync to do incremental backups. My usual image backup is as follows: Mount and zero out the ...
3
votes
1answer
1k views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...
1
vote
1answer
1k views

Unable to mount usb drive, but computer sees that it's there.. PNY (MIPS Lemote)

The computer being used is a Lemote Yeeloong, and the OS is currently Debian Wheezy (mipsel) with no X windows system. So the computer can only be operated with unix commands right now (until I ...
5
votes
3answers
717 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 ...
8
votes
4answers
2k views

How does Bash path completion work with sudo?

Tab path completion does not work (at least on Ubuntu and AFAIK Arch) with sudo mount <whatever> The iso file I am trying to mount is not in /etc/fstab. If I just type mount <whatever> ...
6
votes
2answers
26k views

mount error “is not a block device”

I am trying to make olddir accessible from newdir with the mount command: mount olddir newdir Why do I get the following error? mount: olddir is not a block device
3
votes
2answers
15k views

Mount device with r/w access to specific user

How can I mount some device with read-write access to specific user?
1
vote
1answer
300 views

Bind specific usb out

How can I bind specific usb out to specific /dev/sd* value? Each time that I plugged in some device in specific usb out it binds to different /dev/sd* location. How can I avoid it to set mounting ...
4
votes
2answers
7k views

Difficulty with mobile broadband device being recognized (registered as CD ROM)

I am running Ubuntu 10.04 LTS on a Samsung n150 netbook. I have bought a vodafone pay-as-you-go mobile broadband dongle. It is a Huawei device. I have *usb_modeswitch* installed. I installed betavine ...
1
vote
1answer
581 views

Mounting Remote Filesystem over SSH as a Different User

Due to a breach of security, the administrators of the work server have implemented a new method of security. To log into the server, we must log in as our own user (which has severely limited ...
7
votes
4answers
3k views

Where in “/” should extra disks be mounted?

According to Wikipedia http://en.wikipedia.org/wiki/Unix_directory_structure http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard extra disks should not be mounted in /mnt/ according to the ...
2
votes
0answers
1k views

Unable to use USB through DD-WRT on a Buffalo WZR-HP-G300NH2

I have a Buffalo WZR-HP-G300NH2 and I'm trying to get USB support working. The original Buffalo-branded firmware would refuse to mount the USB drive, so I've followed what tutorials I've found for ...
1
vote
1answer
2k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
3
votes
5answers
5k views

how to mount this disk?

I'm trying to mount a disc created some time ago in Amazon EC2. This is what I see (line breaks added for the sake of readability): $ sudo file -s /dev/xvda4 /dev/xvda4: x86 boot sector; partition 1: ...
0
votes
1answer
658 views

trouble with irssi and cifs

I'm having trouble getting irssi, the irc client, to write to a mounted cifs share. I have the uid, and gid set to my user as well as setting the permissions on the share to being very permissive. ...
2
votes
2answers
131 views

What file system is my file on? [duplicate]

How do I figure out which file system a given file/directory is located on? (For example, I would like to know if the file/directory is a temporary file in RAM, or if it's stored on disk. And what ...
9
votes
1answer
21k 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 ...
2
votes
2answers
2k views

Cross mounting nfs shares on linux servers

We have a few linux file servers, our sysadmin refuses to do any NFS cross mounting, by cross mounting I mean mounting an nfs share from server A on server B and a share from server B on A . Anybody ...
2
votes
1answer
616 views

On Debian in fluxbox, GtkPod has no write permission, but does in GNOME

In fluxbox I manually mount my iPod, then run GtkPod as a normal user, unfortunately this doesn't give me write permissions as a normal user. (I can paste the error message in later when I am home if ...
1
vote
0answers
127 views

Can't mount remote file system with sshfs [duplicate]

Possible Duplicate: How to apply changes of newly added user groups without needing to reboot? I have posted this question in linux mint users forum about some hours ago. I'm trying to ...
3
votes
1answer
595 views

Modify list of devices mounted at boot on Linux

Where do you configure or what command do I use to mount device at boot? Is it in the file /etc/fstab ?
2
votes
1answer
7k views

Mounting ufs partition with read/write permissions on ubuntu 10.04

According to this writeup ufs kernel module is compiled with only read permissions. I could mount a ufs partition with this command: sudo mount -t ufs -r -o ufstype=ufs2 /dev/mapper/loop0p1 ...
3
votes
2answers
4k views

Mouting a kvm qemu disk image with multiple partitions

I am trying to mount a KVM-qemu disk image with this command: sudo mount -o loop,offset=32256 centos6.img /mnt/centos6. But it shows this error: you must specify filesystem type. As I have more ...
5
votes
3answers
2k views

What do first column in /proc/mounts really mean in Linux?

Run cat /proc/mounts and I get this (simplified): rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/sda1 / ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0 io /etc/blkio cgroup ...