LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2018, 09:15 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,850
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
emulating a filesystem


once upon a time, many versions ago, there used to be a file system type that ran on top of a more limited file system and emulated a POSIX and/or Linux file system. this was intended to share space an MS-DOS file system so one did not have to partition a hard boundary of space between the 2 systems on a dual-boot machine. it worked by storing POSIX/Linux file system metadata in extra files it stored on the backing file system. it's gone today. in theory, there is no longer a need for it, or much of a use for it.

i have a potentially significant use case for it, or for the way it worked. maybe i could deploy it as a user space file system. maybe someone has done this already. does anyone who was a Linux user back then remember was this was? does anyone know of anything to do this kind of thing, today?
 
Old 01-13-2018, 04:44 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,688

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
I do not really understand, but probably: you can mount any file and use as a device, including partition(s) and filesystems.
 
Old 01-13-2018, 06:10 AM   #3
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.3 MATE
Posts: 4,744
Blog Entries: 2

Rep: Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543
Is umsdos what you're talking about?

http://www.tldp.org/HOWTO/UMSDOS-HOWTO.html
 
1 members found this post helpful.
Old 01-13-2018, 08:08 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,688

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
this umsdos looks like (the predecessor of) cygwin for me.
 
1 members found this post helpful.
Old 01-13-2018, 07:46 PM   #5
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,850
Blog Entries: 21

Original Poster
Rep: Reputation: 119Reputation: 119
yes, that's the one ... UMSDOS.
 
Old 01-13-2018, 08:23 PM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,850
Blog Entries: 21

Original Poster
Rep: Reputation: 119Reputation: 119
@pan64: i was just looking for the name. in the process of searching for it, in which i crossed its path but was not sure, yet (the link in post #3 was most helpful), i came across a filesystem named "posixovl" which is implemented for the FUSE interface (which makes it easy to add new filesystems). umsdos and posixovl use a filesystem as their backingstore. they store file contents in files with like names or similar names and metadata like ownership and permissions in similar named files or other files. that means the structure the filesystem uses is a bunch files. encfs is a similar concept but it encrypts or decrypts file contents and file/directory names.

the reason i was looking for umsdos is because i wanted to see if something like that (still) exits today (posixovl might be what i really want) that i could use over top of the s3fs filesystem. s3fs is another similar concept, but stores files in an AWS S3 bucket, without standard POSIX filesystem metadata (since AWS S3 itself does not have that). my goal is to have a filesystem on Linux storing everything in an AWS S3 bucket, plus having full POSIX metadata and semantics like having a full range of file owner uids, group gids, permission/mode bits, attributes, and being able to create block and character special files, named fifo pipes, named sockets and symlinks. this would so an AWS S3 bucket or folder can represent or correctly replicate a system file tree.
 
Old 01-19-2018, 09:23 AM   #7
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 583

Rep: Reputation: 170Reputation: 170
Puppy Linux can do this type of thing!!! as a "frugal" install, which is actually the best way to run it as it is more powerful than a traditional "full install"
 
Old 01-20-2018, 11:01 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,850
Blog Entries: 21

Original Poster
Rep: Reputation: 119Reputation: 119
how does Puppy Linux achieve this sort of thing? does it use umdos or posixovl?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulating different processor type ? divyashree Linux - Newbie 1 04-06-2011 05:39 AM
Emulating keystrokes neked Programming 2 04-30-2006 01:57 AM
emulating a keypress burglus Programming 2 01-29-2005 05:45 AM
emulating commands warney_out Programming 1 09-07-2004 08:39 AM
Emulating buzzbiker Linux - General 4 08-23-2002 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration