differnce between these cmds

Hi all,

I would like to know the difference between these commands

/usr/lib/fs/hsfs/mount -F /dev/lofi/1 /usr
and
mount -F hsfs /dev/lofi/1 /usr

In the first case absolute path is specified and in the next the cmd with options ,whats the differnce.

PS:am sorry ,coz this had been posted on another forum by mistake, also i didnt get response so am at it again..
pls dont reject this!!

thanks

There are three things I see:

  1. In the second command, if the shell finds another "mount" in your $PATH before it finds it in /usr/lib/fs/hsfs/ then it will use that one, which I'm guessing it is unless you've explicitly added it to your $PATH.

  2. From the mount man page:

  1. By specifying hsfs, you're telling the shell which file system to mount the device as. Since hsfs is a specialized file system, I doubt your system defaults to this.