From: rkreiner@sbox.tu-graz.ac.at
To: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>,
linux-kernel@vger.kernel.org, mikeg@wen-online.de
Subject: Re: FEATURE (was Re: PROBLEM: multiple mount of devices possible2.4.0-test1 - 2.4.0-test13-pre4
Date: Sun, 24 Dec 2000 20:31:05 +0100 [thread overview]
Message-ID: <3A464EF9.38029296@sbox.tu-graz.ac.at> (raw)
In-Reply-To: <Pine.LNX.4.21.0012231824020.838-100000@penguin.homenet>
Tigran Aivazian wrote:
>
> it is not a problem, it is a feature. (and a useful one!)
>
yes, mount devices several times it would be a nice feature, but do
something like:
/etc/fstab:
/dev/hdd1 /mydrive ext2 ro,noauto,user 1 1
as user: mount /mydrive
as root: mount /dev/hda2 /mydrive
as user: mount /mydrive
as root: mount /dev/hda2 /mydrive
as user: mount /mydrive
result /proc/mounts:
/dev/hdd1 /mydrive ext2 ro,noexec,nosuid,nodev 0 0
/dev/hda2 /mydrive vfat rw 0 0
/dev/hdd1 /mydrive ext2 ro,noexec,nosuid,nodev 0 0
/dev/hda2 /mydrive vfat rw 0 0
/dev/hdd1 /mydrive ext2 ro,noexec,nosuid,nodev 0 0
u dont have control about the mountpoints
Here a BIG PROBLEM:
as user: mount /mydrive
as root: mount /dev/hdd1 /test
as root: mount /dev/hdd1 /mnt
result /proc/mounts:
/dev/hdd1 /mydrive ext2 ro,noexec,nosuid,nodev 0 0
/dev/hdd1 /test ext2 ro,noexec,nosuid,nodev 0 0
/dev/hdd1 /mnt ext2 ro,noexec,nosuid,nodev 0 0
but do like
mount -o remount /mnt -w
result /proc/mounts:
/dev/hdd1 /mydrive ext2 rw 0 0
/dev/hdd1 /test ext2 rw 0 0
/dev/hdd1 /mnt ext2 rw 0 0
ALL mountpoints now READ-WRITE-able!
u lost noexec... and dont have more "security" for users...
same as sym-links ... no new feature...
Reinhard.
> On Sat, 23 Dec 2000 rkreiner@sbox.tu-graz.ac.at wrote:
>
> >
> > 1. multiple mount of devices possible 2.4.0-test1 - 2.4.0-test13-pre4
> >
> > 2. its still possible to mount devices several times.
> > IMHO it shouldnt be possible like 2.2.18
> > with umount in /proc/mounts is still the real information,
> > in /etc/mtab all corresponding mountpoints are deleted.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-24 19:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-23 17:20 PROBLEM: multiple mount of devices possible 2.4.0-test1 " rkreiner
2000-12-23 18:24 ` FEATURE (was " Tigran Aivazian
2000-12-24 19:31 ` rkreiner [this message]
2000-12-23 19:11 ` Linus Torvalds
2000-12-30 23:04 ` Ton Hospel
2000-12-30 23:57 ` Alexander Viro
2000-12-31 3:18 ` Ton Hospel
2000-12-31 9:13 ` Andries Brouwer
2000-12-31 3:48 ` PROBLEM: multiple mount of devices possible 2.4.0-test1 - Albert D. Cahalan
2000-12-31 4:09 ` Alexander Viro
2000-12-31 3:58 ` Steve VanDevender
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A464EF9.38029296@sbox.tu-graz.ac.at \
--to=rkreiner@sbox.tu-graz.ac.at \
--cc=linux-kernel@vger.kernel.org \
--cc=mikeg@wen-online.de \
--cc=tigran@aivazian.fsnet.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®