Results 1 to 5 of 5

Thread: mountpoint command in ubuntu ( /bin/mountpoint)

  1. #1
    Join Date
    Dec 2008
    Location
    kolkata
    Beans
    64
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Angry mountpoint command in ubuntu ( /bin/mountpoint)

    Can anybody tell me about the command "mountpoint" which is located in /bin.

    It is not working in my system. If I try "mountpoint --help" in terminal it says "bash: /bin/mountpoint: cannot execute binary file"

    I am having problem to configure uswsusp . It tells me the mountpoint command error...

  2. #2
    Join Date
    Apr 2008
    Location
    Australian in Germany
    Beans
    4,010
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mountpoint command in ubuntu ( /bin/mountpoint)

    try
    Code:
    man mountpoint

  3. #3
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: mountpoint command in ubuntu ( /bin/mountpoint)

    Code:
    # man mountpoint
    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.
    as for your error, maybe try to reinstall the package containin mountpoint
    Code:
    sudo  aptitude reinstall initscripts
    There is NO such thing as a humble opinion
    Remember : RUNNING UNKNOWN COMMANDS CAN DAMAGE YOUR COMPUTER
    Please read and ensure you understand the entire thread before posting to avoid redundant and/or irrelevant and/or misleading posts.

  4. #4
    Join Date
    Dec 2008
    Location
    kolkata
    Beans
    64
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: mountpoint command in ubuntu ( /bin/mountpoint)

    Quote Originally Posted by solar george View Post
    Code:
    # man mountpoint
    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.
    as for your error, maybe try to reinstall the package containin mountpoint
    Code:
    sudo  aptitude reinstall initscripts
    Thanks solar george or your prompt and valuable reply. This solved my problem. Ubuntu forum rocks...........

  5. #5
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: mountpoint command in ubuntu ( /bin/mountpoint)

    Thanks solar george or your prompt and valuable reply. This solved my problem. Ubuntu forum rocks...........
    No problem, have fun
    There is NO such thing as a humble opinion
    Remember : RUNNING UNKNOWN COMMANDS CAN DAMAGE YOUR COMPUTER
    Please read and ensure you understand the entire thread before posting to avoid redundant and/or irrelevant and/or misleading posts.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •