Re: FEATURE (was Re: PROBLEM: multiple mount of devices possible2.4.0-test1 - 2.4.0-test13-pre4
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
PROBLEM: multiple mount of devices possible 2.4.0-test1 - 2.4.0-test13-pre4
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. 3. kernel, filesystem, mount 4. Linux version 2.4.0-test13-pre4 (root@apollo) (gcc version 2.95.2 19991024 (release)) #1 SMP Sat Dec 23 17:04:07 CET 2000 5. none 6. example #!/bin/sh mount /dev/hda2 /gate mount -t nfs gate:/ /gate mount -t nfs gate:/ /gate mount /dev/hda2 /mnt 7. 7.1 -- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux apollo 2.4.0-test13-pre4 #1 SMP Sat Dec 23 17:04:07 CET 2000 i586 unknown Kernel modules 2.3.11 Gnu C 2.95.2 Gnu Make 3.79.1 Binutils 2.9.5.0.24 Linux C Libraryx 1 root root 4070406 Jul 30 21:41 /lib/libc.so.6 Dynamic linker ldd (GNU libc) 2.1.3 Procps 2.0.6 Mount 2.10m Net-tools 1.56 Kbd0.99 Sh-utils 2.0 Modules Loaded 7.2 processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor stepping: 12 cpu MHz : 400.906 cache size : 64 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr bogomips: 799.54 7.3 7.4 -001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0213-0213 : isapnp read 02f8-02ff : serial(auto) 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0a79-0a79 : isapnp write 0cf8-0cff : PCI conf1 5c20-5c3f : Acer Laboratories Inc. [ALi] M7101 PMU d000-d00f : Acer Laboratories Inc. [ALi] M5229 IDE d400-d43f : Ensoniq ES1371 [AudioPCI-97] d400-d43f : es1371 d800-d8ff : Realtek Semiconductor Co., Ltd. RTL-8139 d800-d8ff : eth0 -0009fbff : System RAM 0009fc00-0009 : reserved 000a-000b : Video RAM area 000c-000c7fff : Video ROM 000f-000f : System ROM 0010-07ffbfff : System RAM 0010-002ef4af : Kernel code 002ef4b0-0031193f : Kernel data 07ffc000-07ffefff : ACPI Tables 07fff000-07ff : ACPI Non-volatile Storage de00-deff : Realtek Semiconductor Co., Ltd. RTL-8139 de00-deff : eth0 df00-dfff : PCI Bus #01 df00-df7f : Matrox Graphics, Inc. MGA G400 AGP df80-df803fff : Matrox Graphics, Inc. MGA G400 AGP e000-e3ff : Acer Laboratories Inc. [ALi] M1541 e5f0-e7ff : PCI Bus #01 e600-e7ff : Matrox Graphics, Inc. MGA G400 AGP - : reserved 7.5 00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04) Subsystem: Acer Laboratories Inc. [ALi] ALI M1541 Aladdin V/V+ AGP System Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- 00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- Reset- FastB2B- 00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU Subsystem: Acer Laboratories Inc. [ALi] ALI M7101 Power Management Controller Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- http://www.tux.org/lkml/
PROBLEM: test13-pre3, e2fs corruption
1. test13-pre3, e2fs corruption 2. running my box 4h 30min i wanted edit some files, the filenames were wrong and other files didnt have the correct data. i unmounted the drive with the data and a e2fsck said wrong group names...bad superblock... after reboot without check or repair on 2.2.18 no problems reported and all my data are correct. some days before i tried mount my atapi-cdrom and my box hangs completly with test12 or test13-pre1, couldnt reproduce it yet. (no overclocking) 3. e2fs filesystem 4. Linux version 2.4.0-test13-pre3 (root@apollo) (gcc version 2.95.2 19991024 (release)) #3 SMP Mon Dec 18 02:30:28 CET 2000 5. none 6. none 7. none 7.1 -- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux apollo 2.4.0-test13-pre3 #3 SMP Mon Dec 18 02:30:28 CET 2000 i586 unknown Kernel modules 2.3.11 Gnu C 2.95.2 Gnu Make 3.79.1 Binutils 2.9.5.0.24 Linux C Libraryx 1 root root 4070406 Jul 30 21:41 /lib/libc.so.6 Dynamic linker ldd (GNU libc) 2.1.3 Procps 2.0.6 Mount 2.10m Net-tools 1.56 Kbd0.99 Sh-utils 2.0 Modules Loaded 7.2 processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 8 model name : AMD-K6(tm) 3D processor stepping: 12 cpu MHz : 400.906 cache size : 64 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr bogomips: 799.54 7.3 -001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0213-0213 : isapnp read 02f8-02ff : serial(auto) 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0a79-0a79 : isapnp write 0cf8-0cff : PCI conf1 5c20-5c3f : Acer Laboratories Inc. [ALi] M7101 PMU d000-d00f : Acer Laboratories Inc. [ALi] M5229 IDE d400-d43f : Ensoniq ES1371 [AudioPCI-97] d400-d43f : es1371 d800-d8ff : Realtek Semiconductor Co., Ltd. RTL-8139 d800-d8ff : eth0 -0009fbff : System RAM 0009fc00-0009 : reserved 000a-000b : Video RAM area 000c-000c7fff : Video ROM 000f-000f : System ROM 0010-07ffbfff : System RAM 0010-002ef4af : Kernel code 002ef4b0-0031193f : Kernel data 07ffc000-07ffefff : ACPI Tables 07fff000-07ff : ACPI Non-volatile Storage de00-deff : Realtek Semiconductor Co., Ltd. RTL-8139 de00-deff : eth0 df00-dfff : PCI Bus #01 df00-df7f : Matrox Graphics, Inc. MGA G400 AGP df80-df803fff : Matrox Graphics, Inc. MGA G400 AGP e000-e3ff : Acer Laboratories Inc. [ALi] M1541 e5f0-e7ff : PCI Bus #01 e600-e7ff : Matrox Graphics, Inc. MGA G400 AGP - : reserved 7.5 00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04) Subsystem: Acer Laboratories Inc. [ALi] ALI M1541 Aladdin V/V+ AGP System Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- 00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- Reset- FastB2B- 00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU Subsystem: Acer Laboratories Inc. [ALi] ALI M7101 Power Management Controller Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- http://www.tux.org/lkml/