Sponsored Content
Top Forums Shell Programming and Scripting Cygwin bash script to unmount and mount an XP partition Post 302875847 by LMHmedchem on Wednesday 20th of November 2013 01:12:11 PM
Old 11-20-2013
Thanks for the link, I will get to reading this. I'm sure there will be many more questions.

LMHmedchem
 

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
JAZIP(1)						      General Commands Manual							  JAZIP(1)

NAME
jazip - X tool to easily mount and unmount Iomega Zip and/or Jaz drives. SYNOPSIS
jazip [SCSI device] [-display host:dpy] [-visual visual] [-depth depth] [-private] DESCRIPTION
jazip is a program for maintaing your Iomega Zip and/or Jaz drive(s) and disks under Linux. This program combines Grant Guenther's original command line utility, ziptool, with Jaz drive support, a nice X interface and additional utilities to allow users to easily mount and unmount disks. The interface is based on version 0.88 of the XForms library. OPTIONS
The optional SCSI device command line parameter specifies the raw scsi device name of one of the drives with an entry in /etc/jazip.conf. If no SCSI device is specified on the command line, jazip will use the first entry of /etc/jazip.conf by default. This allows you to add a different line in the configuration file for each drive you own, and then invoke jazip with the name of the device for the drive you want jazip to use. Note that the SCSI device argument does not contain a partition number. jazip auto-detects partitions and mounts the first one it encoun- ters. jazip is built with the XForms Graphical User Interface Toolkit for X, and hence supports a number of flags which are interpreted by XForms: -display host:dpy defines the X display. -visual class TrueColor, PseudoColor etc... -depth d visual depth in bits -private forces a private colormap. -shared forces a shared colormap. -stdcmap forces a standard colormap. FEATURES
Mounting/Unmounting of Disks: The program allows non-root users to securely mount/unmount disks. Disks are mounted with the nosuid flag to increase security. The type of disk should be detected automagically by reading its partition table. Only the first disk partition encountered will be mounted by jaZip. Write Protection/De-Write Protection: The program allows non-root users to control the disk's software write protection feature. Password protection is not currently supported. Ejection of Media: Any questions? Disk Information: Keeps you informed about the current disk's protection and mount status. Other information: Once the program is running, see the online help (under the help menu) for further information and instructions. USER ACCESS TO JAZIP
On Debian systems, jazip is installed suid to root, and sgid to floppy. Access to jazip is limited to users in the floppy group. To add user joe to group floppy , run the following command as root # adduser joe floppy What about non-Debian systems? You may change permission and group ownership of the jazip executable like so: # chown root:floppy /usr/bin/jazip # chmod 4754 /usr/bin/jazip to yield # ls -l /usr/bin/jazip -rwsr-xr-- 1 root jazip 147340 May 18 15:04 /usr/bin/jazip OWNERSHIP AND PERMISSIONS OF MOUNT POINTS
This is what is suggested # chmod 1771 /zip to yield drwxrwx--t 3 root floppy 1024 May 21 10:58 /zip Only members of the floppy group can read it, all floppy group members can write to it at any time, but can't overwrite other user's files. This only matters for ext2 formatted disks because jazip's mount changes ownwership of the mount for vfat formatted disks: whoever uses jazip to mount the disk owns the files. No other user can write to the disk. KNOWN LIMITATIONS
Starting the program: There needs to be a disk in the drive in order to start the program. If you start jazip from a window manager menu without a disk in the drive, it will fail silently because you will never see the text error message. Partitioning your disks: Since Zip and Jaz are removable media technologies, it is assumed that each disk will contain just one partition. This is less likely to be desireable if you are a Jaz user with 1G or 2G disks. In order to easily support autodetection of disk types, I don't see a way around this restriction. Unmounting disks to access some features: Currently, to use the lock and unlock features, the disk must be unmounted. CONFIGURATION FILE
jazip uses the file /etc/jazip.conf to map the raw SCSI device name of the drive you wish to use onto its mount point. If you have more than one drive on your system, you can create a separate entry in the configuration file for each one, and then specify the raw device name of the drive you want to use on the command line when you invoke jazip. If no device name is given on the command line, jazip will use the settings in the first entry of /etc/jazip.conf by default. The format of the jazip.conf file should be mostly self-explanatory. The first entry of the configuration file is the raw SCSI device name of your drive (e.g. /dev/sda). The second entry is the mount point you wish to use (e.g. /zip). The additional entries are required, but are not user-changeable. See the jazipconfig(8) man page for specifics. See the jazipconfig command to create the /etc/jazip.conf config- uration file. SEE ALSO
jazip.conf(5), jazipconfig(8) AUTHOR
jazip Copyright (c) 1996 Jarrod A. Smith This manual page by Peter S Galbraith <psg@debian.org> for the Debian GNU/Linux system (but may be used by others). JAZIP(1)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy