Re: loop-aes problems under RedHat Linux 7.2

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

 



[ re-sending, sorry if you receive this twice ]

beldridg@pobox.com wrote:
> On Wed, 28 Nov 2001, Friedrisch Muller wrote:
> > Mounting local filesystems:  mount: invalid option -- O <Here comes
> > usage for mount.>
> 
> this is the problem i mentioned the other day. redhat has patched mount to
> add a few new options.
> 
> therefore, you have at least three options:
> 
>  1. modify the startup script to remove the mount commands that deal
>     with nodev
> 
>  2. i think jari is going to incorporate the netdev patch into his
>     patch. then you can repatch and rebuild mount, etc.
> 
>  3. i have an untested modified redhat nodev patch which should apply
>     cleanly after jari's patch. it is attached. just pply this patch
>     and rebuild mount, etc.
> 
> - brett

Brett's patch appears to have CR-LF damage at line ends.

I have attached a patch that adds missing -O option to mount and umount.
Just uncompress the util-linux-2.11m-2.diff.bz2 file and drop it to
loop-AES-v1.4h directory. Below is a patch for the README file, which says
that you have to apply two util-linux patches before compiling util-linux.

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>


--- ../loop-AES-v1.4h/README	Sat Nov 24 20:23:37 2001
+++ README	Wed Nov 28 19:36:24 2001
@@ -1,4 +1,4 @@
-Written by Jari Ruusu <jari.ruusu@pp.inet.fi>, November 24 2001
+Written by Jari Ruusu <jari.ruusu@pp.inet.fi>, November 28 2001
 
 Copyright 2001 by Jari Ruusu.
 Redistribution of this file is permitted under the GNU Public License.
@@ -142,6 +142,7 @@
     bzip2 -d -c util-linux-2.11m.tar.bz2 | tar xvf -
     cd util-linux-2.11m
     patch -p1 <../util-linux-2.11m.diff
+    patch -p1 <../util-linux-2.11m-2.diff
     ./configure
     make
     cd mount
@@ -149,6 +150,9 @@
     install -m 755 losetup /sbin
     rm -f /usr/man/man8/{mount,umount,losetup}.8.gz
     install -m 644 mount.8 umount.8 losetup.8 /usr/man/man8
+    rm -f /usr/man/man5/fstab.5.gz
+    install -m 644 fstab.5 /usr/man/man5
+    mandb
     cd ../..
 
 
@@ -525,3 +529,6 @@
 
 util-linux-2.11?.diff       Util-linux patch that adds support for AES
                             cipher.
+
+util-linux-2.11?-2.diff     Util-linux patch that adds support for -O mount
+                            option. Some distros need this, some don't.

Attachment: util-linux-2.11m-2.diff.bz2
Description: Binary data

-----BEGIN PGP MESSAGE-----
Version: 2.6.3ia
Comment: http://loop-aes.sourceforge.net/PGP-public-key.asc

iQCVAwUAPAUipDMKg0M6Ig9RAQFB2QP/b/mXiNlXDVKI2rvryGClENIPbe8oJPTI
XrlZtpicLdLy/hnD7dhJ8tXbATNsx8lallERvRNYsssGKjvqlfk3iQTBXSA3I1lF
abodYQt6FyTEUyUgiFeS1/95m/M5ZwRsSSFxrcR1JBnfjLZiTsDn8Xn7lX283BCw
ewdmdMDhqu0=
=dWBP
-----END PGP MESSAGE-----

[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux