LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   showmount not working? (https://www.linuxquestions.org/questions/linux-newbie-8/showmount-not-working-879178/)

brownie_cookie 05-12-2011 12:59 AM

Quote:

Originally Posted by chrism01 (Post 4353785)
Please add your distro to your profile for more accurate help
:)

can you show me the command to be sure of what distro i'm using?
normally it is RHEL 4, but somebody showed me a command and appearently i have CentOS... so i'm not sure anymore..

chrism01 05-12-2011 01:03 AM

Code:

cat /etc/*release*

uname -a

The first is more appropriate here; the 2nd is really the kernel version

brownie_cookie 05-12-2011 01:17 AM

Code:

# cat /etc/*release*
CentOS release 5.5 (Final)

Code:

# uname -a
Linux host 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686 i686 i386 GNU/Linux

so i geuss i have a CentOS ;)

brownie_cookie 05-12-2011 06:14 AM

once more

can someone show me how i can easily check my mounts?
should i use mount or showmount or .........

catkin 05-12-2011 01:27 PM

Quote:

Originally Posted by brownie_cookie (Post 4354176)
once more

can someone show me how i can easily check my mounts?
should i use mount or showmount or .........

Do you have a problem with the solution suggested in this post?

brownie_cookie 05-13-2011 12:53 AM

so you mean this
Code:

df --type=NFS
so, then i'm sure that the result of this command will show ONLY the NFS mounts?

(just to be sure)

catkin 05-13-2011 12:58 AM

Quote:

Originally Posted by brownie_cookie (Post 4355018)
so, then i'm sure that the result of this command will show ONLY the NFS mounts?

(just to be sure)

From the df man page:
Code:

      -t, --type=TYPE
              limit listing to file systems of type TYPE


brownie_cookie 05-13-2011 01:24 AM

so i geuss you mean i can be sure ... :)

catkin 05-13-2011 01:46 AM

Quote:

Originally Posted by brownie_cookie (Post 4355044)
so i geuss you mean i can be sure ... :)

Trust no one. The truth is out there. :D

brownie_cookie 05-13-2011 02:02 AM

hahahaha :p +1 :p


All times are GMT -5. The time now is 02:10 PM.