[linux-lvm] Reduced dependecies for /root on lvm

Klaus Strebel stb at ep-ag.com
Tue Feb 1 16:07:06 UTC 2000


Andi Kleen wrote:
> 
> On Mon, Jan 31, 2000 at 01:37:05PM +0100, Klaus Strebel wrote:
> > Comments and bugreports are welcome.
> 
> I don't think it will work with sub directories. dp->d_type
> is normally DT_UNKNOWN on all Linux systems, libc5 dirent
> does not even have that field. Please use a fstat.
Well, i think your're right. Made i tiny small test proggy. But the new
lvm_rm_rf.c does it (now tested with several dirs including subdirs and
files and s.o.).

Ciao
Klaus
-- 
Klaus Strebel
stb at ep-ag.com
EIGNER + PARTNER AG   - The Engineering Warehouse Company -
<http://www.ep-ag.com>
-----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm_rm_rf.c
Type: application/octet-stream
Size: 2332 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20000201/47e8548d/attachment.obj>


More information about the linux-lvm mailing list