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

learn more… | top users | synonyms

1
vote
1answer
150 views

Right way to start VirtualBox with shared folders mounted

Need of commandline to start VM with access to shared folder. Now if I run /usr/lib/virtualbox/VirtualBox --comment "win" --startvm "c252555c-bla-bla" I get VM running but shared folders not ...
2
votes
1answer
301 views

How to move the /var/www directory to a USB HDD?

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK. QUESTION: How can I use the /dev/sd0a on /mnt/usbhdd type ffs (local, nodev) instead of the default "/var/www" directory? What ...
1
vote
0answers
271 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path ...
1
vote
1answer
400 views

Fedora 17 : Nautilus, after mount manually, device will not see again in Device section

In Nautilus, I see left pane is useful. It contains shortcut to another place. Such as : At device : I can see Windows Partition (although I does not mount yet) or at my computer, some shortcut to ...
2
votes
1answer
223 views

Order of mounting USB devices in Linux

I'm running a Ubuntu system where USB drives are mounted automatically. I'm curious to what happens when a USB device plugs in a port. Which part of the linux senses that a new device has been plugged ...
8
votes
2answers
4k views

How to mount a cryptsetup container just with `mount`?

I created an encrypted container via #!/bin/bash dd if=/dev/zero of=$1 bs=1 count=0 seek=$2 MAPPER=$(mktemp -up /dev/mapper) LOOPDEV=$(losetup --find --show $1) cryptsetup luksFormat $LOOPDEV ...
2
votes
1answer
555 views

Problem with permissions when sharing a mounted filesystem

I am setting up a linux to act as a fileserver, using CentOS 6.3. Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as ...
3
votes
2answers
425 views

Mounting USB camera on Ubuntu

I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck. From the instructions: Modify the usbdevfs ...
2
votes
1answer
2k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
4
votes
2answers
666 views

Help with unzipping a .dd.gz, possibly corrupted

I recieved this file that I was told was a copy of a hard drive (or disk). The file is "sheeva-mem.dd.gz". I tried to unzip the file in a linux Fedora machine. This yielded "unexpected end of file". ...
2
votes
2answers
598 views

Filesystem type on Solaris 5.10

How can I get the file system type for each device on Solaris 5.10? I tried mount with no args but that only listed each mount point, similar to df. Also, how can I find where a specific directory ...
3
votes
2answers
421 views

Can I make a symlink point to different locations on different machines?

Before you say "no", a workaround would also be fine. Here is the situation: I have two machines local and compile, both including the same ~ over nfs from a third machine files. I would like to have ...
1
vote
0answers
177 views

Multi-Distro boot DVD with SystemRescueCD 2.8.0 fails to boot the SRCD portion

I'm trying to create a multi-distro mutli-boot dvd image containing (amongst others) the SystemRescueCD iso. I'm using GRUB as the boot loader and I've managed to get most of the other ISOs booting ...
11
votes
3answers
10k views

Are there any drawbacks from using mount --bind as a substitute for symbolic links?

Symlinks have limitations in how functions like ls, mv, and cp can operate on them because unlike shell initiated commands like cd, these functions do not have information about how the user accessed ...
6
votes
1answer
660 views

accessing files hidden by mounted drive [duplicate]

Possible Duplicate: Access to original contents of mount point I have a directory d containing some file f and I mount a drive on directory d. Is there a way of accessing file f without ...
4
votes
2answers
96 views

Quicker Way to Reference a Directory?

This one is probably easy for all of you, but I have never had to deal with such a nested local set of directories. If I have a path like: /mnt/media2/Archived\ Files/_Transfer/ is there a way to ...
6
votes
1answer
515 views

HDD allocation fstab

In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
5
votes
3answers
5k views

Creating mounting point

I am mounting an image, and just realized that I have to create the directory for mounting point first. The command mount won't mount to a non-existing directory. But I seem to remember in some ...
1
vote
2answers
1k views

Using a symlink for a mountpoint

Is it possible to set a symlink on a mountpoint? I have a mountpoint /vz. When I'm ln -s /var/lib/vz /vz the result is, that I have a directory vz in my mountpoint /vz, thus I have /vz/vz. Is there ...
3
votes
1answer
10k views

Mount USB drive (FAT32) so all users can write to it

I have a USB FAT32 drive that is on /dev/sda2. I've mounted it as /media/bigdrive however, I get permission denied whenever I try to touch a file there as a non root user. When I run mount I can see ...
6
votes
1answer
680 views

Run shell script when new volume mounted

I'm interested in running an rsync script whenever any new volume is mounted on my Debian box. What are some potential triggers / strategies for listening for a new volume mount?
6
votes
1answer
1k views

How to mount a Truecrypt container with a timeout from the command line?

I'm mounting a truecrypt container via the command line (i.e. truecrypt file dir). Is there any way to have truecrypt automatically unmount the container after a given amount of inactivity in dir?
3
votes
3answers
688 views

pwd: show mountpoint

I have mounted a directory to another directory using mount --bind so that an sftp user of my server can access this directory. mount --bind /path/share /path/home/user/stuff I have put this in ...
2
votes
4answers
3k views

Mounting ISO in Linux/KDE

Is there a graphical, preferably integrated with Dolphin, utility for mounting ISO images?
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
1
vote
0answers
325 views

Howto configure autofs to work with usbsticks formatted with differend filesystems

I have some USB-sticks using fat32 as filesystem and others using ext4. Now I want to configure autofs to mount the sticks automatically. To make sure that the user can write to fat32 sticks I use ...
0
votes
1answer
2k views

Not able to execute system files

I was trying to install ruby with : sudo apt-get install ruby1.8 output: W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists ...
4
votes
1answer
2k views

Umount device after bind mounting directories: is it safe?

I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this: UUID=[...] /mnt/data ext4 ...
5
votes
1answer
10k views

Not able to lock /var/lib/dpkg/lock (read only)

I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error: The Command: sudo apt-get install ruby1.8 Error : W: Not using locking for read ...
6
votes
3answers
2k views

Mounting and modifying a loopback file without sudo/root, is it possible?

I'm trying to adapt a tutorial into an easy to use script http://qt-project.org/wiki/RaspberryPi_Beginners_guide. I'm trying to reduce the need for sudo/root as much as possible (preferably, only ...
2
votes
0answers
1k views

Can not mount samba share from DD-WRT

I'm trying to mount a samba share on dd-wrt. I keep getting this in the dmesg and the mount command hangs. CIFS VFS: Error connecting to IPv4 socket. Aborting operation CIFS VFS: cifs_mount failed ...
4
votes
2answers
2k views

What is /dev/xvde1?

I'm having to do with an OpenShift RHEL Linux installation running on Amazon EC2. In the filesystem, there is a device file named /dev/xvde1 mounted to / ... and a device file named /dev/xvde2 mounted ...
2
votes
1answer
971 views

Debian USB automount

Got my USB flash automount broken after reboot. Using Debian 6, GNOME 2 My NTFS hard disk is still mounting correctly. When i connect my Android smartphone (with SD and local drive) my messages log ...
1
vote
1answer
671 views

Correct owner, group and permissions when mounting an image file

Suppose I have an image home.img of a home partition of another linux machine (B). On that machine there is a users userB and there is a special group, groupB. Consider for example a file fileB in the ...
9
votes
3answers
15k views

How to umount a USB drive?

I want to know how to umount my USB drive via command line. I am using Ubuntu 12.04 LTS 32-bit.
2
votes
1answer
304 views

Can Safecopy Help Me Recover Data from a Drive that I can not Mount?

I have an old hard drive that I put data on, but it died when I tried to retrieve it, and it tells me I have to format it under Windows. Running on Linux now, can Safecopy help me even though I can ...
1
vote
1answer
314 views

mount failed to process probably corrupted CD

I wanted to check a CD from my drawer. I inserted it into my drive and issued mount. I got mount: block device /dev/sr0 is write-protected, mounting read-only mount command did not exit. I checked ...
2
votes
2answers
2k views

How to mount ext3,ext4 sitting on VDI VirtualBox HDD?

How to mount ext3, ext4 partition sitting on "Fixed-Size VDI" VirtualBox HardDisk ? To be more specific, I ma interested in case when VM is not running.
1
vote
0answers
621 views

Finding/Mounting USB Device in Mac OS X 10.8

I've looked all over and found similar questions and answers and none seem to work for me or match what I see. I should add I'm new to UNIX and the OS X command line but have got a basic overview to ...
3
votes
2answers
248 views

Why is a drive mounted already at /mnt ? Is this ok?

One of my drives is mounted directly as /mnt $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 6.9G 597M 93% / udev 829M 4.0K 829M 1% ...
2
votes
1answer
835 views

Mounting a Windows partition without giving execute permission

How can I mount a Windows partition so that the files within it don't have execution permission? I mount a Windows partition using: sudo mount /dev/sda3 win win is a folder in my home dir. This of ...
4
votes
2answers
4k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
1
vote
1answer
167 views

Interrupt process in samba share mounted folder breaks mount

I can successfully mount a Samba share on a local folder in Opensuse 12.1: sudo mount -t cifs -o username=<username>,password=<password> //<win-box>/<share> <mountpoint> ...
2
votes
1answer
2k views

single bind mounted file gets out of sync in linux

I am bind mounting a single file on top of another one and after making changes with an editor, I don't see the modifications in both files. However, if I make the changes with the shell using ...
2
votes
1answer
440 views

What happens to files in mountpoint after running fs-cifs to mount NAS?

I'm running QNX Neutrino. I've got some files in /mountpoint: # ls /mountpoint /mountpoint/a /mountpoint/b And after mounting my NAS using fs-cifs like so, # fs-cifs ...
4
votes
3answers
4k views

Is it safe to resize partition on /?

I currently have a 600gb disk, with Ubuntu installed, 600gb of which is given to the Ubuntu OS: Filesystem Size Used Avail Use% Mounted on /dev/sda1 592G 16G 547G 3% / udev ...
5
votes
2answers
9k views

How to fix boot failure due to incorrect fstab?

It seems that I have added incorrect record to /etc/fstab: //servername/share /mnt/share cifs defaults,username=myuser 0 0 When I did mount -a, it asked user password to mount network ...
1
vote
1answer
696 views

How should I check to see if the remote smb serv is mounted?

I'm pretty new to mount. Basically, I have a remote SMB serv on the local network that I want copy images from a directory on, then repeat every 5 min. I think what I need to do is make a script that ...
5
votes
1answer
1k views

Umount all attached usb disks with a single command

Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions? Only the partitions ...
5
votes
1answer
3k views

Why rootfs is mounted multiple times?

Here you can see two devices are mounted as root: $ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...