FAQ Database Discussion Community


Mounting a drive in debian from php code

php,linux,apache,debian,mount
I've been at this for two days now and haven't been able to find any way (good or bad) of doing that to work. I have to be able of dynamically mounting drives over network from my website's pages (that part is inevitable). I have no problems doing it directly...

Vmware web development kit

virtual-machine,vmware,mount,virtual-disk
I am using Virtual Disk Management Kit v5.0 link. The command i am using is C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin>vmware-mount I: C:\Users\Rushil\Documents\Virtual Machines\Ubuntu\Ubuntu-s001.vmdk Unfortunately the above command does nothing except that every time i run it a (sort of) vmware-mount man page is displayed on the command prompt telling...

Solutions to resize root partition on live mounted system

linux,chef,partitioning,mount
I'm writing a Chef recipe to automate setting up software RAID 1 on an existing system with. The basic procedure is: Clear partition table on new disk (/dev/sdb) Add new partitions, and set then to raid using parted (sdb1 for /boot and sdb2 with LVM for /) Create a degraded...

Linux Drive Mounting

linux,share,mount
I'm looking for some information and advice on mounting drives in Linux. (openSuSE) I have the option of CIFS or NFS. I'd like to clarify if the following is correct. NFS shares don't need username & password authentication. CIFS share do need username and password authentication. When mounting the share...

How do I map volume outside C:\Users to container on Windows?

windows,docker,mount
I'm doing server side development and my workspace is located in D: because I'm not a fan of storing data on C: but just can't find a way to map d:\Workspace to /home/workspace I've tried creating a symblink from C:\Users\username to D:\Workspace by: map C:\Users\username\Workspace to /home/workspace Stop container rename...

access external HDD to all user ubuntu [on hold]

ubuntu,mount,hdd
I have a machine running on ubuntu 14.04 Desktop version. I need to connect a external HDD to the machine and have it setup such a way that all the available users -standard/administrator- could have access to the HDD while they are ssh ing to this machine. Is it possible?...

Mount USB Key on Boot

linux,usb,boot,mount
OpenSuSE 12.3 I'm trying to auto mount a USB key on boot. The mount point always needs to be the same, for each drive that is added. Can this be done without specifying the disks format type ? I may be mounting vfat, or NTFS, or ext4.. it will depend...

sh error trying to mount: command not found [duplicate]

bash,raspberry-pi,sudo,mount
This question already has an answer here: mkdir command not found in bash script 2 answers I'm trying to make a script to mount a disk when runned. The script is #!/bin/bash PATH=$(python /home/pi/prova.py 2>1&) sudo mount $PATH /media/Drive1 where path in our case is /dev/sda1 (checked using echo)....

NFS mount System Call in linux

embedded-linux,mount,nfs
I am trying to mount a source directory from nfs server to a destination directory in embedded board having linux. The following command works perfectly as expected in shell prompt in the board. mount -t nfs -o nolock 10.126.62.45:/vol/home/avinoba/Sky /mnt What is the equivalent system call to be used in...

Mount ext4 file system with msdos partition table

linux,filesystems,mount,ext4,fdisk
I have run into some trouble with an external usb-harddrive. It is formatted as ext4 under ubuntu server 14 and is full of data (which I need). However, I can't mount it. fdisk -l gives me: Device Boot Start End Blocks Id System /dev/sdb1 2 976773167 488386583 b W95 FAT32...

Mount using offline file system (OFS+FUSE)

linux,filesystems,mount,fuse,mount-point
I am trying to explore OFS (Offline file system) built on the top of FUSE and still exploring it. http://offlinefs.sourceforge.net/wiki/ I installed it on both Fedora and Ubuntu 14.04,however whenever I try to mount any local directory using mount utility, I get the “Transport endpoint not connected” for mount directory....

how to mount additively on linux

linux,mount,unmount,unionfs
I have been trying to mount directories in linux additively and fail to do so. I have three directrories a, b and c. a contains file x, b contains file y and c contains file z. Now when i mount "a" and "b" into c and then open c there...

debian wheezy - how to mount unused disks?

linux,debian,mount
I'm mostly a database guy but i have debian wheezy server with 4 hard disks. It was set up using one disk a while back, that one was all that was needed. Now, i need more space and the thing, i think, that is throwing me off is the UUID...

mount fails from spawned process

linux,init,mount
I want to start a process that uses a USB hard drive once it gets inserted. Since UDEV rules specifically mentions not to run long-time processes from RUN command, I send a FIFO message to my service which then opens the relevant process. So the flow goes like this: UDEV...