
uname | 491
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-h Print help message and exit.
-l Lazy unmount. Detach the filesystem from the hierarchy
immediately, but don’t clean up references until it is no longer
busy. Requires kernel 2.4.11 or later.
-n Unmount, but do not record changes in /etc/mtab.
-O options
Unmount only filesystems with the specified options in /etc/
fstab. Specify multiple options as a comma-separated list. Add
no as a prefix to an option to indicate filesystems that should
not be unmounted.
-r If unmounting fails, try to remount read-only.
-t type
Unmount only filesystems of type type. Multiple types can be
specified as a comma-separated list, and any type can be
prefixed with no to specify that filesystems of that type should
not be unmounted.
-v Verbose mode.
-V Print version information and exit.
uname
uname [options]
Print information about the machine and operating system.
Without options, print the name of the kernel (Linux).
Options
-a, --all
Combine all the system information from the other options.
-i, --hardware-platform
Print the system’s hardware platform.
-m, --machine
Print the name of the hardware that the system is running on.
-n, --nodename
Print the machine’s hostname.
-o, --operating-system
Print the operating system name.
-p, --processor
Print the type of processor.
-r, --kernel-release
Print ...