mount

Finding name of inserted CD in Cocoa

I had a bookmark which described the process on how to do this - finding the name of a mounted CD in OS X - but I deleted the bookmark when I reformatted my Mac. :P Reading up on the subject, this is what I think might work. Basically, I need to verify if a particular CD is mounted before continuing in the application Access NSWorksp...

Android: Dummy .mp3 file on sd card which is a proxy for byte stream output of music?

Okey, this is a strange question so I need to explain some of the background for it. My car stereo (Alfa Romeo Blue&Me Bose) doesn't support bluetooth a2dp, nor has it an aux input. It does have a usb input which my Nexus One successfully mounts up with. However, all my music is now being streamed through the music service Wimp (simil...

Mounting archives such as *.zips (work in kernel mode without drivers)

I was wondering if there was a way to make a *.dll that mounts archives in Windows without the need for installing drivers. I've tried mounting *.isos (and was successful), but I needed to install drivers, which was not something my intended audience wants to do (or can do). The other relevant alternatives were for Linux (fuse-zip) or d...

How to find out mount/partition a directory or file is on? (Linux Server)

Is there a Linux command to easily find out which partition/mount a directory or file is on? (This is probably a RTFM question, and I feel guilty for asking it, but somehow, I can't find a good answer on google just yet..) ...

Ruby check if smth is mounted(--bind) in this directory

Hi mount /project on /mount_1 type none (rw,bind) /project on /mount_2 type none (rw,bind) /project on /mount_3 type none (rw,bind) How to check with ruby(not shell!!) if some dir is mounted on /mount_X? Is there something easier then opening /proc/mounts and looking for /mount_X there? ...

mount point - permission denied

Hi everyone, I created a fuse mountpoint. After mounting, the file permissions are all screwed up and it says I cannot ls or cd. Permission denied. The file permissions look like this: d????????? ? ? ? ? ? temp and when i list the mounted devices I get: /dev/fuse on /temp type fuse (rw,nosuid,nodev) I used mono-fuse. I just created a...

JFileChooser - Not browsing through the 'Mounted Drives' in windows server 2008 machine

I use JFileChooser in one of my java tool to browse file locations. It has a problem in browsing into the mounted drives - We can just chose the mounted drive but cannot go to next level/open and browse into the mounted location. But it works fine in windows server 2003 , but could not do the operation in windows server-2008. Has any...

Linux: MySQL: how to use a mysql databases on a mounted NTFS as mysql database in linux?

hi, i wanna use databases in D:\xampp\mysql\data in my linux mysql without moving it. so i can work on them from both linux and windows here is what i did: # mount -t ntfs -o uid=mysql,gid=mysql,dmask=002,fmask=113 /dev/sda5 /media/public/ # cd /var/lib/mysql # ln /media/public/xampp/mysql/data/my_db -s # chown -R mysql:mysql /var/lib...

Can I create or mount a virtual drive

Is this feasible to mount or create a drive using C#. If So , Can we use a redirector with the Virtual Drive? For example , When I will click on the drive , it should be redirected to my code which will in-turn connect to webDav Server and get the list of files and folders. ...

Windows 7 Diskpart.exe sometimes fails to mount usb key

Here is my situation. I boot Windows PE (WinPE 3.0 from Win AIK, basically stripped down Windows 7) from CD with automounting disabled via the registry. I then connect a usb thumb drive. I run diskpart.exe to bring the disk "online" so I can write files to it. My steps are: diskpart.exe (version is 6.1.7600) DISKPART> select disk ...

SD card does not mount on the HTC Hero, Android 1.6

I have an HTC Hero with Android 1.6 (don't ask me why I did not get the upgrade). Software version 1.66.590.1. When I connect to my PC, it stopped notifying me of "USB Connected" notification to mount my SD card. It used to work just fine before hand. I have tried three different PCs, changed USB cables and even tried different SD card...

How does one programmatically mount a drive in Windows?

We make and sell a device that our users will sometimes want to connect to their computer in large quantities with multiple USB hubs. It is a USB composite device that has both human interface (HID) and mass storage (MSD) interfaces. Windows automatically mounts the file-system of each device until it runs out of letters at 'Z:'. I can ...

svnadmin dump in Cygwin

I'm trying to write a script in Cygwin to backup our SVN repositories nightly. The first stumbling block I found is that the svnadmin doesn't seem to work quite right within the cygwin bash shell. My repositories are in C:\Repositories Doing the following in a cmd shell works fine svnadmin dump C:\Repositories\Thor > Thor.dmp But t...

How to run a shell script after a device is mounted using UDEV

I wanted to know how to run a script after a usb pen drive is inserted and auto-mounted Till know i am able to run a script as soon as the device is inserted, however the mounting of the device takes place after the shell script action has ended ...

How to supply password in crontab

I am writing the command in crontab and its output is first asking the password. Is there any way to supply the password with command like mount -a < password ...

How to reliably detect disk is down on Linux via Java

Hi. Is there a good way to detect that particular disk went offline on server on Linux, via Java? I have an application, that due to performance reasons, writes to all disks directly (without any RAID in middle). I need to detect if Linux would unmount any disk due to disk crash during run-time, so I would stop using it. The problem i...

Ubuntu mount -t command

I use following command to mount "/dev/sdb1" to "/storage" directory: mount -t ext3 /dev/sdb1 /storage After run above command, I can use "df -h" can see it: /dev/sdb1 147G 188M 140G 1% /storage But after i restart the server, it disappear, and i have to run mount command again. Is there a command that can keep the mou...

diskimages-helper problem when mounting on a mac

Hi guys, Ive got a program that runs on Mac OS 10.5.8. The program runs a continuous cycle where it mounts an image, installs a browser plugin and unmounts the image again. If I leave this program running I eventually end up in a situation where I get the following error "fork: resource temporarily unavailable". In the activity monitor ...

Linux mount points

I have a linux device (proprietary embedded device) that has the following mount points (when I type "mount") for two key directories. /dev/sda1 on /home/user/Personal type ufsd (rw,nls=utf8,uid=60,gid=144,fmask=0,dmask=0,force) /dev/sda1 on /home/user/Backup type ufsd (rw,nls=utf8,uid=60,gid=144,fmask=0,dmask=0,force) I want to creat...