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

learn more… | top users | synonyms

0
votes
2answers
969 views

Changing owner of NAS drive

I have setup a Freenas system that I would like to mount on my Ubuntu Desktop. Freenas is configured with cifs service. When I open the freenas server in nautilus smb://freenas/homenas/ I can create ...
20
votes
3answers
7k views

What is a better way to deal with server disconnects of sshfs mounts?

I have several directories mounted through sshfs. I sometimes get disconnects from the server (not configurable by me). I usually mount the directories like this sshfs ...
2
votes
2answers
289 views

Questions on using command mount

When using command mount for a device, I was wondering about the following questions: Since device file is a parameter to mount, how does one know what the device file for a device is in general? Do ...
5
votes
3answers
2k views

Mounting a device — role of /dev, /media and /mnt, and the mount command [closed]

I have several closely related questions about what happens when I insert a CD. The files on the CD /media/Ubuntu\ 11.04\ i386/, but from what I've seen /dev/cdrom is also involved. What is the ...
5
votes
4answers
3k views

Detect if a (NTFS) drive is mounted or not. If not then mount it

I want to sync an USB drive with a folder located on a NTFS partition which is not mounted at boot time. I have found a command to do that: rsync -axu /media/USB/folder /home/user/folder. But I have ...
3
votes
3answers
13k views

How do I remove a Read-only file system from a usb drive

During an ill-fated attempt to get tinycore linux to boot from a USB drive I managed to create a bunch of files that I now cannot remove. fortino@rebel:/media/working/boot/isolinux$ rm *.* rm: ...
2
votes
1answer
345 views

What's an easy way to see whether a mount point has been made shared?

mount has an option --make-shared as described here. However, how do I find out if a particular mount point has been made shared?
5
votes
1answer
525 views

Does `shutdown -P now` safely unmount a USB drive mounted to `/dev/sdb1`?

I typically unmount my USB drive (using umount) from /dev/sdb1 before I shutdown my computer but if I shut it down using shutdown -P now and then restart it, the drive is no longer mounted. Is this ...
1
vote
2answers
794 views

Stop USB mobile broadband automatically mounting as drive

UPDATE 3: This is what I get from lsusb: oshirowanen@laptop:~$ sudo lsusb [sudo] password for oshirowanen: Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636 As I have tried the ...
22
votes
2answers
6k views

What mount points exist on a typical Linux system?

I have 2 questions. During Linux installation we specify memory space for 2 mount points - root and swap. Are there any other mount points created without the users notice? Is this statement ...
1
vote
1answer
1k views

Flash drive won't boot or mount after trying to create installation medium

I have a 1GB USB flash drive which I wanted to use as an installation medium for Linux distros. My first experiment was to be installing Arch on an old laptop (old enough that if I really messed it ...
8
votes
3answers
297 views

Automatizing the sequence of mounting commands

When I connect a device (tablet, camera, flash drive, external harddrive) to my laptop with Linux I often type the following sequence of commands. $ ls /dev/sd* Let's say that my device is /dev/sdc ...
18
votes
6answers
4k views

What's the most “correct” mount point for a permanent NTFS partition?

I have an NTFS partition (containing a Windows installation from which I dual boot) that I would like to permanently mount from my Linux installation. Problem is, I can't figure out what the ...
6
votes
3answers
6k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
6
votes
2answers
6k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
5
votes
3answers
2k views

Detecting that a device is mounted to a particular folder?

As part of revamping my backup scheme, I'm now adding rotating external hard drives, keeping one safely off-site at all times while the other is receiving backup data. Naturally, to ensure that my ...
3
votes
3answers
1k views

Really strange FAT32 file listing problem

I'm mounting a FAT32 drive on my NAS (which has a USB port), and hitting a strange issue when I use the ls command on the drive root: ls: cannot access ???²é?u.g: Input/output error ls: cannot ...
5
votes
6answers
8k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
2
votes
3answers
13k views

How to change mount points

I'm not very deep into this mounting/unmouting think on Linux, so here goes my question: With df -h I get the following overview: Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
3
votes
1answer
78 views

Need help with re-partitioning

First of all: I'm just a beginning Linux-User ;-) I've set up a server with OpenVZ support. I wrote a backup script that's dumping the vz containers from time to time. But some containers are not ...
3
votes
1answer
2k views

How to add an iso file as APT source

Say I have this line in "/etc/fstab": /iso/apt.iso /mnt/apt iso9660 loop 0 0 And I run these commands as root: mount --all apt-cdrom add --no-mount --cdrom /mnt/apt I expected the disk to be ...
2
votes
1answer
563 views

How to make system automatically mount encrypted device in Linux

When I plug my external storage in , I need to automatically mount it as an encrypted device. How do I make this happen ?
1
vote
1answer
1k views

Why is my fstab entry for an external USB drive not working?

I have an external USB drive which my system recognizes as /dev/sdb1. I want to have it automounted with 755 permissions on boot and shared over the network with samba. I created the mount point ...
2
votes
4answers
3k views

NIS: How to allow access to both local and remote users' home directories?

We have a NIS server with shared users' home directories in '/home'. We're used to mounting the server's '/home' using '/home' as the mount point on each NIS client. However, if we do this with a ...
9
votes
2answers
7k views

How to re-mount a USB stick after unmounting from Nautilus without disconnecting it?

I find that in order to re-mount a USB stick, I have to physically disconnect it, and then re-connect it. How can I do this without such tiring physical action?
1
vote
1answer
4k views

Where are the mount points defined in CentOS?

There is a mount point at /mnt/mountname and it goes to a large SAN with lots of storage but it's mounted as a read-only filesystem. I want to add a mount point with a different name that's ...
37
votes
6answers
15k views

Different linux distros sharing the same /home folder?

What is the best way to share the same /home directories between different linux distribution? I mean, I want to have both, say, Fedora and Arch, and I want to find my files at home no matter which ...
1
vote
1answer
502 views

mount root fs to /target

I am installing crunchbang linux (#!) to my eeePC and it is unable to start the disk partitioner. I traced the problem to partman and partman-lvm that states No volume groups found. So I have ...
4
votes
5answers
5k views

What sudoer spec allows users to mount cifs shares?

I'm trying create a line in /etc/sudoers that allows members of group "users" to mount cifs shares anywhere inside their own home directory. In my first attempt I tried: %users ALL=/bin/mount -t cifs ...
1
vote
2answers
251 views

How to get the maximum info for a USB drive by looking at the debugfs output?

I inserted an usb into my Fedora 11 PC. Gave a mount command and the output was as shown below: /dev/sdc1 on /media/8d079aad-038c-4667-9186-e21bed0928d5 type ext2 (rw,nosuid,nodev,uhelper=devkit) ...
3
votes
1answer
457 views

Permissions issues with mounting remote server into a specific folder

I'm doing the following to mount a remote server to a specific path on my server: sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/ However when I mount the server the folder ...
3
votes
1answer
5k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
6
votes
2answers
4k views

How do I add an entry in /etc/fstab for a windows share?

I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...
17
votes
2answers
2k views

What is a “loop device” when mounting?

I am doing a mounting of an iso file and looking at this tutorial. They use the command: $ mount -o loop disk1.iso /mnt/disk I'm trying to understand the use of -o loop. So I have two questions: ...
6
votes
3answers
458 views

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
1
vote
1answer
456 views

How to mount external hard disk every time the server is restarted?

I have a server which the date will be backup to a external windows server hard disk which is mounted. But problem is every time the server is restarted I will need to mount the disk manually. How do ...
3
votes
1answer
603 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of ...
5
votes
3answers
4k views

Mount USB (FAT) in Gentoo

Can somebody show me how to make Gentoo mount my USB? This is what I got when trying mount /dev/sdb1 /mnt: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage ...
3
votes
1answer
748 views

Encrypted SD card corrupted

I can't mount a encrypted SD card with Truecrypt anymore. mount: wrong fs type, bad option, bad superblock on /dev/mapper/truecrypt1, missing codepage or helper program, or other error ...
1
vote
1answer
739 views

How to mount a disk on key on Red-Hat 6 (Beta) after ejecting it

I have a Cruzer disk on key which was recognized automatically by my RedHat6-beta OS. I removed it always using the GUI option "Safely remove", but one time by mistake I selected "Eject" and from ...
4
votes
2answers
773 views

Mount windows Users directory as /home in linux virtual machine

I'm setting up a laptop for a friend and I'm going to put linux on it in a virtual machine and I want to make it as seamless as possible. I've mounted the \Users\Username directory in a VM before and ...
9
votes
1answer
2k views

Hard disk labels

How do I add a label to a partition on a disk, and how do I then mount it by label (manually and via fstab)? note: this is an external hard drive
20
votes
2answers
3k views

Mount an iso without root access?

Is it possible for a user without root access to mount an arbitrary iso? If so how?
16
votes
2answers
2k views

understanding “mount” as a concept in the OS

I want to understand what mounting is. It is used in different contexts and situations and I can't find resources which: Describe the mount concept Explain the actions taken by the ...
11
votes
1answer
6k views

What is meant by mounting a device in Linux?

I've heard the term "mounting" when referring to devices in Linux. What is its actual meaning? How it handling now unlike older versions? I haven't done that manually via the command-line. Can you ...
4
votes
3answers
18k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
3
votes
2answers
3k views

Finding the offset for ext4 partition

I've created an image of my hd with dd, but grub was installed on it, and I'm trying to figure out how to mount the image file, but mount doesn't recognise it as an ext4 partition because of the grub ...
8
votes
4answers
3k views

Serve files over USB

I would like to be able to serve a section of my box's file system over USB to another computer. For example, if the files are on box A and I am reading from box B, then B would mount A, see those ...
10
votes
1answer
14k views

How do I mount an `img` created with /bin/dd of a hard drive?

I used dd to backup a 80GB drive dd if=/dev/sdb of=~/sdb.img Now I need to access some files on that drive, but I don't want to copy the ".img" back over the drive. mount ~/sdb.img /mnt/sdb ...
3
votes
2answers
958 views

Auto-mounting to a directory other than /media in Fedora 13

I am using Fedora 13. I need to be able to configure how media are mounted automatically. For an example, I want to change the parent of all mounted media to be a directory other than /media. All the ...