Click to See Complete Forum and Search --> : Mount question


Janet
10-12-2001, 06:58 AM
Ive installed Bestcrypt for linux. Everything is where it should be. Ive created the container verified its there. Ive followed the instructions and everything has happened as per the instrcutions. Now Im trying to mount the container and I have the error:

[root@localhost Janet]# bctool mount -t ext2 Bestfile /mnt/Best
lstat(/mnt/Best): No such file or directory

Im assuming I have to do something with fstab but Ive tangled with fstab before and would like confirmation from here before I tinker.

Thanks

Hena
10-12-2001, 07:19 AM
Have you created the directory /mnt/Best? That should give similar error.

Hena
10-12-2001, 07:23 AM
Duh, pressed reply too fast :) Afaik fstab is used if you want something to be mounted automatically after boot.

bdg1983
10-12-2001, 07:33 AM
You don't have to have an entry in /etc/fstab for the filesystem you want to mount. It just makes it easier when doing so.

If you use fstab, then you can set /mnt/Best to automatically be mounted upon boot

/Bestfile /mnt/Best ext2 defaults,user,auto 0 0

or just leave it to be manually mounted when needed.

/Bestfile /mnt/Best ext2 defaults,user,noauto 0 0

If you do have it defined in fstab and not automatically mounted, then you just have to use

mount /mnt/Best

to mount it. If you don't have it defined in fstab, then you need to use the full mount command.

mount -t ext2 Bestfile /mnt/Best

Hope that helps to explain it a bit better.

Linuxcool
10-12-2001, 06:37 PM
I was looking at this page (http://www.jetico.com/index.htm#/linux.html) and I noticed that they didn't use the ' -t ' option. Instead of
bctool mount -t ext2 Bestfile /mnt/Best try bctool mount Bestfile /mnt/Best.

[ 12 October 2001: Message edited by: Linuxcool ]