On Monday 21 April 2003 09:05, Adam Yeats wrote: > Hi, > How do I find out whether the mount point is a directory or not? I'd > assume it's in fstab but everything seems OK in there.. Many ways. You can use the "file" command: [jkeating@xxxxx jkeating]$ file /mnt /mnt: directory Or you can do an ls -al of it, and see if it has the "d" attribute: [jkeating@xxxxx jkeating]$ ls -al /mnt total 44 drwxr-xr-x 11 root root 4096 Apr 10 09:52 . drwxr-xr-x 25 root root 4096 Apr 21 08:48 .. drwxr-xr-x 2 root root 4096 Feb 21 14:44 cdrom You'll notice that . (the /mnt directory), along with the parent directory, and the cdrom file are all directories. -- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (http://www.microwerks.net/~hugo/) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating