____/ Mark Kent on Thursday 05 June 2008 23:58 : \____
> Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx> espoused:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> ____/ Linonut on Friday 16 May 2008 00:43 : \____
>>
>>> * rbchinchen@xxxxxxxxx peremptorily fired off this memo:
>>>
>>>> Today I was renaming come music videos I was recovering from a backup.
>>>> As most of you would know, doing this is usually a pain because you
>>>> have to play the file, figure out what it is and then close the player
>>>> or play another file so you can edit the file name of the video.
>>>>
>>>> Being an average user I was predisposed to do this through Windows,
>>>> archive on an external FAT32 hdd and have it accessible from both
>>>> Windows and Linux. But today, just to be adventurous, I tried doing it
>>>> through Linux, openGEU to be precise. I found that I could edit the
>>>> file names WHILE watching them, so I could have in one window the
>>>> videos playing and in the other my file manager program renaming the
>>>> files. I cut my time by more than half (just to explain a little
>>>> further, most of the clips have info a few seconds in about artist and
>>>> track).
>>>>
>>>> When I saw this phenomenom I was astounded. I am no expert on the
>>>> internal workings of an operating system, but it appears that Linux
>>>> can access a file even when its name changes, without needing the
>>>> information put back in. I just wanted to know, does anyone know
>>>> whether this is because of the FS I am using (ext3) or is it just the
>>>> way Linux works?
>>>
>>> It's a UNIX feature, copy-on-write. If one app has a file open, and
>>> another app modifies the file in anyway, the modified version becomes a
>>> copy of the original with the new modifications.
>>>
>>> When the old file is closed by the first app, it then goes away.
>>
>> I sometimes delete video/music files while watching/listening to them to
>> save up disk space. They carry on playing.
>>
>
> Well, presumably you don't actually save the space until the file is
> really deleted, ie., once it's been closed?
In Windows the file is just locked. I don't know if this has changed over the
years.
--
~~ Best of wishes
Roy S. Schestowitz | "Ping this IP, see if it responds the second time"
http://Schestowitz.com | RHAT GNU/Linux | PGP-Key: 0x74572E8E
07:00:01 up 52 days, 5:12, 5 users, load average: 0.45, 1.13, 1.14
http://iuron.com - help build a non-profit search engine
|
|