All of lore.kernel.org
 help / color / mirror / Atom feed
* A file-based interface for mount
@ 2003-07-06  2:52 Grant Miner
  2003-07-09 13:18 ` Hans Reiser
  0 siblings, 1 reply; 13+ messages in thread
From: Grant Miner @ 2003-07-06  2:52 UTC (permalink / raw)
  To: reiserfs-list

Would it make sense to use a file interface in the file system to 
control mounting?  Have a file that exists per-directory named ..mount 
(or something).  Then, to mount /dev/sda on /home, echo "/dev/sda rw" > 
/home/..mount
To unmount the file system, remove the line from the ..mounts file.  You 
could also do plan 9 layered mounts (with priorities) by putting 2 or 
more lines in that file.  The advantage is you could set access controls 
on each file to easily let non-root users perform mount at certain 
directories, and you don't need the mount and unmount commands anymore.

What do you think?


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

end of thread, other threads:[~2003-07-11  7:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-06  2:52 A file-based interface for mount Grant Miner
2003-07-09 13:18 ` Hans Reiser
2003-07-09 13:42   ` Nikita Danilov
2003-07-09 17:01     ` Grant Miner
2003-07-09 17:08       ` Nikita Danilov
2003-07-09 17:56         ` Grant Miner
2003-07-09 19:17     ` Hubert Chan
2003-07-09 21:32       ` Advangates (A file-based interface for mount) Grant Miner
2003-07-10  2:55         ` Ragnar Kjørstad
2003-07-10  5:41           ` Oleg Drokin
2003-07-11  6:59           ` Toby Dickenson
2003-07-11  7:30             ` Russell Coker
2003-07-10 12:22         ` Timothy Webster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.