* How to hide few disk file systems ??
@ 2003-01-27 12:03 Narsimha Reddy CH
2003-01-27 14:10 ` Andries Brouwer
2003-01-27 17:27 ` Ray Olszewski
0 siblings, 2 replies; 3+ messages in thread
From: Narsimha Reddy CH @ 2003-01-27 12:03 UTC (permalink / raw)
To: linux-newbie, linux-fsdevel
Hi,
I am having a linux system with a single hard disk.
I have lot of important data on this hard disk. For
experimental purpose I want to build a new kernel image
from a source which will contain modified code for file
system implementation (the code contains some modifications
to ext2 implementation). Also it may contain lot of bugs
which may corrupt data on the disk. So, after loading the
new linux kernel image, I want to make sure that my old
data stored on the disk must be safe.
In order to achieve this, I want to create a new
partition on the disk. After loading the system with new
kernel image, I want to access only the new partition
that I created. And I want to hide the old ext2 partitions.
Now the problem is how can I hide the old partitions
after booting the system with new kernel image (to avoid
corruption of my old data on disk ) ??
Any configuration is needed to hide file systems ??
Can anybody help me how to solve this problem ??
TIA,
--
Narsimha Reddy CH
Storage Area Networking, HCL Technologies
Contact +91-044 2372 8366 ext 1128
http://san.hcltech.com
http://www.hcltech.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to hide few disk file systems ??
2003-01-27 12:03 How to hide few disk file systems ?? Narsimha Reddy CH
@ 2003-01-27 14:10 ` Andries Brouwer
2003-01-27 17:27 ` Ray Olszewski
1 sibling, 0 replies; 3+ messages in thread
From: Andries Brouwer @ 2003-01-27 14:10 UTC (permalink / raw)
To: Narsimha Reddy CH; +Cc: linux-newbie, linux-fsdevel
On Mon, Jan 27, 2003 at 05:33:59PM +0530, Narsimha Reddy CH wrote:
> I am having a linux system with a single hard disk.
> I have lot of important data on this hard disk. For
> experimental purpose I want to build a new kernel image
> from a source which will contain modified code for file
> system implementation (the code contains some modifications
> to ext2 implementation). Also it may contain lot of bugs
> which may corrupt data on the disk. So, after loading the
> new linux kernel image, I want to make sure that my old
> data stored on the disk must be safe.
If your new code is buggy and corrupts random places of the
kernel, then the kernel may do random things, including
writing to random places on disk.
Maybe you can run your experimental kernel under User Mode Linux.
Andries
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to hide few disk file systems ??
2003-01-27 12:03 How to hide few disk file systems ?? Narsimha Reddy CH
2003-01-27 14:10 ` Andries Brouwer
@ 2003-01-27 17:27 ` Ray Olszewski
1 sibling, 0 replies; 3+ messages in thread
From: Ray Olszewski @ 2003-01-27 17:27 UTC (permalink / raw)
To: linux-newbie
Short of physically disconnecting the hard drive from the system, there is
no absolutely sure way to "hide" your old partitions from the new kernel.
Various degrees of safety would be achieved by
1. Not mounting the "important data" partitions, a degree of
safety you can achieve by editing /etc/fstab
2. Removing the /dev/hda* devices for the filesystems.
But the drive itself must always remain accessible, so at some level, the
data always remain at risk.
So I guess the real question is ... how important are these "important
data"? If they are worth $100, the solution is to buy a new hard disk and
use it for your experiments. If they are not that important, then you may
find either of my risk-reducing suggestions sufficient.
At 05:33 PM 1/27/03 +0530, Narsimha Reddy CH wrote:
>Hi,
>
> I am having a linux system with a single hard disk.
>I have lot of important data on this hard disk. For
>experimental purpose I want to build a new kernel image
>from a source which will contain modified code for file
>system implementation (the code contains some modifications
>to ext2 implementation). Also it may contain lot of bugs
>which may corrupt data on the disk. So, after loading the
>new linux kernel image, I want to make sure that my old
>data stored on the disk must be safe.
>
> In order to achieve this, I want to create a new
>partition on the disk. After loading the system with new
>kernel image, I want to access only the new partition
>that I created. And I want to hide the old ext2 partitions.
>
> Now the problem is how can I hide the old partitions
>after booting the system with new kernel image (to avoid
>corruption of my old data on disk ) ??
>
>Any configuration is needed to hide file systems ??
>
>Can anybody help me how to solve this problem ??
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA ray@comarre.com
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-27 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 12:03 How to hide few disk file systems ?? Narsimha Reddy CH
2003-01-27 14:10 ` Andries Brouwer
2003-01-27 17:27 ` Ray Olszewski
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.