lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 01 Apr 2009 02:05:42 +0100
From:	Phillip Lougher <phillip@...gher.demon.co.uk>
To:	Rob Landley <rob@...dley.net>
CC:	Stephen Hemminger <shemminger@...tta.com>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	linux-kernel@...r.kernel.org, squashfs-devel@...ts.sourceforge.net
Subject: Re: Squashfs 4.0 tools

Rob Landley wrote:
> On Monday 30 March 2009 19:55:24 Stephen Hemminger wrote:
>> I built it from cvs (imported into git), and it works okay.
> 
> I grabbed the cvs snapshot gentoo's been using, but I don't see any way to 
> feed in a device list text file so I can create the /dev/console node root 
> filesystems need without needing root access on the host to mknod.
> 
> genext2fs has the -D option, which takes:
> 
>   /dev d 755 0 0 - - - - -
>   /dev/console c 640 0 0 5 1 0 0 -
> 
> gen_init_cpio takes:
> 
>   dir /dev 755 0 0
>   nod /dev/console 660 0 0 c 5 1
> 
> Is there a squashfs option I'm missing...?
> 

No you're unfortunately not missing an option :-)  That option
doesn't exist.

But thanks for sending the email, a couple of people over the
years have asked for something like this, and you've reminded
me that this option doesn't exist in Mksquashfs...

I have thought about adding this option a couple of times, but
it has always been dropped through lack of time.  Efficiently
adding the option isn't as easy as it sounds because the "fake"
device nodes have to somehow be made available to the
recursive directory scan routine that scans the source
directories for files.  Adding a list of fake device
nodes which is scanned on every directory for potential inclusion
in that directory is easy, but not terribly efficient.

I'll delay the release of the 4.0 tools and see if I can
implement this option in the next day or two.

Phillip

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ