Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108041

Summary: cloop ebuild changes. mknod (+kernel config)
Product: Gentoo Linux Reporter: Jan Klopper <janklopper>
Component: [OLD] Core systemAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED NEEDINFO    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Klopper 2005-10-04 00:59:01 UTC
The cloop 1.2 ebuild has some small problems.
The ebuild checks for kernel 2.4 and if found creates the needed /dev/cloop nodes.
Kernel 2.6.12 howevr (and probably others) do not create the nodes themselves,
but  can be told to do so by the mknod command found in the ebuild.

Maybe we should skip this step, and always create the nodes, or add the command
to the start.local since it apears not be persistant.

Also the ebuild checks for config_zlib_deflate, and asks the user to enable it,
but doesn't mention the parent config options, puzzeling newbee kernel configgers.


Reproducible: Always
Steps to Reproduce:
1.emerge cloop (and if needed make sure kernel is configged with zlib-deflate etc)
2.notice the absense of /dev/cloop
3.mknod /dev/cloop 260 0
4.modprobe cloop /home/user/file
5.mount -o ro /dev/cloop /home/user/compressed
6.after reboot however the /dev/cloop is gone.


Expected Results:  
create the nodes, or load, on emerge, or on boot.
And thus allow the user to mount the just clooped file.

i tried this on amd64, with kernel 2.6.12, and i think udev (which is the newest
right? (udev/devfs)
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-10-04 10:53:18 UTC
It works for me, are you sure you have udev installed?

ls /dev/.udev
?
Comment 2 Jan Klopper 2005-10-05 10:44:17 UTC
(In reply to comment #1)
> It works for me, are you sure you have udev installed?
> 
> ls /dev/.udev
> ?

Yes i do.
What kernel are you using?
and how are you loading the module?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-10-05 11:10:43 UTC
2.6.14-rc2-mm2

And I just do modprobe cloop and have plenty of /dev/cloop* after that
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-10-08 07:26:14 UTC
I cannot reproduce that, please give more info about your setup.

Are you sure you are using the latest cloop version?