POV-Ray : Newsgroups : povray.off-topic : Questionable reasoning Server Time
6 Sep 2024 15:19:39 EDT (-0400)
  Questionable reasoning (Message 21 to 30 of 30)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Darren New
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 14:37:46
Message: <4974d68a$1@news.povray.org>
Orchid XP v8 wrote:
> I still miss the old days when you could take a filesystem offline to 
> defrag it properly... :-(

You mean, back in DOS days, when you couldn't run anything but the defrag 
tool while the machine's running? :-)  What's "improper" about the 
defragging it does now?

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Eero Ahonen
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 15:05:07
Message: <4974dcf3@news.povray.org>
Darren New wrote:
> 
> You mean, back in DOS days, when you couldn't run anything but the
> defrag tool while the machine's running? :-)  What's "improper" about
> the defragging it does now?
> 

You can't stop users from doing work and look as important anymore? :P

-Aero


Post a reply to this message

From: Orchid XP v8
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 15:46:33
Message: <4974e6a9@news.povray.org>
>> I still miss the old days when you could take a filesystem offline to 
>> defrag it properly... :-(
> 
> You mean, back in DOS days, when you couldn't run anything but the 
> defrag tool while the machine's running? :-)  What's "improper" about 
> the defragging it does now?

People can be refragmenting the files as you're trying to defrag them?

(Also this is presumably why every defrag tool known to man fails to 
defrag certain parts of the filesystem.)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 16:00:24
Message: <4974e9e8$1@news.povray.org>
Orchid XP v8 wrote:
> People can be refragmenting the files as you're trying to defrag them?

Most defragmenters either lock the file while it's being defragged or they 
stop defragging if you open the file for writing while they're defragging it.

> (Also this is presumably why every defrag tool known to man fails to 
> defrag certain parts of the filesystem.)

That's more because bits of the kernel keep physical locations of files in 
memory (like swap, or root directory, or whatever).  Also, if you have the 
file open for writing (like the registry, say), then it's rough to defrag 
while it's being written.  Which is why (for example) the "page file 
defragmenter" runs during boot rather than live.

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Orchid XP v8
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 16:02:19
Message: <4974ea5b$1@news.povray.org>
>> (Also this is presumably why every defrag tool known to man fails to 
>> defrag certain parts of the filesystem.)
> 
> That's more because bits of the kernel keep physical locations of files 
> in memory (like swap, or root directory, or whatever).  Also, if you 
> have the file open for writing (like the registry, say), then it's rough 
> to defrag while it's being written.  Which is why (for example) the 
> "page file defragmenter" runs during boot rather than live.

Indeed. If you could run a defragger with the filesystem unmounted, you 
could move around anything you like.

Still, Windows doesn't seem to support the concept of mounting and 
unmounting filesystems at will...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 16:05:13
Message: <4974eb09$1@news.povray.org>
Orchid XP v8 wrote:
> Indeed. If you could run a defragger with the filesystem unmounted, you 
> could move around anything you like.

With suffient information about what is where, everything but hardcoded 
blocks could be moved around, yes.

> Still, Windows doesn't seem to support the concept of mounting and 
> unmounting filesystems at will...

Of course it does.  There are just some file systems you can't unmount 
because the kernel is using files there.

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Orchid XP v8
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 16:07:25
Message: <4974eb8d$1@news.povray.org>
Darren New wrote:

>> Still, Windows doesn't seem to support the concept of mounting and 
>> unmounting filesystems at will...
> 
> Of course it does.  There are just some file systems you can't unmount 
> because the kernel is using files there.

Well you can't unmount the second partition on your harddrive, defrag 
it, and then remount it (for example).

Of course, under Linux you can mount and unmount things at will - you 
just can't defrag anything at all! :-}

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Questionable reasoning
Date: 19 Jan 2009 16:15:42
Message: <4974ed7e$1@news.povray.org>
Orchid XP v8 wrote:
> Well you can't unmount the second partition on your harddrive, defrag 
> it, and then remount it (for example).

Sure you can. You have to write your own defrag tool, but you can certainly 
unmount the second partition, do raw I/O to it, and then remount it[1]. If 
you had a defrag tool that would work on an unmounted partition, you could 
do this. The one that is built into Windows assumes you want your system 
live while doing this, so it deals with it, handling the fact that you're 
moving the file transparently to the users.

> Of course, under Linux you can mount and unmount things at will

No you can't. You can't unmount a file system with open files on it under 
Linux either.  You can defrag it (or fsck it) while it's mounted, but 
that'll just corrupt it, most likely.



[1] For example, try "chkdsk d: /x" from an administrator command line.

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Orchid XP v8
Subject: Re: Questionable reasoning
Date: 24 Jan 2009 09:32:34
Message: <497b2682$1@news.povray.org>
>> Yeah, I was talking about *algebraic* data type when I said "all 
>> Haskell types are ADTs". ;-)
> 
> Sorry. I get them mixed up, since the definitions changed since I 
> studied them.
> 
>> I think we're still talking about two different meanings of ADT. ;-)
> 
> Possibly.

So, now do you agree that "all Haskell types are algebraic data types"? ;-)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: Questionable reasoning
Date: 24 Jan 2009 12:02:10
Message: <497b4992$1@news.povray.org>
Orchid XP v8 wrote:
> So, now do you agree that "all Haskell types are algebraic data types"? ;-)

I don't know. I'm thinking not, but perhaps so. I don't know the details of 
Haskell well enough, but it's possible, yes.

-- 
   Darren New, San Diego CA, USA (PST)
   "Ouch ouch ouch!"
   "What's wrong? Noodles too hot?"
   "No, I have Chopstick Tunnel Syndrome."


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.