Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mountpoint(1) [centos man page]

MOUNTPOINT(1)							   User Commands						     MOUNTPOINT(1)

NAME
mountpoint - see if a directory is a mountpoint SYNOPSIS
mountpoint [-q] [-d] directory mountpoint -x device DESCRIPTION
mountpoint checks if the directory is mentioned in the /proc/self/mountinfo file. OPTIONS
-h, --help Print help and exit. -q, --quiet Be quiet - don't print anything. -d, --fs-devno Print major/minor device number of the filesystem on stdout. -x, --devno Print major/minor device number of the blockdevice on stdout. EXIT STATUS
Zero if the directory is a mountpoint, non-zero if not. AUTHOR
Karel Zak <kzak@redhat.com> ENVIRONMENT
LIBMOUNT_DEBUG=0xffff enables debug output. NOTES
The util-linux mountpoint implementation was written from scratch for libmount. The original version for sysvinit suite was written by Miquel van Smoorenburg. SEE ALSO
mount(8) AVAILABILITY
The mountpoint command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux June 2011 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
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

batching files

HI, Suppose I have thousand files in one directory and they can keep increasing ie /home/rooh Then I want to create a batch of 100 files and then compress that batch file and ftp them somewhere else. And morever the files in the batch will be moved to somewhere else. Can you please help... (21 Replies)
Discussion started by: rooh
21 Replies

2. UNIX for Dummies Questions & Answers

Unix or Linux?!!

hi, I'm a new user and in order to be frank, I have to say that I don't know much about unix nor linux, I know that unix is older, it's in plain text and etc., but do you think that learning unix and then linux would have a great advantage for me, or I can jump on linux from the begining? If your... (18 Replies)
Discussion started by: confusedoflife
18 Replies

3. UNIX for Dummies Questions & Answers

how do I start an xTerm on my pc?

Hi all, I am using a wizard from Hummingbird to create an Xterm on my pc, but I was wondering if I can create one without the help of Hummingbird. Could someone please help? thanks Ivo (13 Replies)
Discussion started by: Ivo
13 Replies

4. UNIX for Dummies Questions & Answers

FTP/TELNET on linux, not working

I'm trying to ftp to my linux box from windows and from unix and its not working. I can telnet just fine, but ftp doesn't work. Where should I start looking? What config file is it that controls the ftp? Why does telnet work and ftp not? I'm using redhat 6.1, samba's working for browsing the... (33 Replies)
Discussion started by: kymberm
33 Replies

5. UNIX for Dummies Questions & Answers

UNIX Operating System

Hello Everyone, I'm new to this forum and Unix. I have a couple of questions and please, excuse my ignorance. I have a spare machine which is now running MS Windows 98 and I would like to format the disk and install the Unix operating system along with Oracle 8i and SQL Server. My... (13 Replies)
Discussion started by: IronBear
13 Replies

6. UNIX for Dummies Questions & Answers

Some FreeBSD issues

I have been using Linux for 3 years now, and I think I am getting enough knowledge (and confidence) to try some more 'traditional' unix variants. I installed FreeBSD 5.0-CURRENT. I have a couple of questions for the time being: 1) Frequently when I need to compile software packages they can't... (16 Replies)
Discussion started by: cbkihong
16 Replies

7. Post Here to Contact Site Administrators and Moderators

what happened?

A few hours ago I made several reasonable posts to this forum and now they have dissapeared. I read and followed the rules, and I sure didn't break any, but gone they are :( I know I only joined the forum today, but do the posts have to be authorised or something? ... (14 Replies)
Discussion started by: cw1972
14 Replies

8. Slackware

Windows Emulator?

I have heard of something called a windows emulator that allows you to run windows programs in linux, does this realy work? can I run any windows program (like a computer game)? and where can I get it :p (13 Replies)
Discussion started by: Kimm
13 Replies

9. Slackware

activating network connection in linux

Hi all, I've just installed redhat linux 7.3 and everything is good so far except my network connection. When I use the wizard to activate it gives me an error 'cannot activate' but no reason. Using the wizard I can see the device Eth0 and under the hardware tab it seems to recognize the card... (13 Replies)
Discussion started by: Mace
13 Replies

10. SuSE

PhPMyAdmin basic set up on SUSE linux 9.1

Hey, I was wondering if anybody could help me setup my PhpMyAdmin on my SUSE linux 9.1 machine. I want to use it to access MySQL server instead of the defualt MySQLCC-Console Manager. I have not tried yet but i have done a such and it's installed in one of the folders. I would like to point... (15 Replies)
Discussion started by: sybella1
15 Replies

11. Programming

Error need help

Dear all I am receiving the bellow error. Please help me how to over the error. couliba@linux:~/bin/Ga> make find_rules cc find_rules.c -o find_rules In file included from find_rules.c:19: util.h:15: error: syntax error before '*' token util.h:15: error: conflicting types for... (19 Replies)
Discussion started by: coulio
19 Replies

12. Shell Programming and Scripting

File Accessed Alarm ??

Hey, I want to ask a simple Question.... How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (16 Replies)
Discussion started by: varungupta
16 Replies

13. AIX

NIM From Linux Machine - Is it real?

Hello! My name is Daniel, and I have a "hard" question. I have 8 pSeries old servers, that I need to install from scratch every month - The OS version is AIX 5L 5.2 I have mksysb images of this computers (same image to all - same hardware), and I know that I can use NIM for this kind of... (16 Replies)
Discussion started by: dmor
16 Replies