[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Filesystem ideas



On Sat, Jul 22, 2000 at 01:37:48PM +0200, Mark Kettenis wrote:
>    Date:   Sat, 22 Jul 2000 09:50:01 +0200
>    From: Tomasz Wegrzanowski <maniek@beer.com>
> 
>    I think these filesystem improvements would be useful :
> 
>    1)
>    Directory attribute SIGNIFICANT_FILES_ORDER.
>    If `ls' or CUI filesystem explorer would find this flag on directory,
>    or if shell would expand globs over this directory, and they would
>    find that flag, they would not sort the result, but give it to user as-is.
>    Example purpose: audio CDs
> 
> `ls -f' already does this :-)

With 'ls -f', things are unsorted in every dir, no matter
if they should be or not.
It would be great help in mc/GUIs if they were sorted by default, only
unsorted in dirs marked ``dont-sort''.

>    3)
>    Filesystem Object (File/Directory/etc) attribute DYNAMIC_CONTENT.
>    This would mean you CAN get file size, directory content, etc.,
>    but this is non-trivial for them to raport it and
>    should be done only on purpose.
> 
>    Example purpose: /proc/*, files mounted over ftpfs,
> 		    unmouned /mnt/* filesystems
> 
> Sorry I don't see the need for this.  You can check whether a node is
> translated.  If it is the content usually is pretty much dynamic.

Not only. All dirs under ftpfs should be marked special, so some mc/GUI wouldn't
try to 'ls' them only to print no of files (useful bloat, imho).
This thing wasn't very important under old Unix,
but under Hurd files might be virtually everything.

How someone can currently tell difeerence between files/dirs mounted
under ftpfs, vs. files/dirs mounted under ext2fs ?
Or cached files/dirs under ftpfs vs. not-cached files/dirs under ftpfs ?



Reply to: