02-09-2014
That should be something like /sbin/udevadm What is the Linux Distribution and version?
9 More Discussions You Might Find Interesting
1. HP-UX
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
2. Gentoo
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
3. HP-UX
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
4. OS X (Apple)
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
5. Shell Programming and Scripting
Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting.
basically having worked out how to mount and unmount disks using:
disktool -m *device* & disktool -e *device*
- and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies
6. Shell Programming and Scripting
As stated, I am looking into keeping my backup drive unmounted in normal windows use. Partly this is to address threats like cryptolocker. Since one of my backup drives is an internal drive, it will not likely afford any protection from such a threat. I am thinking of adding code to my rsync script... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
7. Shell Programming and Scripting
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies
8. Shell Programming and Scripting
Hi all,
I have a requirement to do an upgrade. As part of that upgrade I have to unmounts files in the fstab (there could be 100's), is there a way I can do this via script? The problem is, is that the mount points on every server will be different....
For example:
/u001/oradata/T865 ... (4 Replies)
Discussion started by: gartie
4 Replies
9. UNIX for Beginners Questions & Answers
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
mount(8) System Manager's Manual mount(8)
Name
mount, umount - mount or unmount file systems
Syntax
/etc/mount [ options ] [ device ] [ directory ]
/etc/umount [ options ] [ device ] [ directory ]
Description
This is a general description of the command. Additional descriptions are provided to define the syntax and options for the NFS and UFS
file systems.
Each invocation of the command announces to the system that a file system is present on the device device. The file system may be local or
remote. File directory must exist as a directory file. It becomes the name of the newly mounted file system root.
If invoked without arguments, prints the list of mounted file systems.
Physically write-protected disks and magnetic tape file systems must be mounted read-only or an error will occur at mount time.
General users can only mount file systems with certain restrictions. For example, the user, other than the superuser, performing the mount
must own the directory directory. Furthermore, no users other than the superuser can execute or programs on the mounted file systems. In
addition, users other than the superuser cannot access block or special character devices such as on the mounted file systems.
The command announces to the system that the removable file system previously mounted on the specified directory is to be removed. Only
the person who mounted a particular file system or the superuser can unmount the file system again.
Options
-a Reads the file and mounts, or unmounts, all file systems listed there.
-f Fast unmount. The option has no meaning for local file systems and directories. However, for remote file system types (such
as NFS), the option causes the client to unmount the remotely mounted file systems and directories without notifying the
server. This can avoid the delay of waiting for acknowledgment from a server that is down.
-o options Specifies a string that is passed to the kernel and used by the specific file system's mount routine in the kernel. For spe-
cific options, refer to the file system-specific description, such as
-r Indicates that the file system is to be mounted read only. To share a disk, each host must mount the file system with the -r
option.
-t type Specifies the type of file system is being mounted. When used with the option, the option mounts all file systems of the given
type found in the file. For specific file system types, refer to the file system-specific description, such as
-v Tells what did or did not happen. (Verbose flag)
The options for are:
-a Unmounts all mounted file systems. It may be necessary to execute twice to accomplish unmounting of all mounted file systems.
-v Tells what did or did not happen. (Verbose flag)
Restrictions
Mounting corrupted file systems will crash the system.
Files
File systems information table
See Also
getmnt(2), mount(2), fstab(5), fsck(8), mount(8nfs), mount(8ufs)
mount(8)