MOUNTPOINT(1) Linux System Administrator's Manual MOUNTPOINT(1)NAME
mountpoint - see if a directory is a mountpoint
SYNOPSIS
/bin/mountpoint [-q] [-d] /path/to/directory
/bin/mountpoint -x /dev/device
DESCRIPTION
Mountpoint checks if the directory is a mountpoint.
OPTIONS -q Be quiet - don't print anything.
-d Print major/minor device number of the filesystem on stdout.
-x Print major/minor device number of the blockdevice on stdout.
EXIT STATUS
Zero if the directory is a mountpoint, non-zero if not.
NOTES
Symbolic links are not followed, except when the -x option is used. To force following symlinks, add a trailing slash to the path of the
directory.
The name of the command is misleading when the -x option is used, but the option is useful for comparing if a directory and a device match
up, and there is no other command that can print the info easily.
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
SEE ALSO stat(1)
Mar 15, 2004 MOUNTPOINT(1)
Check Out this Related Man Page
HFS.UTIL(8) BSD System Manager's Manual HFS.UTIL(8)NAME
hfs.util -- HFS/HFS+ file system utility
SYNOPSIS
hfs.util -m device mountpoint [mountflag1] [mountflag2] [mountflag3] [mountflag4]
hfs.util -p device [mountflag1] [mountflag2] [mountflag3] [mountflag4]
hfs.util -J [size] mountpoint
hfs.util -U mountpoint
hfs.util -N device
hfs.util -I mountpoint
hfs.util [-aksu] device
DESCRIPTION
The hfs.util command supports the mounting, probing, and unmounting of HFS file systems.
Options:
-a Adopt permissions for the HFS file system at device
-I Print out status information about the journal on the HFS file system at mountpoint
-J [size] Enable journaling on the HFS file system mounted on mountpoint. An optional size may be specified (e.g. 32M for a 32
megabyte journal).
-k Get the UUID key for the HFS file system at device.
-m Mount the HFS file system located on device onto mountpoint with the flags mountflag1 mountflag2 mountflag3 mountflag4
-M Force mount the HFS file system located on device onto mountpoint with the flags mountflag1 mountflag2 mountflag3
mountflag4. This is a deprecated option.
-N Disable journaling on a HFS+ file system located at device
-p Probe the device for an HFS file system using the flags mountflag1 mountflag2 mountflag3 mountflag4
-s Set the UUID key (generates a new UUID value) for the HFS file system at device
-u Unmount the HFS file system located at device
-U Disable journaling on the HFS+ file system mounted on mountpoint
The mountflags referenced above are either:
o removable or fixed
o readonly or writeable
o suid or nosuid
o dev or nodev
Note that for the device references above, you must only supply the last component of the path to the device in question, such as disk0s2
rather than /dev/disk0s2.
SEE ALSO diskarbitrationd(8)HISTORY
Derived from the Openstep Workspace Manager file system utility programs.
Darwin July 16, 2003 Darwin
I have experienced a strange effect on one of our machines and would like to ask, if somebody else can verify this. Machine is a LPAR in a 690, OS is 5.1, ML 6.
I create a new group and a new user, who has this group set as his primary group he will be in no other group. Then, as root, create a... (1 Reply)
Is there a way to identify a directory as the start of an NFS mountpoint in HPUX 11.0? Using existing utilities & without root priv.
If you stat the directory and use the S_ISNWK macro you can find network special files that way. The requirement will have to go through other channels if I need... (5 Replies)
Hi,
I would like to know what is command or script to determine the a directory that seat on a logical volume and mount-point.
For example:
logical volume mount-point
------------ -------------
/dev/vg00/scenario /training/test
/dev/vg00/train ... (2 Replies)
Hi,
I am restoring the existing mount point on Solaris and getting below mentioned error
mount: /dev/dsk/c0t2d0s6 is already mounted or /billing is busy
I uses truss command to see the output and snapshot is below. Please help me to restore the mount point,
# truss -fa mount -F... (3 Replies)
Hi,
I have a problem one of the server file system cross the limitation
MountPoint / is 8% with 899.49MB free crossing threshold of 10% free
out put please help how to resolve this
dev/vx/dsk/bootdg/rootvol
9.8G 8.8G 956M 91% /
/devices ... (3 Replies)
Hello.
What's the best way to ensure that a NFS filesystem mounted from a disk-cabine (NAS) is accessible?
My proposal:
1. ping to the ip of the cabine
2. verify filesystem is mounted
3. touch a file inside the /mountpoint
Any other suggestions?
Thank you! (2 Replies)
Hello All,
I am new to System/plat-form administration work. Right now I am facing some issues while creating the filesystem and mounpoint. I am using Linux 6.0 SuSE 11. Last time I was used one command to partition the given space along with filesystem in SuSE 9 and it was done in GUI mode but... (0 Replies)
Hello,
I need to get the lv mountpoint from the hdisk directly (from vgda i guess) and not from odm or /etc/filesystems
I knew the command, but unfortunately I forgot it ;)
cheers funksen (5 Replies)
One of our mountpoint shows 100% but we have less data on that mountpoint. Pls help me to find which data/process holds the space.
bash-3.00$ cd /oracle/server_software/oracle10
bash-3.00$ du -sh *
0K admin
260M app
0K flash_recovery_area
0K lost+found
0K oradata
... (6 Replies)
Can some one help me i try to mkfs new mountpoint from storageIBM but give some problem
# mkfs -t ext3 /dev/sdd1
mke2fs 1.39 (29-May-2006)
/dev/sdd1 is apparently in use by the system; will not make a filesystem here!
my os is redhat 5.3
using fdisk
# fdisk -l
Disk /dev/sda: 298.9... (4 Replies)
Hi,
I am new to shell scripting. I prepared a very simple script to monitor mount points but not geting desired output.
df -h|awk -F' ' '{ if ($5 >= 80) print "CRITICAL\n" $NF " mount point has reached " $5;}'|sed -n '3,$p'
When I run above script in Sun solaris box it is executing... (8 Replies)
Hi,
anyone please let us know how to write shell script to find the missing mountpoints after server reboot.
i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Hello,
I need to create mountpoint in linux from rawdevices without using lv's.
Please help me with the steps to do this.
Best regards,
Vishal (2 Replies)