Re: Can a filesystem be mounted twice?

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

 





On 2/13/08, Raseel Bhagat <raseelbhagat@xxxxxxxxx> wrote:
Hi,

On Feb 13, 2008 7:37 AM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
I attempted to mount the different harddisk to the same logical
filesystem (the other way is multiple logical filesystem to the same
harddisk, or double mounting, which i don't see it as a problem, and
it is allowed as well), but this is not logical==>

mount /dev/sda2 /mnt/fdrive
mount /dev/sdb2 /mnt/fdrive

and both device will get mapped to the same logical filesystem
(fdrive)......this is a bug?



No its design. A directory which is used as a mount point,
after any filesystem is mounted on it, its previous contents
are not accessiable.  Threrefore...

# mount /dev/sda2 /mnt/fdrive
# mount /dev/sdb2 /mnt/fdrive

/dev/sda2 contents will not be visiable. /dev/sda2 can
only be visiable after "umounting" /dev/sdb2.

Thanks

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux