Sponsored Content
Top Forums Shell Programming and Scripting Cygwin bash script to unmount and mount an XP partition Post 302876257 by Corona688 on Friday 22nd of November 2013 01:01:22 PM
Old 11-22-2013
fdisk just looks in /dev/ in UNIX, I don't know if cygwin has a real equivalent for that, it'd be real hard to emulate. cygwin is not UNIX after all, it still has to deal with Windows limits.

How was the partition unmounted? Windows usually tries to automount anything and everything it can.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

2. HP-UX

Cannot unmount mount points??

When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted. How can I find out what process(es) is/are latching on the these mount points? Thank you for your time. (1 Reply)
Discussion started by: genzbeat
1 Replies

3. Gentoo

automating chroot and mount/unmount

Hello, I am trying to automate a task that I believe is easy. It is documented for manual system administrative purposes here: Gentoo Linux -- Installing the Gentoo Base System - chapter 6 I am attempting to do the following in a script: # cd $TOP_OF_ROOT_FS # mount -t proc none... (3 Replies)
Discussion started by: duderonomy
3 Replies

4. Shell Programming and Scripting

Shell script to make and mount a Partition

Hi, I need to mount a new partition in a series of Pc that have a single hard drive of 20 GB; the used and partioned space amounts to 10 GB, between root, boot and swap; the script is to make the mounting process automatic These are the contents of my script: ... (1 Reply)
Discussion started by: HernandJ2
1 Replies

5. HP-UX

/usr out of disk space need to unmount/ expand volume /mount

Greetings, I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space. I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Discussion started by: Dirk_
5 Replies

6. OS X (Apple)

Can't Mount Disk / Image after bad unmount

I have had a little issue with one of my disks, the usb cacble was pulled out and one of the external drives on it would no longer mount. I used First Aid and it verified and repaired both OK / nothing to do). After lots of messing around and not being able to mount I used Drive Genius 2 and that... (1 Reply)
Discussion started by: Cranie
1 Replies

7. UNIX for Dummies Questions & Answers

unmount the partition

Dear all, I have a two hard drive.On the second (/dev/sdb1 and /dev/sdb2) hard drive i have two partitions. The /dev/sdb2 has been mounted on the /home2 directory.I want to unmount that /dev/sdb2.I have no idea to how to do it.Can anybody give me the details about that?. Regards, Prakashkumar.S (2 Replies)
Discussion started by: prakashkumar41
2 Replies

8. Shell Programming and Scripting

Script to unmount and mount by UUID

Hi, Need a bit of help on this one as I am a scripting noob. I have a linux based NAS that mounts USB hard drives in an inconsistent location and to make matters worse, seems to lose the mount for an unknown reason and doesn't remount automatically unless the drive is removed and re-inserted.... (4 Replies)
Discussion started by: gtr33m
4 Replies

9. Shell Programming and Scripting

Bash Script (tar + md) on Cygwin

Hi everybody, First, I'm sorry for my bad english! I have the following situation: I have a Windows 2012 R2 with Cygwin installed. The Windows Server is used as a backup Server with Dell AppAssure installed. At the moment, AppAssure saves Backup Targets to a repository on his D. The... (9 Replies)
Discussion started by: fibra3000
9 Replies

10. UNIX for Beginners Questions & Answers

AIX - SAN Mount and Unmount on LPAR

We have 2 LPAR. LPAR #1 have a Application, Database Server process (ctree Server) and SAN+Physical Table. LPAR#2 has only Application. Both Application process are connected to Database via C-tree Server Process (Running on LPAR #1.. We want to keep one Active C-tree Server and one Backup... (1 Reply)
Discussion started by: gabhanes
1 Replies
MLXCTL(8)						    BSD System Manager's Manual 						 MLXCTL(8)

NAME
mlxctl -- Mylex DAC960 family management utility SYNOPSIS
mlxctl [-f dev] [-v] [-a] status [drive] [...] mlxctl [-f dev] [-a] detach [drive] [...] mlxctl [-f dev] [-a] check [drive] [...] mlxctl [-f dev] rebuild channel:target mlxctl [-f dev] cstatus mlxctl [-f dev] rescan mlxctl [-f dev] config DESCRIPTION
The mlxctl utility performs status monitoring and management functions for Mylex DAC960 RAID controllers and attached devices. The following options are available: -a Apply the action to all drives attached to the controller. -f dev Specify the control device to use. The default is /dev/mlx0. -v Increased verbosity. The following commands are available: cstatus Display the controller's current status. status Display the status of the specified drives. This command returns 0 if all drives tested are online, 1 if one or more drives are critical and 2 if one or more are offline. rescan Re-scan the logical drive table, and attach or detach devices from the system as necessary. detach Detach the specified drives. Drives must be unmounted and unopened for this command to succeed. check Initiate a consistency check and repair pass on a drive that provides redundancy (e.g., RAID1 or RAID5). This command returns imme- diately. The status command can be used to monitor the progress of the check. rebuild Rebuild onto the specified physical drive. Note that there can be only one running rebuild operation per controller at any given time. This command returns immediately. The cstatus command can be used to monitor the progress of the rebuild. config Write the current system drive configuration to stdout. EXAMPLES
Display the status of drive ld3 attached to the controller mlx1: mlxctl -f /dev/mlx1 -v status ld3 SEE ALSO
ld(4), mlx(4) HISTORY
The mlxctl command first appeared in NetBSD 1.5.3, and was based on the mlxcontrol utility found in FreeBSD. BUGS
Modifying drive configuration is not yet supported. Some commands do not work with older firmware revisions. Error log extraction is not yet supported. BSD
April 10, 2000 BSD
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy