On 20/08/2026 05:42, Lawrence DrCOOliveiro wrote:
So why not divide the TBW by the actual capacity of the drive? Then
you end up with a ratio of how much can be written in total, to the
drive capacity -- call it, say, the rCLcumulative write ratiorCY.
That number, it seems to me, correlates better to the overall quality
of the unit than TBW does.
When I compare my NVME drive endurance for a 2TB device, it is quoted as being 1200TBW and the 1TB version is quoted as 600TBW.
I was a little concerned whether 1200TBW would be enough considering
how much "chatter" there was on the drive. After 1 year of use, the
drive has seen 4TBW meaning it will last me 299 more years. I think
that will be enough.
On Thu, 20 Aug 2026 16:55:09 +0100, mm0fmf wrote:
On 20/08/2026 05:42, Lawrence DrCOOliveiro wrote:
So why not divide the TBW by the actual capacity of the drive? Then
you end up with a ratio of how much can be written in total, to the
drive capacity -- call it, say, the rCLcumulative write ratiorCY.
That number, it seems to me, correlates better to the overall quality
of the unit than TBW does.
When I compare my NVME drive endurance for a 2TB device, it is quoted as
being 1200TBW and the 1TB version is quoted as 600TBW.
There you go -- both drives have a cumulative write ratio of 600.
I was a little concerned whether 1200TBW would be enough considering
how much "chatter" there was on the drive. After 1 year of use, the
drive has seen 4TBW meaning it will last me 299 more years. I think
that will be enough.
Trouble is, we donrCOt know what the shape of the failure curve is like.
To take an extreme case, if the shape is skewed enough so that 99% of
drives fail with a write ratio within, say, 10 (i.e. your drive fails
within 5 years), while 1% last as long as 60000 rewrites, the
arithmetic mean would still stay the same, but you would be rather
more likely to suffer data loss ...
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence DrCOOliveiro mean by
"before
showing signs of failure."?
This quotation gave me the impression that Lawrence DrCOOliveiro does
not expect the dramatic all-or-nothing scenario that Don Y reported.
=?UTF-8?B?IEdsb3N0w6lpcg==?= <thanks-to@Taf.com> wrote:
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence DrCOOliveiro mean by
"before
showing signs of failure."?
With a conventional hard drive, first you might see some error numbers creeping up on your SMART tool, as individual blocks start failing. There
is a bad block replacement process that is transparent to the OS so all you see are bad numbers on SMART. Then you start getting media errors and
then it's all over.
This quotation gave me the impression that Lawrence DrCOOliveiro does
not expect the dramatic all-or-nothing scenario that Don Y reported.
You can also have dramatic all-at-once errors when the interface fails. I have
seen many USB SSDs where the SSD memory remained fine but the USB interface could
not get to it.
I have seen lots of ways that SSDs fail. There are likely lots more than I haven't seen yet.You can likely run a magnetic disk for many years (I have drives with 80K PoH) that still haven't encountered a remapped sector. But, you can exhaust the TBW limit for an SSD in a short time -- if you are ignorant of this limitation.
The firmware in spinning rust controllers has matured over decades.
This is not the case with SSDs (especially early entrants to the
market).
On 8/21/2026 12:32 PM, Scott Dorsey wrote:
=?UTF-8?B?IEdsb3N0w6lpcg==?= <thanks-to@Taf.com> wrote:
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence D'Oliveiro mean by
"before
showing signs of failure."?
With a conventional hard drive, first you might see some error numbers
creeping up on your SMART tool, as individual blocks start failing. There >> is a bad block replacement process that is transparent to the OS so all you >> see are bad numbers on SMART. Then you start getting media errors and
then it's all over.
The firmware in spinning rust controllers has matured over decades.
This is not the case with SSDs (especially early entrants to the market).
Note that the media fails in different ways and the controller has
to understand these and adequately address them, in the wild.
Many "Thumb drives" have had problematic firmware (some Phison and
Hynix controllers). The fix requires a firmware upgrade -- WHILE
the drive is still willing to talk to its host.
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
On 8/21/2026 12:32 PM, Scott Dorsey wrote:
=?UTF-8?B?IEdsb3N0w6lpcg==?= <thanks-to@Taf.com> wrote:
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence D'Oliveiro mean by
"before
showing signs of failure."?
With a conventional hard drive, first you might see some error numbers
creeping up on your SMART tool, as individual blocks start failing. There >>> is a bad block replacement process that is transparent to the OS so all you >>> see are bad numbers on SMART. Then you start getting media errors and
then it's all over.
The firmware in spinning rust controllers has matured over decades.
This is not the case with SSDs (especially early entrants to the market).
Note that the media fails in different ways and the controller has
to understand these and adequately address them, in the wild.
The non-standard SSD card in my EeePC 701 was repeatedly getting
corrupted data, a common problem with these I believe. So I
repartitioned it using just the upper half of the drive instead of
all the space for the system partition, and no more corruption.
Obviously the wear leveling done by that SSD controller isn't very sophisticated and had worn out the flash used for the starting
sectors of the drive. I thought modern SSDs for use in PCs must
have improved from that to some extent. But it's a case of gradual
failure more like a HDD (though I've certainly seen sudden death
with HDDs too).
Many "Thumb drives" have had problematic firmware (some Phison and
Hynix controllers). The fix requires a firmware upgrade -- WHILE
the drive is still willing to talk to its host.
I didn't realise firmware upgrades were available for USB drives.
Is there any way to apply them from Linux?
On Fri, 21 Aug 2026 12:56:40 -0700, Don Y wrote:
The firmware in spinning rust controllers has matured over decades.
This is not the case with SSDs (especially early entrants to the
market).
First of all, rust isnrCOt magnetic.
Secondly, flash-storage firmware is indeed very complex -- most of
that complexity seems to go into making the device behave like a
magnetic disk drive. Details are proprietary, but certain filesystem
experts have voiced the opinion that the firmware implements something resembling a log-structured filesystem.
(You know how filesystems nowadays commonly have journals? The journal
is usually treated as a temporary holding place, to store transactions
in progress, to allow clean recovery from crashes. But once you have a journal, you can consider the regular part of the filesystem to be
redundant; what if the filesystem itself was all journal? ThatrCOs a rCLlog-structured filesystemrCY.)
You could do away with most of this complexity just by using an
OS-level filesystem that has wear-levelling built into its allocation algorithms. Several of these exist for the Linux kernel, and I think
are deployed in embedded applications. Unfortunately I donrCOt think you
can get regular consumer products designed for such usage, since the
lowest common denominator, namely Microsoft Windows, has no capability
to take advantage of them.
On Fri, 21 Aug 2026 12:56:40 -0700, Don Y wrote:
The firmware in spinning rust controllers has matured over decades.
This is not the case with SSDs (especially early entrants to the
market).
First of all, rust isnrCOt magnetic.
[Often, older sources would disappear so rsync(1) was a bad choice]
But, the small size and the fact that it had a built-in TINY
display and keyboard eventually grew tiresome.
On Fri, 21 Aug 2026 16:20:30 -0700, Don Y wrote:
[Often, older sources would disappear so rsync(1) was a bad choice]
ThererCOs a way around that: you can use the rCL--link-destrCY option to create multigenerational backups, with deduping of unchanged files.
Or, if the files are too small to bother with deduping, just do the
rsync to a new destination directory each time.
But, the small size and the fact that it had a built-in TINY
display and keyboard eventually grew tiresome.
Would you believe, it was small enough to fit in a pants pocket -- at
least on one pair of pants I had at the time ;).
I remember using it heavily at a clientrCOs place, to SSH into the
Asterisk server to watch its logs while debugging the integration of a predictive dialler with my call-management system and coordinating
with the operator making the test calls.
Also highlights differences (size/timestamp) between the two in
those cases when both have a file but they obviously differ I have
lots of cases of foo being renamed foo.old on my copy so the remote
foo doesn't overwrite it; then foo.older, foo.oldest, etc. -- a
place where versioning could be of benefit (but, some other repo
might have a different notion of foo that I will have to reconcile
with my instances.
On Fri, 21 Aug 2026 19:11:09 -0700, Don Y wrote:
Also highlights differences (size/timestamp) between the two in
those cases when both have a file but they obviously differ I have
lots of cases of foo being renamed foo.old on my copy so the remote
foo doesn't overwrite it; then foo.older, foo.oldest, etc. -- a
place where versioning could be of benefit (but, some other repo
might have a different notion of foo that I will have to reconcile
with my instances.
If these are text files, then that is the reason why software
developers invented version control.
Git is the premier VCS these
days; its particular strength is reconciling different versions of a
file that have forked off from a common ancestor, which sounds like
your use case.
Once wiped, I figured it would make a nice LITTLE "self-contained"
machine to save me the hassle of dragging out a monitor, "CPU"
and keyboard. And, it did that job well (doesn't take much horsepower
to connect to an FTP service and transfer files to an external drive).
But, I had *seven* laptops -- 17 inch displays, etc. -- just collecting--
dust in the closet. (did I mention that I volunteer at a place that
recycles kit??) "So, do I discard the EeePC, or one of the laptops, especially given that the laptops are more capable (and usable!) machines?"
Now, if I don't want to drag out the laptop, I've configured a
NUC with the same software and use the TV in the living room as
the monitor.
[This windows machine would be a bad choice to perform the
mirror as differences in filesystem support would eat my
lunch]
On Thu, 20 Aug 2026 16:55:09 +0100, mm0fmf wrote:
On 20/08/2026 05:42, Lawrence DrCOOliveiro wrote:
So why not divide the TBW by the actual capacity of the drive? Then
you end up with a ratio of how much can be written in total, to the
drive capacity -- call it, say, the rCLcumulative write ratiorCY.
That number, it seems to me, correlates better to the overall quality
of the unit than TBW does.
When I compare my NVME drive endurance for a 2TB device, it is quoted as
being 1200TBW and the 1TB version is quoted as 600TBW.
There you go -- both drives have a cumulative write ratio of 600.
On Fri, 21 Aug 2026 19:11:09 -0700I had several "docking stations" -- that I never used (so, why keep them?).
Don Y <blockedofcourse@foo.invalid> wrote:
[]
Once wiped, I figured it would make a nice LITTLE "self-contained"
machine to save me the hassle of dragging out a monitor, "CPU"
and keyboard. And, it did that job well (doesn't take much horsepower
to connect to an FTP service and transfer files to an external drive).
Ironicall the one I use the keyboard has failed and I prefer a "proper" mouse; so I do have to lug the extras - a proper keyboard is so much nicer
to use.
Lawrence DrCOOliveiro <ldo@NZ.invalid> wrote: |----------------------------------------------------------------------|
|"I found out that a common measure of the projected life of an SSD is | |being given in units of rCLterabytes writtenrCY (TBW). This will typically| |be much larger than the capacity of the drive itself, because it | |includes the sum total of all write operations on the drive, including| |deletion of data. |
| |
|For example, a 1-terabyte drive could have an expected figure of | |merit, by this measure, of 1000TBW -- that means it should be able to | |endure a total of a petabyte (1000 terabytes) written to it before | |showing signs of failure. |
| |
|But it seems to me, a 2-terabyte drive made of parts with the same | |quality, meaning each storage cell has the same expected endurance as | |before, should have a proportionately greater figure of merit, namely | |2000TBW. |
| |
|But the bigger drive will likely not last longer than the smaller one |
|-- unless you donrCOt actually make use of the extra space. |
| |
|So why not divide the TBW by the actual capacity of the drive? Then |
|you end up with a ratio of how much can be written in total, to the | |drive capacity -- call it, say, the rCLcumulative write ratiorCY. Both | |those drives would have a cumulative write ratio of 1000. |
| | |That number, it seems to me, correlates better to the overall quality |
|of the unit than TBW does. E.g. if you see a bigger drive with a | |smaller cumulative write ratio, you can suspect that they are cutting | |corners somewhere to keep the cost down." | |----------------------------------------------------------------------|
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence DrCOOliveiro mean by
"before
showing signs of failure."?
This quotation gave me the impression that Lawrence DrCOOliveiro does
not expect the dramatic all-or-nothing scenario that Don Y reported.
This is a crosspost to news:sci.electronics.design
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
Lawrence DrCOOliveiro wrote:
On Thu, 20 Aug 2026 16:55:09 +0100, mm0fmf wrote:
On 20/08/2026 05:42, Lawrence DrCOOliveiro wrote:
So why not divide the TBW by the actual capacity of the drive?
Then you end up with a ratio of how much can be written in total,
to the drive capacity -- call it, say, the rCLcumulative write
ratiorCY.
That number, it seems to me, correlates better to the overall
quality of the unit than TBW does.
When I compare my NVME drive endurance for a 2TB device, it is
quoted as being 1200TBW and the 1TB version is quoted as 600TBW.
There you go -- both drives have a cumulative write ratio of 600.
What does more memory have anything to do with more TBW?
On 8/21/2026 9:54 PM, Lawrence DrCOOliveiro wrote:
On Fri, 21 Aug 2026 19:11:09 -0700, Don Y wrote:
Also highlights differences (size/timestamp) between the two in
those cases when both have a file but they obviously differ I have
lots of cases of foo being renamed foo.old on my copy so the remote
foo doesn't overwrite it; then foo.older, foo.oldest, etc. -- a
place where versioning could be of benefit (but, some other repo
might have a different notion of foo that I will have to reconcile
with my instances.
If these are text files, then that is the reason why software
developers invented version control.
You can use it with binary files, too, if you are careful.
... I use CVS. I have "imported" many legacy codebases that were
built with that as the VCS (some even use RCS or SCCS!). So, it's
easier to recover the history as well as reconstitute different
branches directly. (moving to git, svn, p4, etc. would mean I would
lose the ability to easily move back through the revision history to reconstitute particular historical branches as that new VCS would
not have "seen" those versions as they existed at that time.)
On 8/21/2026 4:01 PM, Computer Nerd Kev wrote:
repartitioned it using just the upper half of the drive instead of
all the space for the system partition, and no more corruption.
Obviously the wear leveling done by that SSD controller isn't very
sophisticated and had worn out the flash used for the starting
I think EeePCs aren't intended for much more than email, etc.
And, running a UNIX on it (BSD in my case) still does writes to
the / partition (think /var/log). Perhaps retooling the system
might cut down on that (mount /var as a tmpfs?)
Dunno as I don't run Linux. Maybe start here:
<https://www.usbdev.ru/files/smi/smimptool/>
I rescue "recovery media" for Windows machines (typically 8GB
thumb drives that have been factory marked as R/O). These
tools let me convert them to usable 8G drives -- a nice size
to emulate a DVD-DL. Especially as optical drives are becoming
scarce in machines (or, physically incompatible with the sizes
of those machines -- e.g., NUCs)
Also highlights differences (size/timestamp) between the two in
those cases when both have a file but they obviously differ I have
lots of cases of foo being renamed foo.old on my copy so the remote
foo doesn't overwrite it; then foo.older, foo.oldest, etc. -- a
place where versioning could be of benefit (but, some other repo
might have a different notion of foo that I will have to reconcile
with my instances.
If these are text files, then that is the reason why software
developers invented version control.
You can use it with binary files, too, if you are careful.
ItrCOs not about being rCLcarefulrCY, itrCOs about the usefulness of applying version control to such files.
With text files, you can use the rCLdiffrCY command to narrow down exactly the parts that have changed. And the output of rCLdiffrCY can be passed to rCLpatchrCY to apply those changes to another copy of the original file.
And hererCOs the fun part: you can use rCLpatchrCY to apply *diffs from multiple sources to the same file*. Yes, there are occasions when this
will lead to conflicts where different patches affect the same text
lines, but the rest of the time, it works fine. This is the key to open-source collaborative development, being able to merge change
submissions from multiple contributors.
With binary files, none of this really works.
... I use CVS. I have "imported" many legacy codebases that were
built with that as the VCS (some even use RCS or SCCS!). So, it's
easier to recover the history as well as reconstitute different
branches directly. (moving to git, svn, p4, etc. would mean I would
lose the ability to easily move back through the revision history to
reconstitute particular historical branches as that new VCS would
not have "seen" those versions as they existed at that time.)
The PostgreSQL folks went through exactly this issue. That didnrCOt stop
them migrating to Git <https://lwn.net/Articles/409635/>. ItrCOs all a
matter of planning.
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
On 8/21/2026 4:01 PM, Computer Nerd Kev wrote:
repartitioned it using just the upper half of the drive instead of
all the space for the system partition, and no more corruption.
Obviously the wear leveling done by that SSD controller isn't very
sophisticated and had worn out the flash used for the starting
I think EeePCs aren't intended for much more than email, etc.
And, running a UNIX on it (BSD in my case) still does writes to
the / partition (think /var/log). Perhaps retooling the system
might cut down on that (mount /var as a tmpfs?)
Yes my Linux install runs in a tmpfs in RAM. The start of the SSD
had been worn out by the time I got the EeePC second-hand, probably
running the factory WinXP install. User files are saved of course,
but excluding things like the Firefox disk cache, so writes are
mainly for OS upgrades, which hopefully won't be enough to wear
the rest of the SSD out too soon.
Dunno as I don't run Linux. Maybe start here:
<https://www.usbdev.ru/files/smi/smimptool/>
I rescue "recovery media" for Windows machines (typically 8GB
thumb drives that have been factory marked as R/O). These
tools let me convert them to usable 8G drives -- a nice size
to emulate a DVD-DL. Especially as optical drives are becoming
scarce in machines (or, physically incompatible with the sizes
of those machines -- e.g., NUCs)
I keep a USB CD/DVD drive for machines like the EeePC that don't
come with one - the BIOSs all seem to support them fine. I guess
the firmware upgrades aren't worth digging into for me - most of
my dead USB drives are just dead. There's only one that started
getting filesystem corruption, but didn't go r/o.
The value of version control is to be able to recreate a particular point-in-time of <whatever> you are controlling.
E.g., I have hand-drawn the icons for the "HiFi replacement" I'm
making for my other half. Should I export those bitmaps as text
files just to be able to preserve them AS text, instead of bitmaps?
Sadly, UNIX assumes file type is completely indicated by a suffix on
a filename -- said suffix being under the control of the person who
selected the filename.
It's a matter of human resources. Do I want to replace one VCS with
another (at some amount of time, effort and risk), just to say I did
so? Will I be THAT much "better off" after having made the switch
than if I had continued using the system that had been in place when
those things were created?
On Sat, 22 Aug 2026 18:04:48 -0700, Don Y wrote:
The value of version control is to be able to recreate a particular
point-in-time of <whatever> you are controlling.
Any backup/restore system can do that, surely.
The specific value add of version control is being able to keep track
of what has changed. And more than that, to be able to pursue multiple parallel lines of development, and be able to reconcile them later.
This is particularly important for collaborative development, which is
how a lot of open-source projects operate these days.
Why would you need to keep track of what has changed? Imagine getting
a report of a bug that has appeared in a new release, that wasnrCOt
noticed during development; there is a command called git-bisect, that
comes with Git, that helps you track down the precise commit that
introduced the bug.
E.g., I have hand-drawn the icons for the "HiFi replacement" I'm
making for my other half. Should I export those bitmaps as text
files just to be able to preserve them AS text, instead of bitmaps?
You should have drawn them as SVG. That gives you
resolution-independent scaling, and itrCOs also a text-based format
(actually XML).
Sadly, UNIX assumes file type is completely indicated by a suffix on
a filename -- said suffix being under the control of the person who
selected the filename.
Not quite how it works <https://www.darwinsys.com/file/>.
It's a matter of human resources. Do I want to replace one VCS with
another (at some amount of time, effort and risk), just to say I did
so? Will I be THAT much "better off" after having made the switch
than if I had continued using the system that had been in place when
those things were created?
If you want to encourage others to contribute to your project, then
Git is the way to go.
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
Nope. You are mixing up ms windows (where the file extension is
believed to always be right and descriptive of the contents) with Unix
(which actually looks at the files contents and pays no attention to
any part of the name).
When a file (or, the metadata for the file) claims it is a
"FIGGLEBOB", then the OS can throw up its hands and claim not to
know how to handle it -- even if it looks like a shell script, text
file, TIFF, etc.
On Sat, 22 Aug 2026 20:57:30 -0700, Don Y wrote:
When a file (or, the metadata for the file) claims it is a
"FIGGLEBOB", then the OS can throw up its hands and claim not to
know how to handle it -- even if it looks like a shell script, text
file, TIFF, etc.
No *nix-type system works that way.
On 8/22/2026 8:51 PM, Rich wrote:
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
Nope.-a You are mixing up ms windows (where the file extension is
believed to always be right and descriptive of the contents) with Unix
(which actually looks at the files contents and pays no attention to
any part of the name).
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
The contents still don't tell you what the file is or how it is intended
to be used.-a Because no OS can infer the purpose of a "stream of bytes" without having been previously informed of that.
When a file (or, the metadata for the file) claims it is a
"FIGGLEBOB", then the OS can throw up its hands and claim
not to know how to handle it -- even if it looks like a shell
script, text file, TIFF, etc.-a Because the explicit type declaration
has told it that it is none of those things, despite the resemblance.
Is a .AI file a "text" file -- because the contents APPEAR to be
text -- even though they aren't really?-a Is myprogram.q source
code in C, just because peeking inside LOOKS like that's the case?
On 8/22/2026 6:19 PM, Lawrence DrCOOliveiro wrote:
On Sat, 22 Aug 2026 18:04:48 -0700, Don Y wrote:
The value of version control is to be able to recreate a
particular point-in-time of <whatever> you are controlling.
Any backup/restore system can do that, surely.
That is time based. You want to declare a "version" -- branch -- of
the development and capture THAT.
The advantage of saving entire development system states is you
don't have to wonder what OTHER things affect the operation of the
tool that you need to access, again.
Here's a photo of my back yard. Here's another. What has changed
(please indicate that in a human-friendly form).
Not everything is "source code".
file(1) is almost WORSE than using file extensions. As with a Mac, I
(or an application) should be definitively declaring the form and
content of a file, instead of leaving that to something else to
deduce or declare (possibly incorrectly)
On 8/22/26 20:57, Don Y wrote:
On 8/22/2026 8:51 PM, Rich wrote:
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
Nope.-a You are mixing up ms windows (where the file extension is
believed to always be right and descriptive of the contents) with Unix
(which actually looks at the files contents and pays no attention to
any part of the name).
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
The contents still don't tell you what the file is or how it is intended
to be used.-a Because no OS can infer the purpose of a "stream of bytes"
without having been previously informed of that.
When a file (or, the metadata for the file) claims it is a
"FIGGLEBOB", then the OS can throw up its hands and claim
not to know how to handle it -- even if it looks like a shell
script, text file, TIFF, etc.-a Because the explicit type declaration
has told it that it is none of those things, despite the resemblance.
Is a .AI file a "text" file -- because the contents APPEAR to be
text -- even though they aren't really?-a Is myprogram.q source
code in C, just because peeking inside LOOKS like that's the case?
Search "magic numbers"Again, it only works if you tell the OS about your particular file type and every other machine that will ever see files of that type. That's what
I looked at a few hits, this page is better than most, the first paragraph should be enough.
<https://www.networkworld.com/article/931352/unix-under-the-spell-of-magic- numbers.html>
On Sat, 22 Aug 2026 19:15:19 -0700, Don Y wrote:
On 8/22/2026 6:19 PM, Lawrence DrCOOliveiro wrote:
On Sat, 22 Aug 2026 18:04:48 -0700, Don Y wrote:
The value of version control is to be able to recreate a
particular point-in-time of <whatever> you are controlling.
Any backup/restore system can do that, surely.
That is time based. You want to declare a "version" -- branch -- of
the development and capture THAT.
Fine. Store that info as part of the metadata for the backup snapshot.
The advantage of saving entire development system states is you
don't have to wonder what OTHER things affect the operation of the
tool that you need to access, again.
Yes, but again, thatrCOs what backup snapshots are for. VCSes serve a somewhat different purpose.
Here's a photo of my back yard. Here's another. What has changed
(please indicate that in a human-friendly form).
HererCOs a photo of someone elserCOs back yard. It started out similar to yours, but has undergone its own renovations. You like some of what
theyrCOve done, and would like to selectively apply those changes to
your own back yard, which has in its turn evolved somewhat in the
meantime. How would you do that?
Not everything is "source code".
VCSes are best precisely at dealing with textual source code, and with anything that can be represented as that.
file(1) is almost WORSE than using file extensions. As with a Mac, I
(or an application) should be definitively declaring the form and
content of a file, instead of leaving that to something else to
deduce or declare (possibly incorrectly)
Apple had the old rCLFourCCrCY or rCLOSTyperCY type/creator system decades ago, but abandoned all that in favour of file extensions.
These days, we have MIME types. And common Linux filesystems allow
those to be attached to files in a similar way to those type/creator
codes on the old Apple Mac systems. Except MIME types are a somewhat
more extensible system, using more descriptive strings instead of
cryptic four-byte codes.
Don Y <blockedofcourse@foo.invalid> wrote: |----------------------------------------------------------------------------|Treating everything as TEXT or NOT_TEXT is arrogant and self-serving.
|"Again, it only works if you tell the OS about your particular file type and|
|every other machine that will ever see files of that type. That's what |
|Apple did, ages ago." |
|----------------------------------------------------------------------------|
Commodore-Amiga owners used to similarly promote the original
operating system for Commodore Amigas when they used to belittle
Microsoft DOS.
The value of version control is to be able to recreate a particular >point-in-time of <whatever> you are controlling.
On 8/22/2026 8:51 PM, Rich wrote:
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
Nope. You are mixing up ms windows (where the file extension is
believed to always be right and descriptive of the contents) with Unix
(which actually looks at the files contents and pays no attention to
any part of the name).
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
The contents still don't tell you what the file is or how it is intended
to be used. Because no OS can infer the purpose of a "stream of bytes" >without having been previously informed of that.
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
On 8/21/2026 12:32 PM, Scott Dorsey wrote:
=?UTF-8?B?IEdsb3N0w6lpcg==?= <thanks-to@Taf.com> wrote:
I do not yet have a first-hand experience of an SSD failure. Don Y
complains in news:sci.electronics.design that an SSD suddenly
completely failed, instead of gradual partial degradations of a hard
disk. What does Lawrence D'Oliveiro mean by
"before
showing signs of failure."?
With a conventional hard drive, first you might see some error numbers
creeping up on your SMART tool, as individual blocks start failing. There >>> is a bad block replacement process that is transparent to the OS so all you >>> see are bad numbers on SMART. Then you start getting media errors and
then it's all over.
Don Y <blockedofcourse@foo.invalid> wrote:
On 8/22/2026 8:51 PM, Rich wrote:
In comp.misc Don Y <blockedofcourse@foo.invalid> wrote:
Sadly, UNIX assumes file type is completely indicated by
a suffix on a filename -- said suffix being under the control
of the person who selected the filename.
Nope. You are mixing up ms windows (where the file extension is
believed to always be right and descriptive of the contents) with Unix
(which actually looks at the files contents and pays no attention to
any part of the name).
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
You can do this, but you can also let it use the magic numbers instead.
Which is appropriate depends on your environment.
See my post regarding file equivalence and how "text" -- so common inThe contents still don't tell you what the file is or how it is intended
to be used. Because no OS can infer the purpose of a "stream of bytes"
without having been previously informed of that.
That's why we have magic numbers. Not every file has a valid magic number but if it doesn't, it will default to "data" type which is the default
"I don't know." Use the "file" command on the command line and see how effective it is.
Don Y <blockedofcourse@foo.invalid> wrote:
The value of version control is to be able to recreate a particular
point-in-time of <whatever> you are controlling.
That is one of the many values of version control.
Another interesting thing is that if I make a change to a file and at the same time you make a change to a file, we should be able to consolidate both changes when the files are checked in. (Not all CS do this, and there are some disadvantages, but it can be better when you have coarse granularity because there's a lot of stuff in a file.)
--scott
"The current build is failing, I get syntax errors in function X."
-- programmer
"Oh, don't use function X, I haven't finished writing it."
-- so-called project director
Fed up with a girl I was working on, I basically told her to fuck off, >something I had never quite said to her before. She gave a short quip >chiding me, and later I returned from an errand at AT&T to find standing >water on my keyboard.
There were three categorical alerts raised, one of which was a hard
drive fail.
The good news is that, even though I'd heard of such, everything came
back to normal, but it surprised me because the timeline was much longer >than I'd expected.
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
You can do this, but you can also let it use the magic numbers instead.
Which is appropriate depends on your environment.
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
Play with something like Beyond Compare (Windows) and see how helpful
file comparison can be.
See my post regarding file equivalence and how "text" -- so common in
UNIX systems (esp for configuration "databases") -- means so little.
Yet, folks want to bias the VCS towards supporting that over all
other "file types".
Don Y <blockedofcourse@foo.invalid> wrote:
One configures applications (CVS in this case) to use the extension
of the file as an indication of how it should be treated.
You can do this, but you can also let it use the magic numbers instead.
Which is appropriate depends on your environment.
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
No, but it (at least SCCS) will know to treat different kinds of file differently.
There's no reason you couldn't have a jpeg-comparing function these days. That's the marvel of the Unix philosophy... modularity.
"Text" does nothing for you -- except let you use a text editor toPlay with something like Beyond Compare (Windows) and see how helpful
file comparison can be.
See my post regarding file equivalence and how "text" -- so common in
UNIX systems (esp for configuration "databases") -- means so little.
Yet, folks want to bias the VCS towards supporting that over all
other "file types".
Well, yes, because in the Unix world most useful files can be treated that way. Remember that "version control" started out initially as "source code control."
Lane W <cactus_DAC@yahoo.com> wrote:As a kid, we used to use coke to clean the rust off our bicycles.
Fed up with a girl I was working on, I basically told her to fuck off,
something I had never quite said to her before. She gave a short quip
chiding me, and later I returned from an errand at AT&T to find standing
water on my keyboard.
There were three categorical alerts raised, one of which was a hard
drive fail.
The good news is that, even though I'd heard of such, everything came
back to normal, but it surprised me because the timeline was much longer
than I'd expected.
She should have used coca-cola. I worked years ago at a hospital where someone had spilled cola into an HP2626 terminal and left it over the weekend. There were large sections of the board where the traces were completely dissolved.
On 8/23/2026 9:08 AM, Scott Dorsey wrote:
There's no reason you couldn't have a jpeg-comparing function these days.
That's the marvel of the Unix philosophy... modularity.
Yet you don't see a "-jpeg" option to diff...
Well, yes, because in the Unix world most useful files can be treated that >> way. Remember that "version control" started out initially as "source code >> control."
"Text" does nothing for you -- except let you use a text editor to
maintain it.
Note that vipw(8) adds value -- it ensures all of the passwd-associated
files remain in a consistent format. BECAUSE IT IS AWARE OF THAT FORMAT, >even though the files still identify as "text" (no magic numbers, etc.)
[I have all of the configuration details for my machines in a series
of relational databases. I had initially thought of backporting
this into the BSD distros that I use but realized that effort
would likely offend "historical purists". So, instead, I have
scripts that query the RDBMS and know how to "write" the appropriate
files that are then copied into each host. My *current* project
doesn't rely on such a kludge and tools directly access the records
in the appropriate tables. Constrraints on the tables ensure that
the tools need not validate their input -- the RDBMS won't accept
bad data and is "guaranteed" to maintain the integrity of the data
given to it. My, what a novel idea...]
Don Y <blockedofcourse@foo.invalid> wrote:
On 8/23/2026 9:08 AM, Scott Dorsey wrote:
There's no reason you couldn't have a jpeg-comparing function these days. >>> That's the marvel of the Unix philosophy... modularity.
Yet you don't see a "-jpeg" option to diff...
No. Read the man page, diff calls itself a tool for comparing text files.
If you want to compare jpeg files you use odiff. And you can call odiff
from your source code control system if it's modular.
Well, yes, because in the Unix world most useful files can be treated that >>> way. Remember that "version control" started out initially as "source code >>> control."
"Text" does nothing for you -- except let you use a text editor to
maintain it.
And it makes it much easier for human beings to maintain. If you'd like,
you can dispose of the compiler and assembler and just create executables with cat > a.out but you're not going to do that because you are a human being and human beings work well with text.
Note that vipw(8) adds value -- it ensures all of the passwd-associated
files remain in a consistent format. BECAUSE IT IS AWARE OF THAT FORMAT,
even though the files still identify as "text" (no magic numbers, etc.)
Yes, and emacs has context-sensitive modes for C and for English. If you like format-specific editors you can use them. Personally they drive me
up the wall and I don't like them, but it's your call as a user.
[I have all of the configuration details for my machines in a series
of relational databases. I had initially thought of backporting
this into the BSD distros that I use but realized that effort
would likely offend "historical purists". So, instead, I have
scripts that query the RDBMS and know how to "write" the appropriate
files that are then copied into each host. My *current* project
doesn't rely on such a kludge and tools directly access the records
in the appropriate tables. Constrraints on the tables ensure that
the tools need not validate their input -- the RDBMS won't accept
bad data and is "guaranteed" to maintain the integrity of the data
given to it. My, what a novel idea...]
This is very much contrary to the Unix philosophy. If you like it, that
is fine but it's not Unixlike. But I am not sure why you are taking this thread so far afield.
--scott
Don Y <blockedofcourse@foo.invalid> wrote:
[I have all of the configuration details for my machines in a series
of relational databases. I had initially thought of backporting this
into the BSD distros that I use but realized that effort would likely >>offend "historical purists". So, instead, I have scripts that query
the RDBMS and know how to "write" the appropriate files that are then >>copied into each host. My *current* project doesn't rely on such a
kludge and tools directly access the records in the appropriate
tables. Constrraints on the tables ensure that the tools need not
validate their input -- the RDBMS won't accept bad data and is
"guaranteed" to maintain the integrity of the data given to it. My,
what a novel idea...]
This is very much contrary to the Unix philosophy. If you like it,
that is fine but it's not Unixlike. But I am not sure why you are
taking this thread so far afield.
--scott
Third, no matter how many unspoken requirements are slowly extracted
from Don Y by numerous different responders to his threads, no offered solution will ever be sufficient. There will always be some response
to indicate why the last post was not feasible. This pattern implies
that the Don Y nick is one of those personality types that must always
have the last word, and must have the last word in such a way as to
appear in their own mind to be right, regardless of actual correctness.
On 8/23/2026 11:09 AM, Scott Dorsey wrote:
Note that vipw(8) adds value -- it ensures all of the passwd-associated
files remain in a consistent format. BECAUSE IT IS AWARE OF THAT FORMAT, >>> even though the files still identify as "text" (no magic numbers, etc.)
Yes, and emacs has context-sensitive modes for C and for English. If you
like format-specific editors you can use them. Personally they drive me
up the wall and I don't like them, but it's your call as a user.
Different issue. That's (almost) entirely one of presentation.
If emacs was continuously checking your code for BUGS, automatically
checking out the file from whichever VCS tracks it, etc. that would be
more comparable.
This is very much contrary to the Unix philosophy.
cf. systemd? rc.d? inetd.conf? Have you seen how init has evolved
over the years in different "flavors" of UNIX?
I.e., people seem to be highly selective in what they consider
The UNIX Way.
If you like it, that
is fine but it's not Unixlike. But I am not sure why you are taking this
thread so far afield.
It is all related to facilitating your maintenance of <whatever> -- sources, >text (flat) "databases", configuration files, bitmapped fonts, etc. Tools >should make those activities simpler, quicker and more robust. E.g., if your >VCS tells me two (source) files differ (but the binaries end up identical) >then it has not helped me; the differences are not related to whatever issue >has prompted me to look at them. ("move along; nothing here")
She should have used coca-cola. I worked years ago at a hospital where someone had spilled cola into an HP2626 terminal and left it over the weekend. There were large sections of the board where the traces were completely dissolved.
In comp.misc, Scott Dorsey <kludge@panix.com> wrote:Carbonated beverages often contain phosphoric acid:
She should have used coca-cola. I worked years ago at a hospital where
someone had spilled cola into an HP2626 terminal and left it over the
weekend. There were large sections of the board where the traces were
completely dissolved.
I was just reading about someone who lost a circuit board to Monster
Energy today. I gather it destroyed the board itself, not just the
traces.
Apparently it was left all weekend in the footwell of a car with the
spilt beverage. Possibly there was other stuff in the soup.
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
Play with something like Beyond Compare (Windows) and see how
helpful file comparison can be.
In UNIX, you only have the file name to rely on -- there is no other
metadata available to an application/system that wants to ascertain
the nature of the file/object that it is being asked to process.
In CVS, "wrappers" lets you associate "file types" with specific
handling options.
On Sun, 23 Aug 2026 08:47:27 -0700, Don Y wrote:
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
Play with something like Beyond Compare (Windows) and see how
helpful file comparison can be.
Does Beyond Compare do comparisons on arbitrary binary files?
On Linux, for example, we can do something like
diff -u <(xxd file1) <(xxd file2) | less -iX
to compare hex dumps.
On Sun, 23 Aug 2026 00:37:07 -0700, Don Y wrote:
In UNIX, you only have the file name to rely on -- there is no other
metadata available to an application/system that wants to ascertain
the nature of the file/object that it is being asked to process.
This is why you have rCLmagic numbersrCY -- clues in the initial part of
the file.
In CVS, "wrappers" lets you associate "file types" with specific
handling options.
This is a CVS thing, not a Unix thing. Git has something probably more advanced <https://git-scm.com/docs/gitattributes>.
Text is a piss poor match for graphic entities and other
abstractions.
So diff and merge become even more important.
"But, lets limit them to just text files... and someone else can
create a tool that performs the same functionality for NON-test
files (?)"
On 8/23/2026 8:47 PM, Lawrence DrCOOliveiro wrote:
Yes. If, for example, you have inserted a byte in one, it will
On Sun, 23 Aug 2026 08:47:27 -0700, Don Y wrote:
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
Play with something like Beyond Compare (Windows) and see how
helpful file comparison can be.
Does Beyond Compare do comparisons on arbitrary binary files?
On Linux, for example, we can do something like
diff -u <(xxd file1) <(xxd file2) | less -iX
to compare hex dumps.
display a "hole" in that location in the other to show the balance
in agreement, though offset, in much the same way you would compare
text that had an inserted line.
It tries to understand the forms of various file types and tailor
its comparison to that type. It's aware of many different formats
(excel, word, pdf, etc.) and tries to add value to each presentation
-- instead of just saying "they are different" (or "binary same")
Additionally, the sources and destinations can be on remote
machines, accessed via SMB shares, FTP, etc. So, I can compare the
contents of one FTP server to another on a different host and note
the differences as well as synchronize them.
And, it isn't plagued with the path length problem that Explorer
has, so you can use *it* to drill down deeper than Explorer would
otherwise allow. This is handy when one of the targets is a UNIX
machine and the other windows.
On Sun, 23 Aug 2026 11:44:45 -0700, Don Y wrote:
Text is a piss poor match for graphic entities and other
abstractions.
Maybe it isnrCOt. I already pointed out how you should be using resolution-independent SVG for your master graphics.
Take apart a document from common present-day office suites and what
do you find at the core? XML!
On Sun, 23 Aug 2026 21:58:32 -0700, Don Y wrote:
On 8/23/2026 8:47 PM, Lawrence DrCOOliveiro wrote:
Yes. If, for example, you have inserted a byte in one, it will
On Sun, 23 Aug 2026 08:47:27 -0700, Don Y wrote:
And, its going to magically be able to compare JPGs, executables,
.so's, etc?
Play with something like Beyond Compare (Windows) and see how
helpful file comparison can be.
Does Beyond Compare do comparisons on arbitrary binary files?
On Linux, for example, we can do something like
diff -u <(xxd file1) <(xxd file2) | less -iX
to compare hex dumps.
display a "hole" in that location in the other to show the balance
in agreement, though offset, in much the same way you would compare
text that had an inserted line.
It tries to understand the forms of various file types and tailor
its comparison to that type. It's aware of many different formats
(excel, word, pdf, etc.) and tries to add value to each presentation
-- instead of just saying "they are different" (or "binary same")
Additionally, the sources and destinations can be on remote
machines, accessed via SMB shares, FTP, etc. So, I can compare the
contents of one FTP server to another on a different host and note
the differences as well as synchronize them.
And, it isn't plagued with the path length problem that Explorer
has, so you can use *it* to drill down deeper than Explorer would
otherwise allow. This is handy when one of the targets is a UNIX
machine and the other windows.
So really, what yourCOve got there is one giant bloated executable that
has to subsume the functions of what, in the Linux/*nix world, would
be a dozen separate tools -- including the format-guessing functions
of libmagic plus its own custom file explorer, it would seem. Only in
a less flexible, more monolithic form.
On 8/23/2026 11:44 PM, Lawrence DrCOOliveiro wrote:
So really, what yourCOve got there is one giant bloated executable
that has to subsume the functions of what, in the Linux/*nix world,
would be a dozen separate tools -- including the format-guessing
functions of libmagic plus its own custom file explorer, it would
seem. Only in a less flexible, more monolithic form.
It is extensible. Ditto for CVS's handling of diff and merge.
What you (don't yet!) have in your UNIX approach is many executables scattered around the file system, possibly not installed, and
something that tries to invoke each based on some criteria.
Put a serif on a glyph and the serif looks disproportionately large.
Dot an I and the dot is 1/3 the size of the i!
On 8/23/2026 9:59 PM, Lawrence DrCOOliveiro wrote:
Take apart a document from common present-day office suites and what
do you find at the core? XML!
Really? Have a look at the files created by these mainstream tools:
<https://mega.nz/folder/oiJlVAAQ#RD9jjzpEQz0Muskjn2L3jA>
Now, suppose I had a tool that told you that the 47th byte (of any
file) was changed to a 0x22. What use is that information to you,
beyond "this file doesn't agree with this OTHER file!"
On Mon, 24 Aug 2026 00:45:55 -0700, Don Y wrote:
On 8/23/2026 11:44 PM, Lawrence DrCOOliveiro wrote:
So really, what yourCOve got there is one giant bloated executable
that has to subsume the functions of what, in the Linux/*nix world,
would be a dozen separate tools -- including the format-guessing
functions of libmagic plus its own custom file explorer, it would
seem. Only in a less flexible, more monolithic form.
It is extensible. Ditto for CVS's handling of diff and merge.
What you (don't yet!) have in your UNIX approach is many executables
scattered around the file system, possibly not installed, and
something that tries to invoke each based on some criteria.
The same applies to plugins for your rCLextensiblerCY app.
Only the Unix
tools offer a somewhat broader range of functionality in a more
versatile form. And we have package managers nowadays to manage
installation in a more tidy and scalable way.
On Mon, 24 Aug 2026 00:33:38 -0700, Don Y wrote:
Put a serif on a glyph and the serif looks disproportionately large.
Dot an I and the dot is 1/3 the size of the i!
<https://en.wikipedia.org/wiki/Font_hinting>
On 8/23/2026 9:59 PM, Lawrence DrCOOliveiro wrote:
Take apart a document from common present-day office suites and what
do you find at the core? XML!
Really? Have a look at the files created by these mainstream tools:
<https://mega.nz/folder/oiJlVAAQ#RD9jjzpEQz0Muskjn2L3jA>
CanrCOt see anything rCLmainstreamrCY there, IrCOm afraid. Except the epub one.
Now, suppose I had a tool that told you that the 47th byte (of any
file) was changed to a 0x22. What use is that information to you,
beyond "this file doesn't agree with this OTHER file!"
Precisely the point why binary formats are so hard to deal with.
If UNIX had "file type" metadata, then you could just map that to
the tagging (and processing) requirements instead of relying on
consistency in file naming as a hack.
On Sun, 23 Aug 2026 21:58:39 -0700, Don Y wrote:
If UNIX had "file type" metadata, then you could just map that to
the tagging (and processing) requirements instead of relying on
consistency in file naming as a hack.
Linux does <https://manpages.debian.org/xattr(7)>.
On 8/25/2026 7:16 PM, Lawrence DrCOOliveiro wrote:
On Sun, 23 Aug 2026 21:58:39 -0700, Don Y wrote:
If UNIX had "file type" metadata, then you could just map that to
the tagging (and processing) requirements instead of relying on
consistency in file naming as a hack.
Linux does <https://manpages.debian.org/xattr(7)>.
Yet another bolt-on acknowledgement of something that was missing in UNIX.
C'mon, I grew up with MULTICS so UNIX was just like an in-law.
And, have been running a BSD since 1993 (when you had to DL
240K files and cram 5 on a 5" floppy and 6 on a 3.5" to do
the install). I don't need a lecture on the "merits" of
any particular approach -- or their costs/consequences!
Don Y <blockedofcourse@foo.invalid> wrote:
C'mon, I grew up with MULTICS so UNIX was just like an in-law.
And, have been running a BSD since 1993 (when you had to DL
240K files and cram 5 on a 5" floppy and 6 on a 3.5" to do
the install). I don't need a lecture on the "merits" of
any particular approach -- or their costs/consequences!
And clearly you dislike the Software Tools approach and insist on
discussing it in a completely irrelevant thread like this one.
Have you seen the AS/400? You might like the general approach, where everything is a database. Everything. I see the appeal for commercialThat depends on how you want to extend it and if there is a *need* to do so.
data processing but it's kind of hard to extend.
Have you seen the AS/400? You might like the general approach, where everything is a database. Everything. I see the appeal for commercial
data processing but it's kind of hard to extend.
In comp.misc, Scott Dorsey <kludge@panix.com> wrote:
Have you seen the AS/400? You might like the general approach, where
everything is a database. Everything. I see the appeal for commercial
data processing but it's kind of hard to extend.
There's a different approach to "everything is a database" I recently
came across.
https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
It starts with using sqlite in place of ELF, then it goes much, much further:
I pointed self closure at every ELF binary on this system's PATH: 723
executables, which pull in 400 distinct shared libraries. 1,123
objects, 346,386 symbols, 3,808 dependency edges, all as one SQLite
file.
Turns out when you do that, the database is much smaller than you
would expect.
Elijah
------
"strip" is new a couple of "DELETE" statements, and other tricks
On 8/25/2026 7:16 PM, Lawrence DrCOOliveiro wrote:
On Sun, 23 Aug 2026 21:58:39 -0700, Don Y wrote:
If UNIX had "file type" metadata, then you could just map that to
the tagging (and processing) requirements instead of relying on
consistency in file naming as a hack.
Linux does <https://manpages.debian.org/xattr(7)>.
Yet another bolt-on acknowledgement of something that was missing in
UNIX.
On Tue, 25 Aug 2026 19:54:41 -0700, Don Y wrote:
On 8/25/2026 7:16 PM, Lawrence DrCOOliveiro wrote:
On Sun, 23 Aug 2026 21:58:39 -0700, Don Y wrote:
If UNIX had "file type" metadata, then you could just map that to
the tagging (and processing) requirements instead of relying on
consistency in file naming as a hack.
Linux does <https://manpages.debian.org/xattr(7)>.
Yet another bolt-on acknowledgement of something that was missing in
UNIX.
ItrCOs an extensible scheme, fit for creating a UNIX for the 21st
century.
How does Apple do it? The old OSType mechanism was 4 bytes each for type/creator, and that was it.
In sci.electronics.design Scott Dorsey<kludge@panix.com> wrote:
Don Y<blockedofcourse@foo.invalid> wrote:You are noticing a common Don Y trolling method. Jump over to sci.electronics.design and read through a sample of threads started by
[I have all of the configuration details for my machines in a seriesThis is very much contrary to the Unix philosophy. If you like it,
of relational databases. I had initially thought of backporting this
into the BSD distros that I use but realized that effort would likely
offend "historical purists". So, instead, I have scripts that query
the RDBMS and know how to "write" the appropriate files that are then
copied into each host. My*current* project doesn't rely on such a
kludge and tools directly access the records in the appropriate
tables. Constrraints on the tables ensure that the tools need not
validate their input -- the RDBMS won't accept bad data and is
"guaranteed" to maintain the integrity of the data given to it. My,
what a novel idea...]
that is fine but it's not Unixlike. But I am not sure why you are
taking this thread so far afield.
--scott
Don Y and a sample of Don Y replies. You'll quickly notice several
very common patterns that are repeated over and over again.
There's a different approach to "everything is a database" I recently
came across.
https://fzakaria.com/2026/08/23/your-executable-is-a-sqlite-database
Didn't Apple have a forked file system? Seems to me that Apple could >preserve OS/2's extended attributes (xttr's) over the LAN.
As an aside, OS/2 started supporting extended attributes with the
release of the HPFS file system in 1988 (also supported in FAT) and used >them a lot in OS/2 v2+.
Didn't Apple have a forked file system?
Seems to me that Apple could preserve OS/2's extended attributes
(xttr's) over the LAN.
As an aside, OS/2 started supporting extended attributes with the
release of the HPFS file system in 1988 (also supported in FAT) and
used them a lot in OS/2 v2+.
On 23/08/2026 20:07, Bertrand Sindri wrote:
In sci.electronics.design Scott Dorsey<kludge@panix.com> wrote:
Don Y<blockedofcourse@foo.invalid> wrote:You are noticing a common Don Y trolling method. Jump over to
[I have all of the configuration details for my machines in aThis is very much contrary to the Unix philosophy. If you like it,
series of relational databases. I had initially thought of
backporting this into the BSD distros that I use but realized that
effort would likely offend "historical purists". So, instead, I
have scripts that query the RDBMS and know how to "write" the
appropriate files that are then copied into each host.
My*current* project doesn't rely on such a kludge and tools
directly access the records in the appropriate tables.
Constrraints on the tables ensure that the tools need not validate
their input -- the RDBMS won't accept bad data and is "guaranteed"
to maintain the integrity of the data given to it. My, what a
novel idea...]
that is fine but it's not Unixlike. But I am not sure why you are
taking this thread so far afield. --scott
sci.electronics.design and read through a sample of threads started
by Don Y and a sample of Don Y replies. You'll quickly notice
several very common patterns that are repeated over and over again.
I was quite impressed by the quality of his trolling.
I've seen similar styles by 1 or 2 others, "rudy meisner" springs to
mind. I'd not been following the thread for a while and was
impressed to see the scale of activity when I looked today. He's in
the virtual *plink*-list at the moment but yet to migrate to fully
*plinked*.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 121:08:58 |
| Calls: | 1,194 |
| Files: | 1,352 |
| Messages: | 290,208 |