Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-26 Thread Danny Tholen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 26 February 2002 18:53, you wrote:
> dams wrote:
> > agreed. ntfs is now added.
>
> At least in some kernels, ntfs read-only can corrupt your filesystem. 

If there ever was a kernel that did this, it was severely bugged. A ro filesystem can, 
by definition,
not be corrupted.

Writing, OTOH, is a completly different matter.

Danny


- -- 
"The fronting for the eighty-yard long marble-topped bar 
had been made by stitching together nearly twenty thousand 
Antarean Mosaic Lizard skins, despite the fact that the 
twenty thousand lizards concerned had needed them to keep 
their insides in." 

- - The Book decribing Milliways' politically incorrect 
decor. 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8e9U4aeiN+EU2vEIRApojAJkBwkDnCXAZKRC6lQ3pP6QU6MTiTACeI34A
YkXSYI3aBa0EusrUh8gKpRw=
=ffsi
-END PGP SIGNATURE-




Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-26 Thread David Walluck

dams wrote:

> agreed. ntfs is now added.

At least in some kernels, ntfs read-only can corrupt your filesystem. I 
don't know if it's even possible to write to NTFS created with WinXP, 
but I've read it's very dangerous to use write support on NTFS.

-- 
Sincerely,

David Walluck
<[EMAIL PROTECTED]>





Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-26 Thread dams

<[EMAIL PROTECTED]> writes:

> On 25 Feb 2002, dams wrote:
> 
> > [EMAIL PROTECTED] (Danny Tholen) writes:
> >  
> > > sub is_a_font {
> > > local $_ = $_[0];
> > > /.ttf$/i || /.pfa$/i || /.pfb$/i || /.pcf$/i || /.pcf.gz$/i || /.pfm$/i || 
>/.gsf$/;
> > > }
> > > what if the font is TTF?? My Verdana is! And it didn't get installed.
> > 
> > the /i makes the regexp match capitals also.
> > 
> That's funny, because it doesn't seem to install some of my fonts. I will 
> (try to) check tonight what is happening.
> 
>  
> > still dangerous. I don't think we will do that, but I'll see.
> what is dangerous about reading ntfs?

agreed. ntfs is now added.

-- 
dam's




Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-25 Thread danny

On 25 Feb 2002, dams wrote:

> [EMAIL PROTECTED] (Danny Tholen) writes:
>  
> > sub is_a_font {
> > local $_ = $_[0];
> > /.ttf$/i || /.pfa$/i || /.pfb$/i || /.pcf$/i || /.pcf.gz$/i || /.pfm$/i || 
>/.gsf$/;
> > }
> > what if the font is TTF?? My Verdana is! And it didn't get installed.
> 
> the /i makes the regexp match capitals also.
> 
That's funny, because it doesn't seem to install some of my fonts. I will 
(try to) check tonight what is happening.

 
> still dangerous. I don't think we will do that, but I'll see.
what is dangerous about reading ntfs?

> 
> 
Danny






Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-25 Thread seb

dams <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Garrick Staples) writes:
> 
> > On Wed, Feb 20, 2002 at 08:55:10PM +0100, Danny Tholen alleged:
> > > sub search_windows_font {
> > > foreach my $fstab_line (grep { /vfat/ } cat_('/etc/mtab') ) {
> > 
> > That regexp looks dangerous to me, "/mnt/not_vfat" would match.  But
> > maybe the code inside the loop checks, I've not looked.  Just thought
> > I'd mention this :)
> 
> well, the entire code is ugly, but I'm not the author :)
> I'll correct the things I can with the time I have.

sorry dam's but all the code was rebuilt by you 
it was your job


-- 
DUPONT   Sebastien  
EPITA Paris 'Systemes & Reseaux' [EMAIL PROTECTED]  
Mandrake Linux Devel & Packager  [EMAIL PROTECTED]
Administrateur   http://www.samaro.org




Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-25 Thread dams

[EMAIL PROTECTED] (Garrick Staples) writes:

> On Wed, Feb 20, 2002 at 08:55:10PM +0100, Danny Tholen alleged:
> > sub search_windows_font {
> > foreach my $fstab_line (grep { /vfat/ } cat_('/etc/mtab') ) {
> 
> That regexp looks dangerous to me, "/mnt/not_vfat" would match.  But
> maybe the code inside the loop checks, I've not looked.  Just thought
> I'd mention this :)

well, the entire code is ugly, but I'm not the author :)
I'll correct the things I can with the time I have.

-- 
dam's




Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-25 Thread Garrick Staples

On Wed, Feb 20, 2002 at 08:55:10PM +0100, Danny Tholen alleged:
> sub search_windows_font {
> foreach my $fstab_line (grep { /vfat/ } cat_('/etc/mtab') ) {

That regexp looks dangerous to me, "/mnt/not_vfat" would match.  But
maybe the code inside the loop checks, I've not looked.  Just thought
I'd mention this :)




Re: [Cooker] drakfont is still ignoring capitals+ntfs

2002-02-25 Thread dams

[EMAIL PROTECTED] (Danny Tholen) writes:

> I had a look at drakfont to fix it's behaviour. And although I know what is wrong 
>with it, and were,
> I have to little knowledge of perl to fix it (exept maybe in a crude way, but that 
>would lead to other errors).
> Anyway, I decided perl is terrible and hope that this gets fixed:
> 
> sub is_a_font {
> local $_ = $_[0];
> /.ttf$/i || /.pfa$/i || /.pfb$/i || /.pcf$/i || /.pcf.gz$/i || /.pfm$/i || 
>/.gsf$/;
> }
> what if the font is TTF?? My Verdana is! And it didn't get installed.

the /i makes the regexp match capitals also.

> Ofcourse, if I add TTF (and others) here, the comparing to installed font goes 
>wrong. Who solves it?
> 
> also:
> 
> sub search_windows_font {
> foreach my $fstab_line (grep { /vfat/ } cat_('/etc/mtab') ) {
> 
> I could imagine some winnt people use ntfs? which is readable so we can copy those 
>fonts as well.

still dangerous. I don't think we will do that, but I'll see.

-- 
dam's