linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Thinking outside the box on file systems
@ 2007-08-14 22:45 Marc Perkel
  2007-08-14 22:51 ` alan
  2007-08-15 20:02 ` Yakov Lerner
  0 siblings, 2 replies; 84+ messages in thread
From: Marc Perkel @ 2007-08-14 22:45 UTC (permalink / raw)
  To: linux-kernel

I want to throw out some concepts about a new way of
thinking about file systems. But the first thing you
have to do is to forget what you know about file
systems now. This is a discussion about a new view of
looking a file storage that is radically different and
it's more easily undersood if you forget a lot of what
you know. The idea is to create what seems natural to
the user rather than what seems natural to the
programmer.

For example, if a user has not read or write access to
a file then why should they be able to delete the file
- or even list the file in the directory? In order to
grasp this idea the idea of directory permission as
you now know them needs to go away. 

Imagine that the file system is a database that
contains file data, name data, and permission data.
Loose the idea that files have an owner and a group or
the attributes that we are familiar with. Think
instead  that users, groups, managers, application,
and such are objects and there is a complex rights
system that gives access to names that point to file
data.

For example. If you list a directory you only see the
files that you have some rights to and files where you
have no rights are invisible to you. If a file is read
only to you then you can't delete it either. Having
write access to a directory really means that you have
file create rights. You can also delete files that you
have write access to. You would also allocate
permissions to manage file rights like being able to
set the rights of inferior users.

The ACLs that were added to Linux were a step in the
right direction but very incomplete. What should be is
a complex permission system that would allow fine
grained permissions and inherentance masks to control
what permission are granted when someone moves new
files into a directory. Instead of just root and users
there would be mid level roles where users and objects
had management authority over parts of the system and
the roles can be defined in a very flexible way. For
example, rights might change during "business hours".

I want to throw these concepts out there to inspire a
new way of thinging and let Linux evolve into a more
natural kind of file system rather than staying ture
to it's ancient roots. Of course there would be an
emulation layer to keep existing apps happy but I
think that Linux will never be truly what it could be
unless it breaks away from the limitations of the
past.

Anyhow, I'm going to stop at this just to let these
ideas settle in. In my mind there's a lot more detail
but let's see where this goes.

Marc Perkel






Marc Perkel
Junk Email Filter dot com
http://www.junkemailfilter.com


      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


^ permalink raw reply	[flat|nested] 84+ messages in thread
* Re: Thinking outside the box on file systems
@ 2007-08-15  7:49 Tim Tassonis
  0 siblings, 0 replies; 84+ messages in thread
From: Tim Tassonis @ 2007-08-15  7:49 UTC (permalink / raw)
  To: LKML

> The ACLs that were added to Linux were a step in the
> right direction but very incomplete. What should be is
> a complex permission system that would allow fine
> grained permissions and inherentance masks to control
> what permission are granted when someone moves new
> files into a directory. Instead of just root and users
> there would be mid level roles where users and objects
> had management authority over parts of the system and
> the roles can be defined in a very flexible way. For
> example, rights might change during "business hours".

The problem with complex permission systems is, well, they are complex...

I'd still go for the UNIX KISS philosophy and the rather easy permission 
system, as it is easier to manage. Windows has all that great permission 
stuff, but if you look at the reality, hardly anybody uses it due to its 
complexity.

Tim



^ permalink raw reply	[flat|nested] 84+ messages in thread
* Re: Thinking outside the box on file systems
@ 2007-08-15 18:23 Brian Wheeler
  0 siblings, 0 replies; 84+ messages in thread
From: Brian Wheeler @ 2007-08-15 18:23 UTC (permalink / raw)
  To: mperkel; +Cc: linux-kernel

HI

While I find your ideas intriguing, I'd like to offer a friendly
suggestion:  You're never going to convince anyone on LKML unless you do
the following things:
	* Describe your idea in detail, including algorithms, pseudo code,
pictures, or whatever.  Vague hand-wavey stuff won't do it.
	* Don't accuse others of being close minded (i.e. "not thinking outside
the box").  Explain why their assertions may not be correct according to
your proposal.
	* Accept that others have far more experience, no matter how
experienced you are.
	* Remember that the current assumptions can't just break when the idea
is implemented:  backwards compatibility is important.

Also, be prepared to have your idea shot down.  Very few ideas make it
into the kernel, and those only get there after months of hashing out
the details.

Brian

--- Kyle Moffett <mrmacman_g4@mac.com> wrote:

> On Aug 15, 2007, at 13:19:16, Marc Perkel wrote:
> > One of the problems with the Unix/Linux world is
> that your minds  
> > are locked into this one model. In order to do it
> right it requires  
> > the mental discipline to break out of that.
> 
> The major thing that you are missing is that this
> "one model" has  
> been very heavily tested over the years.  People
> understand it, know  
> how to use it and write software for it, and grok
> its limitations.   
> There's also a vast amount of *existing* code that
> you can't just  
> "deprecate" overnight; the world just doesn't work
> that way.  The  
> real way to get there (IE: a new model) from here
> (IE: the old model)  
> is the way all Linux development is done with a lot
> of sensible easy- 
> to-understand changes and refactorings.
> 
> With that said, if you actually want to sit down and
> start writing  
> *code* for your model, go ahead.  If it turns out to
> be better than  
> our existing model then I owe you a bottle of your
> favorite beverage.
> 
> Cheers,
> Kyle Moffett
> 


When one thinks outside the box one has to think about
evolving beyond what you are used to. When I moved
beyond DOS I have to give up the idea of 8.3 file
names. The idea here is to come up with a model that
can emulate the existing system for backwards
compatibility.

The concept behind my model is to create a new layer
where you can do ANYTHING with file names and
permissions and create models that emulate Linux, DOS,
Windows, Mac, or anything else you can dream of. Then
you can create a Linux/Windows/Mac template to emulate
what you are used to.


Marc Perkel
Junk Email Filter dot com
http://www.junkemailfilter.com


^ permalink raw reply	[flat|nested] 84+ messages in thread
* Re: Thinking outside the box on file systems
@ 2007-08-20 11:54 Tim Tassonis
  0 siblings, 0 replies; 84+ messages in thread
From: Tim Tassonis @ 2007-08-20 11:54 UTC (permalink / raw)
  To: LKML

Hi Marc

> What's the point? People are openly hostile to new
> ideas here. I started out nice and laid out my ideas
> and you have a bunch of morons who attack anything
> new.

If you think using subjects like "Thinking out of the box" (implicitely 
calling everybody else narrow-minded) and "vi causes brain damage" is 
starting out nice, you also got a serious communication problem.

> Look at the reality of the situation. Linux is free
> and yey it can't compete with operating systems that
> are paid for. Maybe the reason is that when someone
> point out the something is broken all yopu get is
> justification and excuses and insults.

Funny, even Microsoft acknoledges that Linux can very well compete, as 
does your beloved Novell that just recently bought Suse. Maybe you 
haven't noticed yet that you're the only one left that thinks Linux 
can't compete.

> Think about it. Why did it take 20 years for Linux to
> fix the RM problem? If you type RM * you expect the
> files to be gone, not some stupid error that I'm
> trying to delete too many files.

Well, it's not a stupid error, this is called a limit. Other people have 
already explained to you how the UNIX shell works, so I'm not going to 
repeat it again.

That said, I even would admit that I have been bitten by this limit 
before (deleting a few thousand bounced mail in a spool directory),

> 
> So who's fault is that? I say it's a problem with
> Linux culture. If something is broken you have to
> justify it instead of fixing it.

I use Linux since the mid 90's and remember thousands and thousands of 
bugs fixed and limits removed. But you must be here longer and have the 
better view of how "the Linux culture" really works.

> You guys are trying to may the RM problem MY FAULT
> because I didn't say it nicely. We'll it doesn't have
> to be said nicely. If something is broken then it
> needs fixed regardless of who and how it is pointed
> out.

Nobody denied the limit, you were just pointed out that you don't have a 
fucking clue what the behavior actually means and where the limit lies.
And calling other people brain-damaged at the same time...

  > So wat does it tell you when something like this is
> left broken for so long? What it tells me is that the
> development process is broken.

Well, it tells _me_:
- It is a limit and not a bug
- The limit is not severe, not many people constantly have to delete 
millions of files in the directory without deleting the directory itself
- the limit can be worked around by "find . |xargs \rm"

But, as you proved again and again, you're the expert.

> My rant on VI is to make a point. That point being
> that when you use an editor that totally sucks then
> it's going to cause you to write code that sucks. It
> going to lower your standards. It's going to create a
> culture where poorly done work is considered
> acceptable. When you use an editor as poor as vi then
> the idea that rm * doesn't work becomes acceptable and
> justifiable, as demonstrated here by people who
> ACTUALLY DEFENDED IT.

You might have wanted to make this point. But all you really showed is 
that you're an arrogant, ignorant loudmouth, takling about things you 
have no clue about. I bet you haven't written a single line of decent 
code in your life.

Kind regards
Tim


^ permalink raw reply	[flat|nested] 84+ messages in thread

end of thread, other threads:[~2007-09-01 23:06 UTC | newest]

Thread overview: 84+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-14 22:45 Thinking outside the box on file systems Marc Perkel
2007-08-14 22:51 ` alan
2007-08-15 13:02   ` Michael Tharp
2007-08-15 13:30     ` Lennart Sorensen
2007-08-15 13:53       ` Kyle Moffett
2007-08-15 15:14         ` Michael Tharp
2007-08-15 16:36           ` Marc Perkel
2007-08-15 17:17             ` Kyle Moffett
2007-08-15 17:30               ` Marc Perkel
2007-08-15 18:22                 ` Craig Ruff
2007-08-15 20:35                   ` Marc Perkel
2007-08-16 11:27                     ` Helge Hafting
2007-08-15 16:02         ` Marc Perkel
2007-08-15 16:57           ` Valdis.Kletnieks
2007-08-15 17:09             ` Marc Perkel
2007-08-15 17:22               ` Kyle Moffett
2007-08-15 17:34                 ` Marc Perkel
2007-08-18 23:27                   ` Alan
2007-08-18 23:26                 ` Alan
2007-08-19  2:03                   ` david
2007-08-19  2:57                     ` Al Viro
2007-09-01 23:20                       ` Oleg Verych
2007-08-15 19:20               ` Lennart Sorensen
2007-08-16 23:12               ` H. Peter Anvin
2007-08-15 16:58           ` Kyle Moffett
2007-08-15 17:19             ` Marc Perkel
2007-08-15 17:37               ` Kyle Moffett
2007-08-15 17:59                 ` Marc Perkel
2007-08-15 19:26                   ` Lennart Sorensen
2007-08-15 20:11                     ` Kyle Moffett
2007-08-15 20:44                       ` Marc Perkel
2007-08-15 21:04                         ` Lennart Sorensen
2007-08-16 11:42               ` Helge Hafting
2007-08-16 12:09                 ` linux-os (Dick Johnson)
2007-08-15 17:34         ` Phillip Susi
2007-08-15 17:53           ` Kyle Moffett
2007-08-15 18:05             ` Marc Perkel
2007-08-15 18:14               ` Kyle Moffett
2007-08-15 20:20                 ` Marc Perkel
2007-08-15 20:43                   ` Phillip Susi
2007-08-15 20:50                     ` Marc Perkel
2007-08-15 21:20                       ` Valdis.Kletnieks
2007-08-15 22:48                         ` Marc Perkel
2007-08-16  3:42                           ` Valdis.Kletnieks
2007-08-15 20:38             ` Phillip Susi
2007-08-15 21:17               ` Kyle Moffett
2007-08-15 22:14                 ` Phillip Susi
2007-08-16  4:44                   ` Kyle Moffett
2007-08-16 15:09                     ` Phillip Susi
2007-08-16 15:29                       ` Valdis.Kletnieks
2007-08-16 17:28                         ` Phillip Susi
2007-08-16 17:31                           ` Valdis.Kletnieks
2007-08-16 22:03                             ` Phillip Susi
2007-08-16 23:17                       ` Kyle Moffett
2007-08-17  4:24                         ` Marc Perkel
2007-08-17  4:52                           ` Valdis.Kletnieks
2007-08-17 15:19                         ` Phillip Susi
2007-08-17 15:39                           ` Valdis.Kletnieks
2007-08-17 19:01                             ` Phillip Susi
2007-08-18  5:48                               ` Kyle Moffett
2007-08-18 16:45                                 ` Marc Perkel
2007-08-18 18:19                                   ` Al Viro
2007-08-19  4:07                                     ` Marc Perkel
2007-08-20  7:05                                       ` Nix
2007-08-20  7:47                                         ` Brennan Ashton
2007-08-20 11:18                                           ` Marc Perkel
2007-08-20 13:32                                             ` linux-os (Dick Johnson)
2007-08-20 15:25                                             ` Lennart Sorensen
2007-08-20 15:26                                             ` Helge Hafting
2007-08-20 19:52                                               ` Nix
2007-08-20 16:21                                             ` [OT] " Randy Dunlap
2007-08-20 16:20                                               ` Xavier Bestel
2007-08-20 14:29                                       ` Phillip Susi
2007-08-20 15:13                                       ` Lennart Sorensen
2007-08-20 14:24                                 ` Phillip Susi
2007-08-15 22:40                 ` Marc Perkel
2007-08-15 17:54           ` Marc Perkel
2007-08-15 17:02   ` Marc Perkel
2007-08-15 17:30     ` Michael Tharp
2007-08-15 17:51       ` Marc Perkel
2007-08-15 20:02 ` Yakov Lerner
  -- strict thread matches above, loose matches on Subject: below --
2007-08-15  7:49 Tim Tassonis
2007-08-15 18:23 Brian Wheeler
2007-08-20 11:54 Tim Tassonis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).