[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fstab question



>         I am trying to install a loopback encrypted filesystem by
> following the howto at
> 
> http://www.kerneli.org/loopback-encrypted-fileystem-3.html
> 
> I am trying to create a loop device called /dev/loop0
> I added the line below to my /etc/fstab
> 
> /dev/loop0 /mnt/crypt ext2 user,noauto,rw,loop 0 0
> 
> but when I run losetup to mount the loop device it gives me an error
> saying /dev/loop0 does not exist.
> 
> what else do I need to do to create this loop device?
> would the format of how I entered the data into /etc/fstab make a
> difference on it being created or not?

I've never used that encrypted filesystem, but here is an 
example of a loopback filesystem in my fstab that works:

/mnt/q/temp    /mnt/temp     ext2   defaults,noauto,loop,user     0 0


The file "/mnt/q/temp" gets mounted on the directory "/mnt/temp".

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------